Hi Team. The 1.0 update is nice but it broke Plotly’s click_data functionality which I was using to trigger UI events when an area on plot was clicked.
fig = go.Figure(data=data)
fig.update_layout(
margin=dict(r=5, l=5, b=5, t=5),
)
fig.update_yaxes(scaleanchor="x", scaleratio=1)
fig.layout.autosize = True
plot = pn.pane.Plotly(fig)
@pn.depends(plot.param.click_data, watch=True)
def click_handler(event, data=data):
print(event)
In 0.14.4, the event would consistently output the correct correct scatterplot point but in 1.0 it either outputs the wrong point or simply outputs {'points': [{'curveNumber': 7}]}
and nothing else.
Can someone please help? We are hoping to use panel extensively in our company and I would really like to upgrade to 1.0 but this is a huge blocker.
Thanks