code: def __init__(self, data):
      self._data = data
  
imports: import numpy
  import pandas
  import altair
  from ._utils import infer_vegalite_type, unpivot_frame, warn_if_keywords_unused, validate_aggregation
  from ._pandas_internals import PandasObject, register_dataframe_accessor, register_series_accessor
label_desc: Use image node_id 1 to create a new BasePlotMethods object from inherited base classes: PandasObject with example: obj = BasePlotMethods(data)