spedas / pyspedas

Python-based Space Physics Environment Data Analysis Software
https://pyspedas.readthedocs.io/
MIT License
150 stars 59 forks source link

Troubleshoot issues with interactive pyspedas/matplotlib plots in Jupyter notebooks #1034

Closed jameswilburlewis closed 5 days ago

jameswilburlewis commented 1 week ago

Hector S. is having some problems getting pyspedas plots to behave the way he wants in Jupyter notebooks. We'll probably need to schedule a zoom call so he can share his screen and show me exactly what's going on.

jameswilburlewis commented 5 days ago

The issue turned out to be related to the return_plot_objects option in tplot(). The workaround is to do an explicit plt.show(). See related issue: https://github.com/spedas/pyspedas/issues/1039