mirror of
https://git.ari.lt/ari/forgejo-stats.git
synced 2024-12-22 06:22:46 +00:00
alpha=0.2
Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
parent
9e2adc1026
commit
f1c9b1a6c9
1 changed files with 3 additions and 3 deletions
6
stats.py
6
stats.py
|
@ -192,7 +192,7 @@ def plot_data(
|
|||
figsize=((10 / 3) * LANG_COLS, (2 / 3) * LANG_COLS)
|
||||
)
|
||||
fig_lang.patch.set_facecolor("#000000")
|
||||
fig_lang.patch.set_alpha(0.5)
|
||||
fig_lang.patch.set_alpha(0.2)
|
||||
|
||||
cumulative_counts = np.cumsum([0] + list(counts[:-1]))
|
||||
|
||||
|
@ -240,8 +240,8 @@ def plot_data(
|
|||
|
||||
fig_commits, ax_commits = plt.subplots(figsize=(16, 9))
|
||||
fig_commits.patch.set_facecolor("#000000")
|
||||
fig_commits.patch.set_alpha(0.5)
|
||||
ax_commits.patch.set_alpha(0.5)
|
||||
fig_commits.patch.set_alpha(0.2)
|
||||
ax_commits.patch.set_alpha(0.2)
|
||||
|
||||
ax_commits.fill_between(dates, counts, color=COLOUR, alpha=0.4)
|
||||
ax_commits.plot(dates, counts, color=COLOUR, alpha=0.6)
|
||||
|
|
Loading…
Reference in a new issue