Plotting#

Dataset#

Dataset.plot.scatter(*args[, x, y, z, hue, ...])

Scatter variables against each other.

Dataset.plot.quiver(*args[, x, y, u, v, ...])

Quiver plot of Dataset variables.

Dataset.plot.streamplot(*args[, x, y, u, v, ...])

Plot streamlines of Dataset variables.

DataArray#

DataArray.plot(*[, row, col, col_wrap, ax, ...])

Default plot of DataArray using matplotlib.pyplot.

DataArray.plot.contourf(*args[, x, y, ...])

Filled contour plot of 2D DataArray.

DataArray.plot.contour(*args[, x, y, ...])

Contour plot of 2D DataArray.

DataArray.plot.hist(*args[, figsize, size, ...])

Histogram of DataArray.

DataArray.plot.imshow(*args[, x, y, ...])

Image plot of 2D DataArray.

DataArray.plot.line(*args[, row, col, ...])

Line plot of DataArray values.

DataArray.plot.pcolormesh(*args[, x, y, ...])

Pseudocolor plot of 2D DataArray.

DataArray.plot.step(*args[, where, ...])

Step plot of DataArray values.

DataArray.plot.scatter(*args[, x, y, z, ...])

Scatter variables against each other.

DataArray.plot.surface(*args[, x, y, ...])

Surface plot of 2D DataArray.

Faceting#

plot.FacetGrid(data[, col, row, col_wrap, ...])

Initialize the Matplotlib figure and FacetGrid object.

plot.FacetGrid.add_colorbar(**kwargs)

Draw a colorbar.

plot.FacetGrid.add_legend(*[, label, ...])

plot.FacetGrid.add_quiverkey(u, v, **kwargs)

plot.FacetGrid.map(func, *args, **kwargs)

Apply a plotting function to each facet's subset of the data.

plot.FacetGrid.map_dataarray(func, x, y, ...)

Apply a plotting function to a 2d facet's subset of the data.

plot.FacetGrid.map_dataarray_line(func, x, ...)

plot.FacetGrid.map_dataset(func[, x, y, ...])

plot.FacetGrid.map_plot1d(func, x, y, *[, ...])

Apply a plotting function to a 1d facet's subset of the data.

plot.FacetGrid.set_axis_labels(*axlabels)

Set axis labels on the left column and bottom row of the grid.

plot.FacetGrid.set_ticks([max_xticks, ...])

Set and control tick behavior.

plot.FacetGrid.set_titles([template, ...])

Draw titles either above each facet or on the grid margins.

plot.FacetGrid.set_xlabels([label])

Label the x axis on the bottom row of the grid.

plot.FacetGrid.set_ylabels([label])

Label the y axis on the left column of the grid.