solving a bug in show_legend

This commit is contained in:
Pablo González 2023-01-17 11:03:52 +01:00
parent 7bcf8b24e9
commit c888346fcf
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ def error_by_drift(method_names, true_prevs, estim_prevs, tr_prevs,
ax.set_xlim(min_x, max_x)
if not show_legend:
if show_legend:
ax.legend(loc='center left', bbox_to_anchor=(1, 0.5))
_save_or_show(savepath)