class_docstr: Context to setup the environment within with the plot is built
  
  Parameters
  ----------
  plot :
      ggplot object to be built within the context.
      exits.
  show :
      Whether to show the plot.
docstr: Enclose in matplolib & pandas environments
docstr_tok: ["Enclose","in","matplolib","&","pandas","environments"]
code: def __enter__(self) -> Self:
      """
      Enclose in matplolib & pandas environments
      """
      import matplotlib as mpl
  
      self.plot.theme._targets = {}
      self.rc_context = mpl.rc_context(self.plot.theme.rcParams)
  
      # Pandas deprecated is_copy, and when we create new dataframes
      # from slices we do not want complaints. We always uses the
      # new frames knowing that they are separate from the original.
      self.pd_option_context = pd.option_context(
          "mode.chained_assignment", None
      )
      self.rc_context.__enter__()
      self.pd_option_context.__enter__()
      return self
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  import pandas
label_desc: Use image node_id 2 for calling the plot_context obj's underlying member method code with example usage: obj.__enter__() and returns: self