Skip to content

Commit

Permalink
fixed histplot
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisHoch committed Oct 7, 2020
1 parent cd2953a commit aec0cb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions copro/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def metrics_distribution(out_dict, **kwargs):

fig, ax = plt.subplots(1, 1, **kwargs)

sbs.displot(out_dict['Accuracy'], ax=ax, color="k", label='Accuracy')
sbs.displot(out_dict['Precision'], ax=ax, color="r", label='Precision')
sbs.displot(out_dict['Recall'], ax=ax, color="b", label='Recall')
sbs.histplot(out_dict['Accuracy'], ax=ax, color="k", label='Accuracy')
sbs.histplot(out_dict['Precision'], ax=ax, color="r", label='Precision')
sbs.histplot(out_dict['Recall'], ax=ax, color="b", label='Recall')
plt.legend()

return ax
Expand Down

0 comments on commit aec0cb7

Please sign in to comment.