Skip to content

Commit 41ee9a7

Browse files
committed
add fontsize arguments
1 parent 1b3957a commit 41ee9a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bayesflow/diagnostics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,9 +1206,9 @@ def plot_confusion_matrix(
12061206

12071207
# Initialize figure
12081208
fig, ax = plt.subplots(1, 1, figsize=fig_size)
1209-
1210-
im = ax.imshow(cm, interpolation="nearest", cmap=cmap, vmin=0.0, vmax=1.0)
1209+
im = ax.imshow(cm, interpolation="nearest", cmap=cmap)
12111210
cbar = ax.figure.colorbar(im, ax=ax, shrink=0.75)
1211+
12121212
cbar.ax.tick_params(labelsize=value_fontsize)
12131213

12141214
ax.set(xticks=np.arange(cm.shape[1]), yticks=np.arange(cm.shape[0]))

0 commit comments

Comments
 (0)