WarmFrontolysis#

class metpy.plots.WarmFrontolysis(color='red', **kwargs)#

Draw a path as a weakening warm front.

Initialize the frontolysis path effect.

Parameters:
  • color (str or tuple[float]) – Color to use for the effect.

  • 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.

Attributes Summary

symbol_width

Return the width of the symbol being plotted.

Methods Summary

__init__([color])

Initialize the frontolysis 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 frontolysis path effect.

Parameters:
  • color (str or tuple[float]) – Color to use for the effect.

  • 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.

draw_path(renderer, gc, path, affine, rgbFace=None)#

Draw the given path.