WarmFront#
- class metpy.plots.WarmFront(color='red', **kwargs)[source]#
Draw a path as a warm front with (default red) scallops along the path.
Initialize the front path effect.
- Parameters:
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 symbol should be flipped to the other side of the path. Defaults to False.
filled (bool) – Whether the symbol should be filled with the color. Defaults to True.
Attributes Summary
Return the width of the symbol being plotted.
Methods Summary
__init__
([color])Initialize the 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__(color='red', **kwargs)[source]#
Initialize the front path effect.
- Parameters:
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 symbol should be flipped to the other side of the path. Defaults to False.
filled (bool) – Whether the symbol should be filled with the color. Defaults to True.