roughly working again, now dev docker exists
This commit is contained in:
parent
a77a0c0393
commit
155ab39368
26 changed files with 1976 additions and 235 deletions
|
|
@ -107,10 +107,14 @@ def generate_error_rate_plot(applications_file: str):
|
|||
ax3.xaxis.set_major_formatter(mdates.DateFormatter('%Y-%m-%d'))
|
||||
ax3.legend(title='Company', loc='upper right', fontsize='small')
|
||||
|
||||
|
||||
fig.autofmt_xdate()
|
||||
|
||||
plot_path = os.path.join(DATA_DIR, 'error_rate.png')
|
||||
tmp_path = os.path.join(DATA_DIR, 'error_rate.tmp.png')
|
||||
# Write plot to the same directory as applications_file
|
||||
out_dir = os.path.dirname(os.path.abspath(applications_file))
|
||||
os.makedirs(out_dir, exist_ok=True)
|
||||
plot_path = os.path.join(out_dir, 'error_rate.png')
|
||||
tmp_path = os.path.join(out_dir, 'error_rate.tmp.png')
|
||||
fig.savefig(tmp_path, format='png')
|
||||
plt.close(fig)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue