summaryrefslogtreecommitdiff
path: root/doc/sphinxext/plot_directive.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinxext/plot_directive.py')
-rw-r--r--doc/sphinxext/plot_directive.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/sphinxext/plot_directive.py b/doc/sphinxext/plot_directive.py
index 6b5ff6eaf..74bd7a24b 100644
--- a/doc/sphinxext/plot_directive.py
+++ b/doc/sphinxext/plot_directive.py
@@ -74,6 +74,12 @@ TODO
import sys, os, glob, shutil, imp, warnings, cStringIO, re, textwrap
+import warnings
+warnings.warn("A plot_directive module is also available under "
+ "matplotlib.sphinxext; expect this module to be deprecated "
+ "after relevant features have been integrated there.",
+ FutureWarning, stacklevel=2)
+
def setup(app):
setup.app = app
setup.config = app.config