fix: Fixed plot ylabel for cumulative plots
This commit is contained in:
parent
cb1a497d0b
commit
236fd28c34
1 changed files with 2 additions and 2 deletions
4
plot.py
4
plot.py
|
@ -492,7 +492,7 @@ def plot_cumulative_two_vaccinations():
|
||||||
ax.get_yaxis().get_major_formatter().set_scientific(False)
|
ax.get_yaxis().get_major_formatter().set_scientific(False)
|
||||||
|
|
||||||
ax.set_xlabel('Datum')
|
ax.set_xlabel('Datum')
|
||||||
ax.set_ylabel('Tägliche Impfungen')
|
ax.set_ylabel('Kumulative Impfungen')
|
||||||
|
|
||||||
|
|
||||||
plt.savefig(archive_plot_filename + '.pdf')
|
plt.savefig(archive_plot_filename + '.pdf')
|
||||||
|
@ -540,7 +540,7 @@ def plot_cumulative_two_vaccinations_percentage():
|
||||||
ax.yaxis.set_major_formatter(mtick.PercentFormatter(1.0))
|
ax.yaxis.set_major_formatter(mtick.PercentFormatter(1.0))
|
||||||
|
|
||||||
ax.set_xlabel('Datum')
|
ax.set_xlabel('Datum')
|
||||||
ax.set_ylabel('Tägliche Impfungen')
|
ax.set_ylabel('Kumulative Impfungen')
|
||||||
|
|
||||||
|
|
||||||
plt.savefig(archive_plot_filename + '.pdf')
|
plt.savefig(archive_plot_filename + '.pdf')
|
||||||
|
|
Loading…
Reference in a new issue