Good morning,
I am developing a calendar heatmap using your package, and it appears the font you have chosen as default ('Helvetica') is no longer supported by matplotlib? Or at the very least does not work on my environment.
OS: Windows 10
Python Version: 3.9.13
calplot==0.1.7.5
Behavior:
- when returning a plot from a call to calplot.calplot(), the following warning is printed: findfont: Font family 'Helvetica' not found.
I traced the problem to line 327 in calplot.py, where the following code exists:
ylabel_kws = dict(
fontsize=30,
color='gray',
fontname='Helvetica',
fontweight='bold',
ha='center')
ylabel_kws.update(yearlabel_kws)
Changing the 'fontname' key from Helvetica to sans-serif fixed the issue.
Could you perhaps add an argument to calplot.calplot() to let us specify the font type in your next release?
Thanks.
Good morning,
I am developing a calendar heatmap using your package, and it appears the font you have chosen as default ('Helvetica') is no longer supported by matplotlib? Or at the very least does not work on my environment.
OS: Windows 10
Python Version: 3.9.13
calplot==0.1.7.5
Behavior:
I traced the problem to line 327 in calplot.py, where the following code exists:
Changing the 'fontname' key from Helvetica to sans-serif fixed the issue.
Could you perhaps add an argument to calplot.calplot() to let us specify the font type in your next release?
Thanks.