mirror of
https://git.ari.lt/ari/forgejo-stats.git
synced 2024-11-13 21:02:37 +00:00
Switch to SVG.
This commit is contained in:
parent
a63f061ab6
commit
cb40a4ab27
1 changed files with 4 additions and 4 deletions
8
stats.py
8
stats.py
|
@ -222,9 +222,9 @@ def plot_data(
|
|||
)
|
||||
|
||||
plt.tight_layout()
|
||||
plt.savefig("languages.png", dpi=DPI)
|
||||
plt.savefig("languages.svg", dpi=DPI)
|
||||
|
||||
print("Wrote languages.png")
|
||||
print("Wrote languages.svg")
|
||||
|
||||
# -*- Commit statistics -*-
|
||||
|
||||
|
@ -257,9 +257,9 @@ def plot_data(
|
|||
|
||||
plt.gcf().autofmt_xdate()
|
||||
plt.tight_layout()
|
||||
plt.savefig("commits.png", dpi=DPI)
|
||||
plt.savefig("commits.svg", dpi=DPI)
|
||||
|
||||
print("Wrote commits.png")
|
||||
print("Wrote commits.svg")
|
||||
|
||||
|
||||
def main() -> int:
|
||||
|
|
Loading…
Reference in a new issue