diff --git a/python/click-events.md b/python/click-events.md index 9e2da2299..b1eb674b0 100644 --- a/python/click-events.md +++ b/python/click-events.md @@ -39,7 +39,7 @@ jupyter: #### Update Points Using a Click Callback -``` +```python import plotly.graph_objects as go import numpy as np @@ -85,4 +85,4 @@ See [these Jupyter notebooks](https://github.com/jonmmease/plotly_ipywidget_note import plotly.graph_objects as go f = go.FigureWidget([go.Scatter()]) help(f.data[0].on_click) -``` \ No newline at end of file +```