How to hide legend with Plotly Express and Plotly
问题 I am trying to learn Plotly by firstly creating a simple bar chart in Plotly Express and then updating it with Plotly to finesse it. I would like to hide the legend. I am trying to update the original figure by hiding the legend, and I can't get it to work. This is my traceback error. And my code import plotly.plotly as py import plotly.graph_objs as go import plotly_express as px import pandas as pd df = pd.read_csv('C:/Users/Documents/Python/CKANMay.csv') fig = px.bar(df, x="Publisher", y=