I'm trying to use legendgrouptitle_text to set legendgroup title on python go.Scatter as mentionned in plotly doc:
- https://plotly.com/python/legend/
- https://plotly.com/python/reference/scatterpolar/#scatterpolar-legendgrouptitle
But go.Scatter refuses it as argument and suggest other inaproriate argument :
Did you mean "legendgroup"?
Bad property path:
legendgrouptitle_text
^^^^^^^^^^^^^^^^
Here's a snippet code of how I try to use it
traces.append(
go.Scatter(
x=X_1d,
y=y_1d,
name=', '.join(features_values),
showlegend=True,
line=dict(
color=color,
dash='solid',
width=2,
),
marker=dict(
color=color,
symbol='circle',
size=marker_size,
),
opacity=opacity,
legendgroup='fixed_features',
legendgrouptitle_text='[' + ', '.join(legend_features) + ']',
)
)
Many thanks in advance !