I am trying to use plotly_express to in sublime text 3 but I am unable to obtain the plot. I am getting some raw output . starting with “ExpressFigure”. Do I have to write some more code after px.scatter() to show the plot.
Hi @roy007, welcome to the forums!
My guess is that SublimeREPL doesn’t support inline HTML output the way the jupyter notebook does. You could open plots in browser tabs with:
import plotly_express as px
from plotly.offline import plot
fig = px.scatter(...)
plot(fig)
Does that work for you?
-Jon
Thank you for your kind help. It worked
Thank you for your kind help. It worked for me
1 Like