marcusvolz / strava_py

Create artistic visualisations with your exercise data (Python version)
MIT License
163 stars 19 forks source link

Calendar #10

Closed marcusvolz closed 2 years ago

marcusvolz commented 2 years ago

Added a calendar heatmap using the calmap package. Will look at tweaking the aesthetics (e.g. color) later.

marcusvolz commented 2 years ago

Checks have failed - will look into it later.

hugovk commented 2 years ago
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\stravavis.exe\__main__.py", line 7, in <module>
  File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\site-packages\stravavis\cli.py", line 37, in main
    from stravavis.plot_calendar import plot_calendar
  File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\site-packages\stravavis\plot_calendar.py", line 1, in <module>
    import calmap
ModuleNotFoundError: No module named 'calmap'
Error: Process completed with exit code 1.

Add calmap to setup.cfg so it also gets installed:

install_requires =
    calmap
    fit2gpx
    gpxpy
    matplotlib
    pandas
    rich
    seaborn
marcusvolz commented 2 years ago

Many thanks Hugo, if I missed anything let me know!