Re: [Matplotlib-users] Refer to matplotlib sphinx plots

2009-11-30 Thread Michael Droettboom
Unfortunately, at present you can't. The figure referencing in Sphinx works because there is a hard-coded phase to match labels to figures (which doesn't know about plots). I think the matplotlib plot directive needs to write such a phase at well (should be possible using Sphinx event hooks)

[Matplotlib-users] Refer to matplotlib sphinx plots

2009-11-26 Thread Jose Gomez-Dans
Hi, I'm not sure this is entirely on-topic as it relates to the matplotlib sphinx extension. I hope it's still acceptable! I am writing some documentation using sphinx, and I would like to refer plots that are rendered from an external python script. I can do the plot and it gets imported fine ju