Thereβs nothing built-in for this yet (I hope to change this before too long), but hereβs a way to do it today. Install orca (https://plot.ly/python/static-image-export/), and then define this utility function
from IPython.display import display, Image
import plotly.io as pio
def show(fig):
display(Image(pio.to_image(fig, format='png')))
I think my scrollbars are hidden because Iβm on MacOS, which hides the scroll bars unless you are scrolling. The same thing happens in most other MacOS applications.
Updating this old thread for better SEO, and to reflect improvements in platform.
# make sure your qtconsole magic is set.
%matplotlib inline
# qtconsole knows how to inline `.png` files already.
import plotly.graph_objects as pio
pio.renderers.default = 'png'.
# test functionality
import plotly.graph_obs as go
fig = go.Figure()
fig
fig.show()