fix legend in covid_vs_flu.png

This commit is contained in:
Marc Bevand
2020-11-16 14:05:07 -08:00
parent d4981ce7af
commit fb929069ac
2 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 KiB

After

Width:  |  Height:  |  Size: 588 KiB

+1 -1
View File
@@ -358,7 +358,7 @@ def main():
(fig, ax) = plt.subplots(dpi=300, figsize=(8,6))
# plot ifrs_covid
plot(ax, ifrs_covid, True)
ax.text(3, 35, 'COVID-19:')
ax.text(3, 45, 'COVID-19:')
handles, labels = fig.gca().get_legend_handles_labels()
first_legend = ax.legend(handles=handles, labels=labels, loc='upper left',
frameon=False, fontsize='x-small', handlelength=5)