I tried several times using categories/text/labels…
I would appreciate your help, thanks)
import plotly.graph_objects as go
fig = go.Figure(go.Barpolar(
r=[3.5, 1.5, 2.5, 4.5, 4.5, 4, 3],
theta=[65, 15, 210, 110, 312.5, 180, 270],
width=[20,15,10,20,15,30,15,],
marker_color=["#E4FF87", '#709BFF', '#709BFF', '#FFAA70', '#FFAA70', '#FFDF70', '#B6FFB4'],
marker_line_color="black",
marker_line_width=2,
opacity=0.8
))
fig.update_layout(
template=None,
polar = dict(
angularaxis= dict(tickvals = [0, 45, 90, 135, 180, 225, 270, 315],
ticktext=['$0^\\circ$', '$45^\\circ$', '$90^\\circ$', '$135^\\circ$',
'$-180^\\circ$', '$-135^\\circ$', '$-90^\\circ$', '$-45^\\circ$']),
radialaxis = dict(range=[0, 10], showticklabels=True, ticks=''),
##fig.update_traces(texttemplate='%{text}', textposition='outside')
##legend=dict(title='Categories')
##angularaxis = dict(showticklabels=False, ticks='')
)
)
##fig.update_traces(texttemplate='%{text}', textposition='outside')
fig.show()