src/estimagic/dashboard/callbacks.py
def _stream_data(cds, data, rollover):
    """Stream only to the available columns of a ColumnDataSource.

    Args:
        cds (bokeh.ColumnDataSource): to be updated
        data (dict): keys are the columns of the CDS to which to stream.
            The values are the entries to be appended. Keys that are not
            in the columns of **cds** will not be streamed.
        rollover (int): maximal number of points to show in the plot

    """
    available_keys = cds.data.keys()
    to_stream = {k: v for k, v in data.items() if k in available_keys}
    cds.stream(to_stream, rollover=rollover)
Stream only to the available columns of a ColumnDataSource.

    Args:
        cds (bokeh.ColumnDataSource): to be updated
        data (dict): keys are the columns of the CDS to which to stream.
            The values are the entries to be appended. Keys that are not
            in the columns of **cds** will not be streamed.
        rollover (int): maximal number of points to show in the plot

    
Stream only to the available columns of a ColumnDataSource.
Stream only to the available columns of a ColumnDataSource .
def _stream_data(cds, data, rollover):
    available_keys = cds.data.keys()
    to_stream = {k: v for k, v in data.items() if k in available_keys}
    cds.stream(to_stream, rollover=rollover)
def _stream_data ( cds , data , rollover ) : available_keys = cds . data . keys ( ) to_stream = { k : v for k , v in data . items ( ) if k in available_keys } cds . stream ( to_stream , rollover = rollover )
Stream only to the available columns of a ColumnDataSource.
Stream only to the available columns of a ColumnDataSource .
"""Stream only to the available columns of a ColumnDataSource.

    Args:
        cds (bokeh.ColumnDataSource): to be updated
        data (dict): keys are the columns of the CDS to which to stream.
            The values are the entries to be appended. Keys that are not
            in the columns of **cds** will not be streamed.
        rollover (int): maximal number of points to show in the plot

    """
cds
to be updated
to be updated
data
keys are the columns of the CDS to which to stream.
The values are the entries to be appended. Keys that are not
in the columns of **cds** will not be streamed.
keys are the columns of the CDS to which to stream . The values are the entries to be appended . Keys that are not in the columns of ** cds ** will not be streamed .
rollover
maximal number of points to show in the plot
maximal number of points to show in the plot