code: def validate_equal_length(*args):
      """
      Validates that data lists or ndarrays are the same length.
  
      :raises: (PlotlyError) If any data lists are not the same length.
      """
      length = len(args[0])
      if any(len(lst) != length for lst in args):
          raise exceptions.PlotlyError(
              "Oops! Your data lists or ndarrays "
              "should be the same length."
          )
  
file_path: plotly.py/packages/python/plotly/plotly/figure_factory/utils.py
imports: from collections.abc import Sequence
  from plotly import exceptions
  from plotly.colors import DEFAULT_PLOTLY_COLORS, PLOTLY_SCALES, color_parser, colorscale_to_colors, colorscale_to_scale, convert_to_RGB_255, find_intermediate_color, hex_to_rgb, label_rgb, n_colors, unconvert_from_RGB_255, unlabel_rgb, validate_colors, validate_colors_dict, validate_colorscale, validate_scale_values
label_desc: Use image node_id 4 for calling a global function with example usage: validate_equal_length() without return types