Bump data.

This commit is contained in:
Julien Palard 2022-08-19 13:25:27 +02:00
parent d88dbb2572
commit 73d8ce5ad8
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
4 changed files with 13 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -1,6 +1,7 @@
"""Module to fetch and graph adoption of Python releases. """Module to fetch and graph adoption of Python releases.
""" """
import argparse
import calendar import calendar
import sqlite3 import sqlite3
import sys import sys
@ -188,8 +189,19 @@ def plot_pct():
plt.savefig("python-versions-pct.png") plt.savefig("python-versions-pct.png")
def parse_args():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
"--fetch",
action="store_true",
help="Fetch more data instead of just displaying them",
)
return parser.parse_args()
if __name__ == "__main__": if __name__ == "__main__":
if "--fetch" in sys.argv: args = parse_args()
if args.fetch:
fetch_main() fetch_main()
plot_pct() plot_pct()
plot_main() plot_main()

Binary file not shown.