Matplotlib's newbie is here. I try to use the slider to adjust the parameter in the contour plot, but when I do this, I get:
AttributeError: QuadContourSet instance has no attribute 'set_data'
I suspect that I am calling set_data on the wrong object, but I cannot find documentation about what the correct object is. You can help? Thanks.
Here is the full code:
import numpy as np import matplotlib as mpl import matplotlib.mlab as mlab import matplotlib.pyplot as pyl from matplotlib.contour import QuadContourSet from matplotlib.widgets import Slider
source share