---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-2-b9fcc89c23ec> in <module>()
1 get_ipython().magic(u'pylab inline')
----> 2 plt.plot(range(10))
/Users/pmarshwx/.local/lib/python2.7/site-packages/matplotlib/pyplot.pyc in plot(*args, **kwargs)
2805 @_autogen_docstring(Axes.plot)
2806 def plot(*args, **kwargs):
-> 2807 ax = gca()
2808 # allow callers to override the hold state by passing hold=True|False
2809 washold = ax.ishold()
/Users/pmarshwx/.local/lib/python2.7/site-packages/matplotlib/pyplot.pyc in gca(**kwargs)
705 """
706
--> 707 ax = gcf().gca(**kwargs)
708 return ax
709
/Users/pmarshwx/.local/lib/python2.7/site-packages/matplotlib/pyplot.pyc in gcf()
368 return figManager.canvas.figure
369 else:
--> 370 return figure()
371
372 fignum_exists = _pylab_helpers.Gcf.has_fignum
/Users/pmarshwx/.local/lib/python2.7/site-packages/matplotlib/pyplot.pyc in figure(num, figsize, dpi, facecolor, edgecolor, frameon, FigureClass, **kwargs)
341 frameon=frameon,
342 FigureClass=FigureClass,
--> 343 **kwargs)
344
345 if figLabel:
/Users/pmarshwx/.local/lib/python2.7/site-packages/matplotlib/backends/backend_agg.pyc in new_figure_manager(num, *args, **kwargs)
395
396 FigureClass = kwargs.pop('FigureClass', Figure)
--> 397 thisFig = FigureClass(*args, **kwargs)
398 return new_figure_manager_given_figure(num, thisFig)
399
/Users/pmarshwx/.local/lib/python2.7/site-packages/matplotlib/figure.pyc in __init__(self, figsize, dpi, facecolor, edgecolor, linewidth, frameon, subplotpars, tight_layout)
319
320 self._hold = rcParams['axes.hold']
--> 321 self.canvas = self._setup_canvas()
322
323 if subplotpars is None:
/Users/pmarshwx/.local/lib/python2.7/site-packages/matplotlib/figure.pyc in _setup_canvas(self)
337 import matplotlib.backends as mbackends # lazy import
338 backend_mod = mbackends.pylab_setup()[0]
--> 339 return backend_mod.FigureCanvas(self)
340
341 def show(self, warn=True):
AttributeError: 'module' object has no attribute 'FigureCanvas'