quimb.utils_plot

Attributes

Functions

default_to_neutral_style(fn)

Wrap a function or method to use the neutral style by default.

_ensure_dict(k, v)

plot_multi_series_zoom(data[, zoom, zoom_max, ...])

Plot possibly multiple series of data, using the asinh scale for an

Module Contents

quimb.utils_plot.NEUTRAL_STYLE
quimb.utils_plot.default_to_neutral_style(fn)[source]

Wrap a function or method to use the neutral style by default.

quimb.utils_plot._ensure_dict(k, v)[source]
quimb.utils_plot.plot_multi_series_zoom(data, zoom='auto', zoom_max=100, zoom_marker='|', zoom_markersize=3, xlabel='Iteration', width=8, height=None, figsize=None, **kwargs)[source]

Plot possibly multiple series of data, using the asinh scale for an overview and a linear scale for a zoomed in final section.

Parameters:

data (dict[dict], dict[array], dict, array, optional) – The data to plot.