1
1
Fork 0
mirror of https://git.ari.lt/ari/forgejo-stats.git synced 2024-12-22 14:32:45 +00:00

Switch to SVG.

This commit is contained in:
ari 2024-11-01 21:54:46 +00:00
parent a63f061ab6
commit cb40a4ab27

View file

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