Description: Fix building of docs
 See https://github.com/matplotlib/matplotlib/issues/2967 for more info.

--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -33,7 +33,7 @@
               'matplotlib.sphinxext.plot_directive',
               'matplotlib.sphinxext.only_directives',
               'ipython_console_highlighting',
-              'ipython_directive',
+              'IPython.sphinxext.ipython_directive',
               'numpy_ext.numpydoc']
 
 # plot_directive is broken on old matplotlib
