[Tutor] Overlay Quiver Plot on Contours

Alan Gauld alan.gauld at btinternet.com
Tue Jan 27 02:29:44 CET 2015

On 26/01/15 23:24, Felisha Lawrence wrote:
> Hello,
> I have the following script:
> import netCDF4
> import numpy as np
> import matplotlib.pyplot as plt
> import pylab
> and I am getting this error:
> TypeError: You must first set_array for mappable
> Can anyone provide guidance on how you overlay quiver plots on top of
> contours?

This list is for newcomers to Python and its standard
library. This looks like a fairly specific SciPy/Numpy,
and especially matplotlib type question.

You would probably be better off asking on the SciPy

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list