ColdFront#
- class metpy.plots.ColdFront(color='blue', **kwargs)#
Draw a path as a cold front, with (default blue) pips/triangles 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='blue', **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.
- draw_path(renderer, gc, path, affine, rgbFace=None)#
Draw the given path.