Dryline#
- class metpy.plots.Dryline(color='brown', spacing=0.144, filled=False, **kwargs)#
Draw a path as a dryline with (default brown) 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, spacing, filled])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='brown', spacing=0.144, filled=False, **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.