def __init__(self, data=None, ax=None, auto_update=None, project=None,
                 draw=False, make_plot=True, clear=False,
                 enable_post=False, **kwargs):
        """
        Parameters
        ----------
        data: InteractiveArray or ArrayList, optional
            Data object that shall be visualized. If given and `plot` is True,
            the :meth:`initialize_plot` method is called at the end. Otherwise
            you can call this method later by yourself
        ax: matplotlib.axes.Axes
            Matplotlib Axes to plot on. If None, a new one will be created as
            soon as the :meth:`initialize_plot` method is called
        %(InteractiveBase.parameters.auto_update)s
        %(InteractiveBase.start_update.parameters.draw)s
        make_plot: bool
            If True, and `data` is not None, the plot is initialized. Otherwise
            only the framework between plotter and data is set up
        clear: bool
            If True, the axes is cleared first
        enable_post: bool
            If True, the :attr:`post` formatoption is enabled and post
            processing scripts are allowed
        ``**kwargs``
            Any formatoption key from the :attr:`formatoptions` attribute that
            shall be used"""
        self.project = project
        self.ax = ax
        self.data = data
        self.enable_post = enable_post
        if auto_update is None:
            auto_update = rcParams['lists.auto_update']
        self.no_auto_update = not bool(auto_update)
        self._registered_updates = {}
        self._todefault = False
        self._old_fmt = []
        self._figs2draw = set()
        #: formatoptions that have to be updated by other plotters that share
        #: the given formatoption with this Plotter. :attr:`_to_update` is a
        #: mapping from the formatoptions in this plotter to the corresponding
        #: other plotter
        self._to_update = {}
        self.disabled = False
        #: Dictionary holding the Formatoption instances of other plotters
        #: if their value shall be used instead of the one in this instance
        self._shared = {}
        #: list of str. Formatoption keys that were changed during the last
        #: update
        self._last_update = []
        #: The set of formatoptions that shall be updated even if they did not
        #: change
        self._force = set()
        self.replot = True
        self.cleared = clear
        self._updating = False
        # will be set to True when the plot is first initialized
        self._initialized = False

        # first we initialize all keys with None. This is necessary in order
        # to make the validation functioning
        with self.no_validation:
            for key in self._get_formatoptions():
                self[key] = None
        for key in self:  # then we set the default values
            fmto = getattr(self, key)
            self._try2set(fmto, fmto.default, validate=False)
        self._set_rc()
        for key, value in six.iteritems(kwargs):  # then the user values
            self[key] = value
        self.initialize_plot(data, ax=ax, draw=draw, clear=clear,
                             make_plot=make_plot)
def __init__ ( self , data = None , ax = None , auto_update = None , project = None , draw = False , make_plot = True , clear = False , enable_post = False , ** kwargs ) : self . project = project self . ax = ax self . data = data self . enable_post = enable_post if auto_update is None : auto_update = rcParams [ 'lists.auto_update' ] self . no_auto_update = not bool ( auto_update ) self . _registered_updates = { } self . _todefault = False self . _old_fmt = [ ] self . _figs2draw = set ( ) self . _to_update = { } self . disabled = False self . _shared = { } self . _last_update = [ ] self . _force = set ( ) self . replot = True self . cleared = clear self . _updating = False self . _initialized = False with self . no_validation : for key in self . _get_formatoptions ( ) : self [ key ] = None for key in self : fmto = getattr ( self , key ) self . _try2set ( fmto , fmto . default , validate = False ) self . _set_rc ( ) for key , value in six . iteritems ( kwargs ) : self [ key ] = value self . initialize_plot ( data , ax = ax , draw = draw , clear = clear , make_plot = make_plot )
Parameters
        ----------
        data: InteractiveArray or ArrayList, optional
            Data object that shall be visualized. If given and `plot` is True,
            the :meth:`initialize_plot` method is called at the end. Otherwise
            you can call this method later by yourself
        ax: matplotlib.axes.Axes
            Matplotlib Axes to plot on. If None, a new one will be created as
            soon as the :meth:`initialize_plot` method is called
        %(InteractiveBase.parameters.auto_update)s
        %(InteractiveBase.start_update.parameters.draw)s
        make_plot: bool
            If True, and `data` is not None, the plot is initialized. Otherwise
            only the framework between plotter and data is set up
        clear: bool
            If True, the axes is cleared first
        enable_post: bool
            If True, the :attr:`post` formatoption is enabled and post
            processing scripts are allowed
        ``**kwargs``
            Any formatoption key from the :attr:`formatoptions` attribute that
            shall be used