-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
As the title says, the title of the angular axis can't be changed or set as a parameter. I can change the radial axis title, but not the angular one. There is also no parameter in the documentation https://plotly.com/python/reference/layout/polar/#layout-polar-angularaxis. The code for the redefinition of my chart is below.
chart_result.update_layout(
polar = dict(
sector=[0, 180],
angularaxis=dict(
#thetaunit = "degrees",
dtick=10,
#rotation=270,
direction="counterclockwise",
#tickmode="array",
tickvals=list_angular_ticks,
ticktext=list_angular_labels,
),
),
height=600
)
chart_result.update_polars(
radialaxis_title_text='Normalized STD',
)
I also have a proposal for the placement of the title. As seen in the code below, I will only consider the upper half of a circle. Therefore, the title could be placed in the middle - at 90 degrees (above the tick labels). This is also valid if we have, for example, only one quadrant (0-90). In that case, the label should be placed above 45 degrees tick label. An example can be seen below. This logic also works for other domains.