We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on('plotly_click', ...)
Here is code to reproduce the issue:
from nicegui import ui import plotly.graph_objects as go fig = go.Figure(go.Scatter(x=[0,1,2,3,4], y=[3,5,2,7,8])) plot = ui.plotly(fig) fig2 = go.Figure(go.Scatter(x=[0,1,2,3,4], y=[2,5,1,2,1])) plot2 = ui.plotly(fig2) def click_handler(ev): plot2.update() print(ev.args) plot.on("plotly_click", click_handler) ui.run()
The text was updated successfully, but these errors were encountered:
I believe this same bug also causes #2435
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
on('plotly_click', ...)
handler to fire exactly once for each clickHere is code to reproduce the issue:
The text was updated successfully, but these errors were encountered: