diff options
author | Pauli Virtanen <pav@iki.fi> | 2009-04-01 20:38:50 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2009-04-01 20:38:50 +0000 |
commit | 9a63ebd48281c994c39c374b5cdc960acb82963c (patch) | |
tree | 56b5d77ed9ff806e0ef422e261135d86830d09e4 /doc/sphinxext/plot_directive.py | |
parent | 745ebc091aa6e761f9180964ae2c60e1caa92f9a (diff) | |
download | numpy-9a63ebd48281c994c39c374b5cdc960acb82963c.tar.gz |
sphinxext: Sphinx 0.6 compatibility and deprecation warnings
Diffstat (limited to 'doc/sphinxext/plot_directive.py')
-rw-r--r-- | doc/sphinxext/plot_directive.py | 6 |
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 |