Fix plot_confusion_matrix() in ch 03 (fixes #42)
parent
11b984eb92
commit
c9252677bd
|
@ -1053,7 +1053,7 @@
|
|||
" \"\"\"If you prefer color and a colorbar\"\"\"\n",
|
||||
" fig = plt.figure(figsize=(8,8))\n",
|
||||
" ax = fig.add_subplot(111)\n",
|
||||
" cax = ax.matshow(conf_mx)\n",
|
||||
" cax = ax.matshow(matrix)\n",
|
||||
" fig.colorbar(cax)"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue