Wednesday, April 29, 2026

fig.show() using Plotly does not work in jupyter

 Case:

  fig.show() using Plotly does not work in jupyter


What to do:

  Force rendering adding this line just before fig.show() using pio

  Example:

import plotly.io as pio

pio.renderers.default = 'iframe' 

fig.show()


Listo!

No comments:

Post a Comment