xyzpy.plot.plotter_bokeh
xyzpy.plot.plotter_bokeh#
Functions
|
Auto version of |
|
Auto version of |
|
Auto version of |
|
Decorate a plotting function to plot a grid of values. |
|
|
|
From |
|
From |
|
From |
Classes
|
|
|
Interactive raw data multi-line plot. |
|
|
|
|
|
|
|
|
|
- class xyzpy.plot.plotter_bokeh.AutoILinePlot(x, y_z, **lineplot_opts)[source]#
Interactive raw data multi-line plot.
- xyzpy.plot.plotter_bokeh.auto_iheatmap(x, **iheatmap_opts)[source]#
Auto version of
iheatmap()
that accepts array arguments by converting them to aDataset
first.
- xyzpy.plot.plotter_bokeh.auto_ilineplot(x, y_z, **lineplot_opts)[source]#
Auto version of
ilineplot()
that accepts array arguments by converting them to aDataset
first.
- xyzpy.plot.plotter_bokeh.auto_iscatter(x, y_z, **iscatter_opts)[source]#
Auto version of
iscatter()
that accepts array arguments by converting them to aDataset
first.
- xyzpy.plot.plotter_bokeh.bokeh_multi_plot(fn)[source]#
Decorate a plotting function to plot a grid of values.
- xyzpy.plot.plotter_bokeh.iheatmap(ds, x, y, z, **kwargs)[source]#
From
ds
plot variablez
as a function ofx
andy
using a 2D heatmap. Interactive,- Parameters
ds (xarray.Dataset) – Dataset to plot from.
x (str) – Dimension to plot along the x-axis.
y (str) – Dimension to plot along the y-axis.
z (str, optional) – Variable to plot as colormap.
row (str, optional) – Dimension to vary over as a function of rows.
col (str, optional) – Dimension to vary over as a function of columns.
plot_opts – See
xyzpy.plot.core.PLOTTER_DEFAULTS
.
- xyzpy.plot.plotter_bokeh.ilineplot(ds, x, y, z=None, y_err=None, x_err=None, **kwargs)[source]#
From
ds
plot lines ofy
as a function ofx
, optionally for varyingz
. Interactive,- Parameters
ds (xarray.Dataset) – Dataset to plot from.
x (str) – Dimension to plot along the x-axis.
y (str or tuple[str]) – Variable(s) to plot along the y-axis. If tuple, plot each of the variables - instead of
z
.z (str, optional) – Dimension to plot into the page.
y_err (str, optional) – Variable to plot as y-error.
x_err (str, optional) – Variable to plot as x-error.
row (str, optional) – Dimension to vary over as a function of rows.
col (str, optional) – Dimension to vary over as a function of columns.
plot_opts – See
xyzpy.plot.core.PLOTTER_DEFAULTS
.
- xyzpy.plot.plotter_bokeh.iscatter(ds, x, y, z=None, y_err=None, x_err=None, **kwargs)[source]#
From
ds
plot a scatter ofy
againstx
, optionally for varyingz
. Interactive.- Parameters
ds (xarray.Dataset) – Dataset to plot from.
x (str) – Quantity to plot along the x-axis.
y (str or tuple[str]) – Quantity(s) to plot along the y-axis. If tuple, plot each of the variables - instead of
z
.z (str, optional) – Dimension to plot into the page.
y_err (str, optional) – Variable to plot as y-error.
x_err (str, optional) – Variable to plot as x-error.
row (str, optional) – Dimension to vary over as a function of rows.
col (str, optional) – Dimension to vary over as a function of columns.
plot_opts – See
xyzpy.plot.core.PLOTTER_DEFAULTS
.