class_docstr: Data aggregation functionality wrapper for ``go.FigureWidgets``.
  
  !!! warning
  
      * This wrapper only works within ``jupyter``-based environments.
      * The ``.show()`` method returns a **static figure** on which the
        **dynamic resampling cannot be performed**. To allow dynamic resampling,
        you should just output the ``FigureWidgetResampler`` object in a cell.
class_docstr_tok: ["Data","aggregation","functionality","wrapper","for","``","go.FigureWidgets","``",".","!","!","!","warning","*","This","wrapper","only","works","within","``","jupyter","``","-based","environments",".","*","The","``",".show","(",")","``","method","returns","a","*","*","static","figure","*","*","on","which","the","*","*","dynamic","resampling","can","not","be","performed","*","*",".","To","allow","dynamic","resampling",",","you","should","just","output","the","``","FigureWidgetResampler","``","object","in","a","cell","."]
docstr: Reload all the data of FigureWidgetResampler for the current range-view.
  
  This is useful when adjusting the `hf_data` properties of the
  ``FigureWidgetResampler``.
docstr_tok: ["Reload","all","the","data","of","FigureWidgetResampler","for","the","current","range-view",".","This","is","useful","when","adjusting","the","`","hf_data","`","properties","of","the","``","FigureWidgetResampler","``","."]
code: def reload_data(self):
      """Reload all the data of FigureWidgetResampler for the current range-view.
  
      This is useful when adjusting the `hf_data` properties of the
      ``FigureWidgetResampler``.
      """
      if all(
          self.layout[xaxis].autorange
          or (
              self.layout[xaxis].autorange is None
              and self.layout[xaxis].range is None
          )
          for xaxis in self._xaxis_list
      ):
          self._update_spike_ranges(
              self.layout,
              *[False] * len(self._xaxis_list),
              force_update=True,
          )
      else:
          # Resample the data for the current range-view
          self._update_x_ranges(
              self.layout,
              # Pass the current view to trigger a resample operation
              *[
                  self.layout[xaxis_str]["range"]
                  for xaxis_str in self._xaxis_list
              ],
              force_update=True,
          )
  
file_path: plotly-resampler/plotly_resampler/figure_resampler/figurewidget_resampler.py
imports: from __future__ import annotations
  from typing import Tuple
  import plotly.graph_objects
  from plotly.basedatatypes import BaseFigure
  from ..aggregation import AbstractAggregator, AbstractGapHandler, MedDiffGapHandler, MinMaxLTTB
  from .figure_resampler_interface import AbstractFigureAggregator
label_desc: Use image node_id 5 for calling the FigureWidgetResampler obj's underlying member method code with example usage: obj.reload_data() without return types