code: def hist_series(data_frame, **kwargs):
      """
      Pandas plotting backend function, not meant to be called directly.
      To activate, set pandas.options.plotting.backend="plotly"
      See https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/__init__.py
      """
      from .express import histogram
  
      skip = [
          "by",
          "grid",
          "xlabelsize",
          "xrot",
          "ylabelsize",
          "yrot",
          "ax",
      ]
      skip += ["figsize", "bins", "legend"]
      new_kwargs = {k: kwargs[k] for k in kwargs if k not in skip}
      return histogram(data_frame, **new_kwargs)
  
imports: import sys
  from typing import TYPE_CHECKING
  from _plotly_utils.importers import relative_import
label_desc: Use image node_id 4 for calling a global function with example usage: hist_series(data_frame) and returns: histogram