Fix plot_confusion_matrix() in ch 03 (fixes #42)

main
Aurélien Geron 2017-06-19 22:28:45 +02:00
parent 11b984eb92
commit c9252677bd
1 changed files with 1 additions and 1 deletions

View File

@ -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)"
]
},