labcore.analysis.mpl#
Functions
|
|
|
|
|
Create a figure and grid where all dimensions are specified in inches. :param widths: list of column widths :param heights: list of row heights :param margins: either a scalar or a list of four numbers (l, r, t, b) :param dw: white space between subplots, horizontal :param dh: white space between subplots, vertical :param make_axes: bool; if True, create axes on the grid and return, else return the gridspec. |
|
|
|
|
|
|
|
|
|
|
|
|
|
- labcore.analysis.mpl.add_legend(ax, anchor_point=(1, 1), legend_ref_point='lower right', **labels_and_handles)[source]#
- labcore.analysis.mpl.correctly_sized_figure(widths, heights, margins=0.5, dw=0.2, dh=0.2, make_axes=True)[source]#
Create a figure and grid where all dimensions are specified in inches. :param widths: list of column widths :param heights: list of row heights :param margins: either a scalar or a list of four numbers (l, r, t, b) :param dw: white space between subplots, horizontal :param dh: white space between subplots, vertical :param make_axes: bool; if True, create axes on the grid and return,
else return the gridspec.
- labcore.analysis.mpl.fit_and_plot_1d(ds, name, fit_class, dim_order: List[int] | None = None, run_kwargs: Dict[str, Any] = {})[source]#