Hi community,
I am trying to figure out a change in a barpolar plot layout. I have included the example (below) where I would like to change the left plot layout to the one on the right:
I have also included a reproducible code example for the left plot:
rs = [10, 20, 30, 40, 50, 60, 70, 80]
thetas= ["B_right", "A2", "A1", "A3", "B_left","C1", "C2", "C3"]
fills = ["red", "red", "grey", "blue", "red", "grey", "blue", "red"]
fig = go.Figure()
fig.add_trace(
go.Barpolar(
r=rs,
theta=thetas,
marker_color=fills
)
)
Any ideas how to achieve the right plotβs layout? I would like the bar of A fill the entire βdesignatedβ area (i.e., along the vertical axis of A) and preserve the shape of the plot.
Thanks!