Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

How can I hide the discrete color?

I created a stacked bar, and I want to keep the hover option but just remove the color bar next to it. I searched everywhere and tried a few options including hiding color scales and things I cannot remember now but none worked. Not sure if this is even possible… My code looks like this:

fig = px.bar(genre_top5, x="Genre", y="Global_Sales", color="Name",
            color_discrete_sequence=px.colors.qualitative.Safe)
fig.update_layout(template=None, xaxis={'categoryorder':'total descending'})
fig.update_xaxes(title=None)
fig.update_yaxes(title=None)
fig.show()

And this how looks like: