-
Dear all: I am getting myself familiar with pyExtremes and I am trying to run the quickstart example. contourpy==1.0.7 I can run the example, and it works properly because I can print the summary. But I am not getting the figures. ¿Can some one explain me what is the problem?. I thought that I was missing graphics libraries, so I also installed PyQt5 with pip, but after that I am still having the same problem Thank you for your advice |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I solved partially the problem adding plt.show() at the end of although with a blocking behaviour. plt.show(blocking=False) do not works as creates an empty figure- But I imagine this is not a solution. ¿Which is the suggested way to run pyExtremes? Inside a Jupyter Notebooks? I have missinterpretated a previos question thinking that in that question the problem was about the threshold limit. It was similar to mine. But in my case, the trick with main did not worked |
Beta Was this translation helpful? Give feedback.
You should look at return types for those functions - those are matplotlib figures and axes. If you are in non-interactive environment, then you should save those figures to a file and then explicitly close the figure instance. I recommend reading this https://matplotlib.org/stable/users/explain/interactive.html