fix legend in covid_vs_flu.png
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 588 KiB After Width: | Height: | Size: 588 KiB |
+1
-1
@@ -358,7 +358,7 @@ def main():
|
|||||||
(fig, ax) = plt.subplots(dpi=300, figsize=(8,6))
|
(fig, ax) = plt.subplots(dpi=300, figsize=(8,6))
|
||||||
# plot ifrs_covid
|
# plot ifrs_covid
|
||||||
plot(ax, ifrs_covid, True)
|
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()
|
handles, labels = fig.gca().get_legend_handles_labels()
|
||||||
first_legend = ax.legend(handles=handles, labels=labels, loc='upper left',
|
first_legend = ax.legend(handles=handles, labels=labels, loc='upper left',
|
||||||
frameon=False, fontsize='x-small', handlelength=5)
|
frameon=False, fontsize='x-small', handlelength=5)
|
||||||
|
|||||||
Reference in New Issue
Block a user