WarmFrontogenesis#

class metpy.plots.WarmFrontogenesis(color='red', **kwargs)[source]#

Draw a path as a strengthening warm front.

Initialize the frontogenesis 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 frontogenesis 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 frontogenesis 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)[source]#

Draw the given path.