How can the bar chart bars colors change in plotly express

34 views Asked by At

I'm facing a problem using plotly.express to visualize numerical data by discrete values (Amount of transactions by product category. The legend on the right shows the color legend, however; in the chart area, the bars are not colored. Screenshot of code snippet

I've checked the plotly.express documentation on this and nothing seems to change, though it is mentioned that bar chart colors can change depending on discrete values.

0

There are 0 answers