On Wed, Dec 17, 2008 at 3:57 PM, Gael Varoquaux <gael.varoqu...@normalesup.org> wrote: > On Wed, Dec 17, 2008 at 12:25:12PM -0600, John Hunter wrote:
> Talking about that, last time I looked, the plot directive, and the other > MPL sphinx extension were not in the matplotlib namespace, and thus not > importable by other programs. This is a pity, because they can be useful > for other projects (I wrote for instance some lecture notes using sphinx > to doctest them, and I wanted to use the plot directive). > > It seems it would be very easy to put them in a matplotlib submodule, and > have the sphinx conf.py import from there. Nothing urgent, but if there > is no reason no to, I would make me a happy man. We have provided the sphinx_template2 to serve as a starting point for sphinx projects that want to use the plot, mathmpl, etc, extensions. Unfortunately, we are not doing the best job of keeping the two in sync. Fernando and I have talked of the need to have standard, reusable components for these kinds of things. Perhaps it would be possible to move the guts of some of these into a matplotlib.sphinxext module. Here is the pointer to the sphinx template: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/py4science/examples/sphinx_template2/ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel