Plots (metpy.plots)#

Contains functionality for making meteorological plots.

Functions

read_colortable(fobj)

Read colortable information from a file.

wx_code_to_numeric(codes)

Determine the numeric weather symbol value from METAR code text.

add_metpy_logo(fig[, x, y, zorder, size])

Add the MetPy logo to a figure.

add_timestamp(ax[, time, x, y, ha, ...])

Add a timestamp to a plot.

add_unidata_logo(fig[, x, y, zorder, size])

Add the Unidata logo to a figure.

convert_gempak_color(c[, style])

Convert GEMPAK color numbers into corresponding Matplotlib colors.

Classes

PanelContainer(**kwargs)

Collects panels and set complete figure related settings (e.g., size).

MapPanel(**kwargs)

Set figure related elements for an individual panel.

Plots2D(**kwargs)

The highest level class related to plotting 2D data.

PlotScalar(**kwargs)

Defines the common elements of 2D scalar plots for single scalar value fields.

ImagePlot(**kwargs)

Make raster image using imshow for satellite or colored image.

ContourPlot(**kwargs)

Make contour plots by defining specific traits.

FilledContourPlot(**kwargs)

Make color-filled contours plots by defining appropriate traits.

RasterPlot(**kwargs)

Make raster plots by defining relevant traits.

PlotVector(**kwargs)

Defines common elements for 2D vector plots.

BarbPlot(**kwargs)

Make plots of wind barbs on a map with traits to refine the look of plotted elements.

ArrowPlot(**kwargs)

Make plots of wind barbs on a map with traits to refine the look of plotted elements.

PlotObs(**kwargs)

The highest level class related to plotting observed surface and upperair data.

PlotGeometry(**kwargs)

Plot collections of Shapely objects and customize their appearance.

SkewT([fig, rotation, subplot, rect, aspect])

Make Skew-T log-P plots of data.

Hodograph([ax, component_range])

Make a hodograph of wind data.

StationPlot(ax, x, y[, fontsize, spacing, ...])

Make a standard meteorological station plot.

StationPlotLayout

Make a layout to encapsulate plotting using StationPlot.