StationaryFrontogenesis#
- class metpy.plots.StationaryFrontogenesis(colors=('red', 'blue'), **kwargs)#
Draw a strengthening stationary front.
Initialize a strengthening stationary front path effect.
This effect alternates between a warm front and cold front symbol.
- Parameters:
colors (Sequence[str] or Sequence[tuple[float]]) – Matplotlib color identifiers to cycle between on the two different front styles. Defaults to alternating red and blue.
size (int or float) – The size of the markers to plot in points. Defaults to 10.
spacing (int or float) – The spacing between markers in normalized coordinates. Defaults to 1.
flip (bool) – Whether the symbols should be flipped to the other side of the path. Defaults to False.
Attributes Summary
Return the width of the symbol being plotted.
Methods Summary
__init__
([colors])Initialize a strengthening stationary front path effect.
draw_path
(renderer, gc, path, affine[, rgbFace])Draw the given path.
Attributes Documentation
- symbol_width#
Return the width of the symbol being plotted.
Methods Documentation
- __init__(colors=('red', 'blue'), **kwargs)[source]#
Initialize a strengthening stationary front path effect.
This effect alternates between a warm front and cold front symbol.
- Parameters:
colors (Sequence[str] or Sequence[tuple[float]]) – Matplotlib color identifiers to cycle between on the two different front styles. Defaults to alternating red and blue.
size (int or float) – The size of the markers to plot in points. Defaults to 10.
spacing (int or float) – The spacing between markers in normalized coordinates. Defaults to 1.
flip (bool) – Whether the symbols should be flipped to the other side of the path. Defaults to False.