def plot_number_observer(*args, **kwargs):
interactive = kwargs.pop('<STR_LIT>', False)<EOL>if interactive:<EOL><INDENT>plot_number_observer_with_nya(*args, **kwargs)<EOL><DEDENT>else:<EOL><INDENT>if kwargs.pop('<STR_LIT>', None) is not None:<EOL><INDENT>import warnings<EOL>warnings.warn(<EOL>"<STR_LIT>")<EOL><DEDENT>plot_number_observer_with_matplotlib(*args, **kwargs)<EOL><DEDENT>
Generate a plot from NumberObservers and show it.
See plot_number_observer_with_matplotlib and _with_nya for details.

Parameters
----------
obs : NumberObserver (e.g. FixedIntervalNumberObserver)
interactive : bool, default False
    Choose a visualizer. If False, show the plot with matplotlib.
    If True (only available on IPython Notebook), show it with nyaplot.

Examples
--------
>>> plot_number_observer(obs1)
>>> plot_number_observer(obs1, interactive=True)