Skip to content

Commit d05d83e

Browse files
authored
fix MPL deprecation (#93)
1 parent 19af1c9 commit d05d83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scikitplot/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def plot_confusion_matrix(y_true, y_pred, labels=None, true_labels=None,
175175

176176
ax.set_ylabel('True label', fontsize=text_fontsize)
177177
ax.set_xlabel('Predicted label', fontsize=text_fontsize)
178-
ax.grid('off')
178+
ax.grid(False)
179179

180180
return ax
181181

0 commit comments

Comments
 (0)