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
If the ipython package is installed in the environment, the default renderer (pio.renderers.default) is set to "plotly_mimetype+notebook"even when running in a normal Python script.
This causes undesirable behavior for fig.show(): Calling fig.show() causes HTML/Javascript output to be printed to the terminal, rather than launching a browser window to show the plot.
If ipython is NOT installed, then pio.renderers.default is set to "browser", as it should be, and fig.show() behaves normally.