import pandas as pd
pd.options.plotting.backend = "plotly"
pd.options.plotting.backend = "plotly"
# 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