Squall#

class metpy.plots.Squall(color='black', spacing=75)#

Squall line path effect.

Initialize the squall line path effect.

Parameters:
  • color (str) – Color to use for the effect.

  • spacing (float) – Spacing between symbols along path (in points).

Attributes Summary

symbol

Methods Summary

__init__([color, spacing])

Initialize the squall line path effect.

draw_path(renderer, gc, path, affine[, rgbFace])

Draw path.

Attributes Documentation

symbol = Path(array([[ 0.        , -4.        ],        [ 1.0608124 , -4.        ],        [ 2.07831948, -3.57853477],        [ 2.82842712, -2.82842712],        [ 3.57853477, -2.07831948],        [ 4.        , -1.0608124 ],        [ 4.        ,  0.        ],        [ 4.        ,  1.0608124 ],        [ 3.57853477,  2.07831948],        [ 2.82842712,  2.82842712],        [ 2.07831948,  3.57853477],        [ 1.0608124 ,  4.        ],        [ 0.        ,  4.        ],        [-1.0608124 ,  4.        ],        [-2.07831948,  3.57853477],        [-2.82842712,  2.82842712],        [-3.57853477,  2.07831948],        [-4.        ,  1.0608124 ],        [-4.        ,  0.        ],        [-4.        , -1.0608124 ],        [-3.57853477, -2.07831948],        [-2.82842712, -2.82842712],        [-2.07831948, -3.57853477],        [-1.0608124 , -4.        ],        [ 0.        , -4.        ],        [ 0.        , -4.        ]]), array([ 1,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,         4,  4,  4,  4,  4,  4,  4,  4, 79], dtype=uint8))#

Methods Documentation

__init__(color='black', spacing=75)[source]#

Initialize the squall line path effect.

Parameters:
  • color (str) – Color to use for the effect.

  • spacing (float) – Spacing between symbols along path (in points).

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

Draw path.