1
1
Fork 0
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:
Ari Archer 2024-06-21 03:10:08 +03:00
parent 9e2adc1026
commit f1c9b1a6c9
No known key found for this signature in database
GPG key ID: A50D5B4B599AF8A2

View file

@ -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)