Hi there
can I use mutlitcategory axis with more than two categories ?
I tried to enhance the previously posted example by adding an additional category (β2020β) but only two (2020 and BB+/BB) are shown in the chart . Am I missing something or is it not possible to have more categories ?
Thanks !
import plotly.graph_objects as go
x = [[β2020β, β2020β, β2020β, β2020β, β2020β, β2020β],
[βBB+β, βBB+β, βBB+β, βBBβ, βBBβ, βBBβ],
[16, 17, 18, 16, 17, 18,]
]
fig = go.Figure()
fig.add_bar(x=x,y=[1,2,3,4,5,6])
fig.add_bar(x=x,y=[6,5,4,3,2,1])
fig.update_layout(barmode=βrelativeβ)
fig.show()