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

Missing plt.show() in denoising2D_SEM/02_prediction.ipynb #89

Closed
Volko1 opened this issue Jul 28, 2020 · 1 comment
Closed

Missing plt.show() in denoising2D_SEM/02_prediction.ipynb #89

Volko1 opened this issue Jul 28, 2020 · 1 comment

Comments

@Volko1
Copy link

Volko1 commented Jul 28, 2020

Not sure whether this is the right place to report a problem, but I think there are plt.show() commands missing in the example script denoising2D_SEM/02_prediction.ipynb in sections 5 and 6.
I have very little experience with Python, but I could only get the script to show the plots when adding a plt.show() at the end of these two sections.

@tibuch
Copy link
Collaborator

tibuch commented Apr 14, 2021

I think this is related to the backend of matplotlib. If it is set to inline then the plt.show() command is not necessary in jupyter notebooks.

You can test this by running this in the first notebook cell: %matplotlib inline

Or you change the config of matplotlib to use inline by default.

@tibuch tibuch closed this as completed Apr 14, 2021
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

2 participants