Skip to content

Commit f9929de

Browse files
committed
🤔 add inline automatic show dash
1 parent 1b6c72b commit f9929de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plotly_resampler/figure_resampler/figure_resampler.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,3 +240,6 @@ def register_update_graph_callback(
240240
dash.dependencies.Input(graph_id, "relayoutData"),
241241
prevent_initial_call=True,
242242
)(self.construct_update_data)
243+
244+
def _ipython_display_(self):
245+
return self.show_dash(mode="inline")

0 commit comments

Comments
 (0)