rfho/examples/common.py
def standard_plotter(**plot_kwargs):
    """
    This is a standard plotter that would do for most of the occasions, when there are stream dict are
    matrices of values that represents scalar measures. If the relative stream_dict has more than one key
    then standard_plotter will automatically add a legend.

    :return: A callable, internally called by instances of OnlinePlotStream
    """

    def intern(ax, stream_dict, **kwargs):

        ax.clear()
        [ax.plot(v, label=k, **merge_dicts(kwargs, plot_kwargs)) for k, v in stream_dict.items()]
        if len(stream_dict) > 2:
            ax.legend(loc=0)
    return intern

    This is a standard plotter that would do for most of the occasions, when there are stream dict are
    matrices of values that represents scalar measures. If the relative stream_dict has more than one key
    then standard_plotter will automatically add a legend.

    :return: A callable, internally called by instances of OnlinePlotStream
    
This is a standard plotter that would do for most of the occasions, when there are stream dict are
matrices of values that represents scalar measures. If the relative stream_dict has more than one key
then standard_plotter will automatically add a legend.
This is a standard plotter that would do for most of the occasions when there are stream dict are matrices of values that represents scalar measures . If the relative stream_dict has more than one key then standard_plotter will automatically add a legend .
def standard_plotter(**plot_kwargs):
    def intern(ax, stream_dict, **kwargs):
        ax.clear()
        [ax.plot(v, label=k, **merge_dicts(kwargs, plot_kwargs)) for k, v in stream_dict.items()]
        if len(stream_dict) > 2:
            ax.legend(loc=0)
    return intern
def standard_plotter ( ** plot_kwargs ) : def intern ( ax , stream_dict , ** kwargs ) : ax . clear ( ) [ ax . plot ( v , label = k , ** merge_dicts ( kwargs , plot_kwargs ) ) for k , v in stream_dict . items ( ) ] if len ( stream_dict ) > 2 : ax . legend ( loc = 0 ) return intern
This is a standard plotter that would do for most of the occasions, when there are stream dict are
matrices of values that represents scalar measures.
This is a standard plotter that would do for most of the occasions when there are stream dict are matrices of values that represents scalar measures .
"""
    This is a standard plotter that would do for most of the occasions, when there are stream dict are
    matrices of values that represents scalar measures. If the relative stream_dict has more than one key
    then standard_plotter will automatically add a legend.

    :return: A callable, internally called by instances of OnlinePlotStream
    """
A callable, internally called by instances of OnlinePlotStream
A callable internally called by instances of OnlinePlotStream