Hi everyone,
I have the following dataframe
{'meter': {'Electricity': 59.7, 'Chilledwater': 20.7, 'Steam': 13.4, 'Hotwater': 6.3}}
using this dataframe, I’ve built the following bar plot
`
fig_1 = px.bar(
values_frequency,
x = values_frequency.index,
y = 'meter',
title = 'The frequency of each meter in the dataset',
color = 'meter',
labels = {'index' : "Meter Type",
'meter' : "Percentage"
}
)
fig_1.update_layout(showlegend = False)
fig_1.show()
Now the problem is that the legend still appears.
Any ideas what might be the issue?
Thanks