Skip to content

Commit

Permalink
🐐 related to issue #275
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasvdd committed Nov 29, 2023
1 parent 9b48723 commit 52f58cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,6 @@ cython_debug/
# sphinx-docs
sphinx/_build
sphinx/_autosummary


file_system_backend/
5 changes: 5 additions & 0 deletions plotly_resampler/figure_resampler/figure_resampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,11 @@ def _create_overview_figure(self) -> go.Figure:
coarse_fig._grid_ref = reduced_fig._grid_ref
coarse_fig._data_validator.set_uid = False
coarse_fig.add_traces(coarse_fig_dict["data"])
# remove the `rangeselector` options for all 'axis' keys in the layout of the
# coarse figure
for k, v in coarse_fig.layout._props.items():
if "axis" in k:
v.pop("rangeselector", None)

# height of the overview scales with the height of the dynamic view
coarse_fig.update_layout(
Expand Down

0 comments on commit 52f58cd

Please sign in to comment.