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
Hello, I am using PHOEBE with Google Colab and find myself unable to create or display a plot even with show=True. There are no errors when I run it, it just doesn't show me a plot. Can you help me?
Thanks,
Julia
The text was updated successfully, but these errors were encountered:
Can you try adding %matplotlib inline at the top of your notebook?
If that doesn't work - can you show matplotlib plots in the notebook?
import matplotlib.pyplot as plt
plt.plot([1,2,3], [1,2,3])
plt.show()
The plot commands in phoebe also return the matplotlib figure. You can also try putting that at the end of a cell to force jupyter to show it. For example:
Hello, I am using PHOEBE with Google Colab and find myself unable to create or display a plot even with show=True. There are no errors when I run it, it just doesn't show me a plot. Can you help me?
Thanks,
Julia
The text was updated successfully, but these errors were encountered: