Skip to content

Commit

Permalink
Fix plot_confusion_matrix() in ch 03 (fixes ageron#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ageron committed Jun 19, 2017
1 parent 92b780d commit 4d42536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 03_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,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)"
]
},
Expand Down

0 comments on commit 4d42536

Please sign in to comment.