Hello
Can someone please help me with this?
I have an issue when trying to plot markers which have an angle.
df1 = pd.DataFrame({โxโ:[x1],โyโ:[y1]})
fig2_linM_2add = px.scatter(df1, x='x', y='y')
fig2_linM_2add.update_traces(marker=dict(size=12,
symbol="line-ew",
angle=(BH_all1.loc[i,'azi']-90),
line=dict(width=0.6,
color="DarkSlateGrey")),
selector=dict(mode="markers"),
showlegend=False,
hovertemplate=None, hoverinfo='none')
It works fine on one of my Windows computers when I run the code in Jupyter Notebook 6.5.2.
However, with version 6.4.8 or 6.5.4 there is the following error message.
Does anyone have experience with this? Many thanks for your help.
I use Plotly 5.15.0 on both computers.
This is the corresponding section in the docs:
Martin
ValueError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_12392\843295384.py in
784 โyโ:[y1]})
785 fig2_linM = px.scatter(df1, x=โxโ, y=โyโ)
โ 786 fig2_linM.update_traces(marker=dict(size=12,
787 symbol=โline-ewโ,
788 angle=(BH_all1.loc[0,โaziโ]-90),
โฆ
ValueError: Invalid property specified for object of type plotly.graph_objs.scatter.Marker: โangleโ
Did you mean โlineโ?
Valid properties:
autocolorscale
โฆ