From a252e514e5ca532230f6da3679b98ee9822e8190 Mon Sep 17 00:00:00 2001 From: Michael Thoreau Date: Thu, 28 Jul 2022 18:43:19 -0700 Subject: [PATCH] Update __init__.py --- src/streamlit_plotly_events/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/streamlit_plotly_events/__init__.py b/src/streamlit_plotly_events/__init__.py index abd03c49..68d27e45 100644 --- a/src/streamlit_plotly_events/__init__.py +++ b/src/streamlit_plotly_events/__init__.py @@ -44,6 +44,7 @@ # `declare_component` and call it done. The wrapper allows us to customize # our component's API: we can pre-process its input args, post-process its # output value, and add a docstring for users. +# Note: graph data must be deterministic, otherwise the event will return empty def plotly_events( plot_fig, click_event=True,