xxxxxxxxxx
import pandas as pd
pd.options.plotting.backend = "plotly"
df = pd.DataFrame(dict(a=[1,3,2], b=[3,2,1]))
fig = df.plot()
fig.show()
xxxxxxxxxx
# For changing the default for all plot to plotly
pd.options.plotting.backend = "plotly"
# For a single plot
df.plot(backend='plotly') # in a loop you can add .show() at the end