You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the matplotlib Sphinx plot extension to add some diagrams to Sphinx documentation. However, I've come across an issue: My Sphinx documentation uses the "separate directories for source and build" option. It seems that the matplotlib plot extension doesn't work well with this option, because:
I think the "pyplot" directory should be under the "source" directory. But I had to put it one level up from the "source" directory otherwise it wouldn't be found.
When I try to build, I get error messages such as:
/home/craig-nat/MySoftware/cobs-python/doc/source/index.rst:: WARNING: image file not readable: build/pyplots/cobsr_overhead.png
It should be "../build/pyplots/cobsr_overhead.png" instead I think.
SourceForge Comments
On Sun Dec 5 16:22:05 2010, weegreenblobbie wrote:
This seems to be working in Matplotlib-1.0.0.
My Ubuntu box doesn't have 1.0.0 as a deb, so I downloaded the source an copied matplotlib-1.0.0/lib/matplotlib/sphinxext to my sphinx project.
I then updated my conf.py to use the copy:
Add any Sphinx extension module names here, as strings. They can be extensions
coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
Activity
pelson commentedon Jun 18, 2012
Similar to #190 (although may be a different issue).
efiring commentedon May 29, 2013
From the sourceforge comment, it sounds like this might be working; in any case, it is peripheral and inactive, so I am closing it.