You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find a missing one or two lines which is not a big bug, don't worry.
I am implementing a Sobol analysis for my project, and when looking at the example here, I found that running the script (.py one) provided in the page doesn't yield the graph as in the webpage. By looking around I found that you just need to add two lines, in the correct places.
from matplotlib import pylab as plt
plt.show()
So nothing alarming, but I guess if one want to reproduce directly the result he would be surprised. (But may be it is intended I don't know)
How to reproduce the issue?
Donwload the file and run it, one would not see the final graph appear.
Version
1.22
Operating System
Windows
Installation media
pip
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Thanks for the feeback. Indeed most of the examples only show the results when run in a Jupyter notebook.
Indeed, a possible solution would be to add a plt.show() at the end of the script, as you suggest, or alternatively relying on the viewer.View.ShowAll() method of the OpenTURNS graphical features.
We will try to correct the examples where this issue is present, and try to avoid it in the future !
What happened?
Hello Openturn !
I find a missing one or two lines which is not a big bug, don't worry.
I am implementing a Sobol analysis for my project, and when looking at the example here, I found that running the script (.py one) provided in the page doesn't yield the graph as in the webpage. By looking around I found that you just need to add two lines, in the correct places.
So nothing alarming, but I guess if one want to reproduce directly the result he would be surprised. (But may be it is intended I don't know)
How to reproduce the issue?
Version
1.22
Operating System
Windows
Installation media
pip
Additional Context
No response
The text was updated successfully, but these errors were encountered: