Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vvillarreal-cfee opened this issue Nov 21, 2024 · 1 comment

Comments

@vvillarreal-cfee
Copy link

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: matplotlib/matplotlib#25267 (comment)

@vvillarreal-cfee
Copy link
Author

vvillarreal-cfee commented Nov 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant