Skip to content

Commit

Permalink
fixes bin width bug due to pandas breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
oegedijk committed Feb 8, 2022
1 parent fb27480 commit 54dcf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explainerdashboard/explainer_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def plotly_precision_plot(precision_df, cutoff=None, labels=None, pos_label=None
trace1 = go.Bar(
x=(0.5*(precision_df['p_min']+precision_df['p_max'])).values,
y=precision_df['count'].values,
width=bin_widths.values,
width=bin_widths.values.astype("float"),
name='counts'
)

Expand Down

0 comments on commit 54dcf77

Please sign in to comment.