Matplotlib: a line width key for streamplot?

Viewed 1128

I am using streamplot to plot streamlines of wind, with the line width set by the wind speed. I don't want to use colour as this is to be overlaid on a filled contour plot of a different field.

Is there a way to add some kind of key or legend to indicate the magnitude associated with a particular line thickness, similar to quiverkey for quiver plots?

1 Answers
Related