class_docstr: Data aggregation functionality for ``go.Figures``.
class_docstr_tok: ["Data","aggregation","functionality","for","``","go.Figures","``","."]
docstr: Verify whether the passed row indices are valid.
  
  Parameters
  ----------
  row_indices: list, optional
      A list of integers representing the row indices for which the overview
      should be created. The length of the list should be equal to the number of
      columns of the figure. Each element of the list should be smaller than the
      number of rows of the figure (thus note that the row indices start at 0). By
      default None, which will result in the first row being utilized for each
      column.
      !!! note
          When you do not want to use an overview of a certain column (because
          a certain subplot spans more than 1 column), you can specify this by
          setting that respecive row_index value to `None`.
  
          For instance, the sbuplot on row 2, col 1 spans two coloms. So when you
          intend to utilize that subplot within the overview, you want to specify
          the row_indices as: `[1, None, ...]`
  
  Returns
  -------
  List[int]
      A list of integers representing the row indices per subplot column.
docstr_tok: ["Verify","whether","the","passed","row","indices","are","valid",".","Parameters","--","--","--","--","--","row_indices",":","list",",","optional","A","list","of","integers","representing","the","row","indices","for","which","the","overview","should","be","created",".","The","length","of","the","list","should","be","equal","to","the","number","of","columns","of","the","figure",".","Each","element","of","the","list","should","be","smaller","than","the","number","of","rows","of","the","figure","(","thus","note","that","the","row","indices","start","at","0",")",".","By","default","None",",","which","will","result","in","the","first","row","being","utilized","for","each","column",".","!","!","!","note","When","you","do","not","want","to","use","an","overview","of","a","certain","column","(","because","a","certain","subplot","spans","more","than","1","column",")",",","you","can","specify","this","by","setting","that","respecive","row_index","value","to","`","None","`",".","For","instance",",","the","sbuplot","on","row","2",",","col","1","spans","two","coloms",".","So","when","you","intend","to","utilize","that","subplot","within","the","overview",",","you","want","to","specify","the","row_indices","as",":","`","[","1",",","None",",","...","]","`","Returns","--","--","--","-","List","[","int","]","A","list","of","integers","representing","the","row","indices","per","subplot","column","."]
code: def _parse_subplot_row_indices(
      self, row_indices: list = None
  ) -> List[int]:
      """Verify whether the passed row indices are valid.
  
      Parameters
      ----------
      row_indices: list, optional
          A list of integers representing the row indices for which the overview
          should be created. The length of the list should be equal to the number of
          columns of the figure. Each element of the list should be smaller than the
          number of rows of the figure (thus note that the row indices start at 0). By
          default None, which will result in the first row being utilized for each
          column.
          !!! note
              When you do not want to use an overview of a certain column (because
              a certain subplot spans more than 1 column), you can specify this by
              setting that respecive row_index value to `None`.
  
              For instance, the sbuplot on row 2, col 1 spans two coloms. So when you
              intend to utilize that subplot within the overview, you want to specify
              the row_indices as: `[1, None, ...]`
  
      Returns
      -------
      List[int]
          A list of integers representing the row indices per subplot column.
  
      """
      n_rows, n_cols = self._get_subplot_rows_and_cols_from_grid()
  
      # By default, the first row is utilized to set the row indices
      if row_indices is None:
          return [0] * n_cols
  
      # perform some checks on the row indices
      assert isinstance(row_indices, list), "row indices must be a list"
      assert (
          len(row_indices) == n_cols
      ), "the number of row indices must be equal to the number of columns"
      assert all(
          [(li is None) or (0 <= li < n_rows) for li in row_indices]
      ), "row indices must be smaller than the number of rows"
  
      return row_indices
  
imports: from __future__ import annotations
  import os
  import warnings
  from pathlib import Path
  from typing import List, Optional, Tuple
  import dash
  import plotly.graph_objects
  from plotly.basedatatypes import BaseFigure
  from ..aggregation import AbstractAggregator, AbstractGapHandler, MedDiffGapHandler, MinMaxLTTB
  from .figure_resampler_interface import AbstractFigureAggregator
  from .utils import is_figure, is_fr
label_desc: Use image node_id 3 for calling the FigureResampler obj's underlying member method code with example usage: obj._parse_subplot_row_indices(row_indices) and returns: row_indices, unknown