Black Lives Matter. Please consider donating to Black Girls Code today.

How to change position and css of Scatterpolar labels

Hi,

I’m trying to move the labels of my scatterpolar plot withtout success.
I would like to display them above the different axes of my graph. More precisely, they would be oriented in different directions with the text starting at the origin of the axes of the plot.

In order to do so, I identified several attributes by displaying html code such as ‘transform’, ‘x’ and ‘y’.
How could i change those attributes from the python code ?

Here the code for the plot:

import plotly.graph_objects as go

fig = go.Figure()

fig.add_trace(go.Scatterpolar(
    r=[1, 5, 2],
    theta=['Variable A','Variable B','Variable C'],
    fill='toself',
))

fig.show()

Thanks in advance