sdf_xarray.plotting

sdf_xarray.plotting#

Functions

animate(data[, fps, min_percentile, ...])

Generate an animation using an xarray.DataArray.

animate_multiple(*datasets[, ...])

Generate an animation using multiple xarray.DataArray.

calculate_window_boundaries(data[, xlim, ...])

Calculate the boundaries a moving window frame.

compute_global_limits(data[, ...])

Remove all NaN values from the target data to calculate the global minimum and maximum of the data.

get_axis_label(dim)

Formats the axes label for a given dim in the form of dim.long_name [dim.units].

get_frame_title(data, frame[, ...])

Generate the title for a frame

shift_cmap(cmap, vmin, vmax, vcenter[, N])

Create a new colormap where the visual center of the original colormap is shifted to a specific data value.

show(anim)

Shows the FuncAnimation in a Jupyter notebook.

voxel_plot(da[, ax, vmin, vmax, vcenter, ...])

Plot 3-dimensional data as voxels.

Classes

AnimationUnit(update, n_frames)