change pandas to plotly code example Example: pandas plotly backend import pandas as pd pd.options.plotting.backend = "plotly"