I am trying to get the marker value outside of the graph area, as I feel like the text is kind of getting on the way of the lines. I have not been able to find a solution to my issue, and I am starting to wonder whether it is actually possible!
I have messed around with the textposition parameter but it does not make the trick unfortunately.
Here is what I have:
fig_reflexion.add_trace(go.Scatterpolar(
mode='lines+text',
theta=theta,
r=r,
textposition='top right',
textfont=dict(
size=16,
family='Arial',
color=text_colors,
),
text=df_reflexion["r"],
fillcolor='#d3d3d3',
marker=dict(color='darkblue'),
fill='toself'
))
fig_reflexion.update_layout(autosize=False,
height=375,
polar=dict(radialaxis=dict(visible=False),
angularaxis=dict(rotation=180, direction="clockwise")
)
)
fig_reflexion.update_layout(
template=None,
polar=dict(bgcolor="rgba(255, 255, 255, 0.2)"), )
fig_reflexion.update_layout(
font=dict(
size=16,
color="black",
family="Courier New, monospace",
),
title="Réflexion",
title_font_family="Courier New, monospace",
)
and here is the results:
and what I am trying to achieve: (see how the numerical values are outside of the circle