feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[cloud-tensorflow-mnist]: Notebook return error on step 'Let's have a look at the data'

Open vvillarreal-cfee opened this issue 1 year ago • 1 comments

The notebook returns an error when try to use the display_digits() because the parameter b of grid was deprecated in matplotlib 3.5, and renamed visible.

Reference: https://github.com/matplotlib/matplotlib/issues/25267#issuecomment-1437368645

vvillarreal-cfee avatar Nov 21 '24 16:11 vvillarreal-cfee

To fix this, need to change the line:

plt.grid(b=None)

to:

plt.grid(visible=None)

inside the display_digits() function definition, on the keras_01_mnist.ipynb notebook.

vvillarreal-cfee avatar Nov 21 '24 16:11 vvillarreal-cfee