class_docstr: Abstract interface for data aggregation functionality for plotly figures.
class_docstr_tok: ["Abstract","interface","for","data","aggregation","functionality","for","plotly","figures","."]
docstr: Get the plotly figure class (constructor) for the given class (constructor).
  
  !!! note
      This method will always return a plotly constructor, even when the given
      `constr` is decorated (after executing the ``register_plotly_resampler``
      function).
  
  Parameters
  ----------
  constr: type
      The constructor class for which we want to retrieve the plotly constructor.
  
  Returns
  -------
  type:
      The plotly figure class (constructor) of the given `constr`.
docstr_tok: ["Get","the","plotly","figure","class","(","constructor",")","for","the","given","class","(","constructor",")",".","!","!","!","note","This","method","will","always","return","a","plotly","constructor",",","even","when","the","given","`","constr","`","is","decorated","(","after","executing","the","``","register_plotly_resampler","``","function",")",".","Parameters","--","--","--","--","--","constr",":","type","The","constructor","class","for","which","we","want","to","retrieve","the","plotly","constructor",".","Returns","--","--","--","-","type",":","The","plotly","figure","class","(","constructor",")","of","the","given","`","constr","`","."]
code: def _get_figure_class(constr: type) -> type:
      """Get the plotly figure class (constructor) for the given class (constructor).
  
      !!! note
          This method will always return a plotly constructor, even when the given
          `constr` is decorated (after executing the ``register_plotly_resampler``
          function).
  
      Parameters
      ----------
      constr: type
          The constructor class for which we want to retrieve the plotly constructor.
  
      Returns
      -------
      type:
          The plotly figure class (constructor) of the given `constr`.
  
      """
      from ..registering import (
          _get_plotly_constr,
      )  # To avoid ImportError
  
      return _get_plotly_constr(constr)
  
imports: from __future__ import annotations
  import itertools
  import re
  from abc import ABC
  from collections import namedtuple
  from copy import copy
  from typing import Dict, Iterable, List, Optional, Tuple, Union
  from uuid import uuid4
  import dash
  import numpy
  import pandas
  import plotly.graph_objects
  from pandas.io.json._normalize import nested_to_record
  from plotly.basedatatypes import BaseFigure, BaseTraceType
  from ..aggregation import AbstractAggregator, MedDiffGapHandler, MinMaxLTTB
  from ..aggregation.aggregation_interface import DataPointSelector
  from ..aggregation.gap_handler_interface import AbstractGapHandler
  from ..aggregation.plotly_aggregator_parser import PlotlyAggregatorParser
  from .utils import round_number_str, round_td_str
label_desc: Use image node_id 9 for calling the AbstractFigureAggregator obj's underlying member method code with example usage: obj._get_figure_class(constr) and returns: _get_plotly_constr