Hi all again,
On Fri, Nov 9, 2012 at 11:53 PM, Sandro Tosi <mo...@de...> wrote:
> Hello,
> for the Debian package, we install sample_data directory in a custom
> location, /usr/share/matplotlib/sample_data/ .
>
> Pre-1.2.0 we could specify the examples.directory rcParam, but now
> that parameter has been removed.
>
> If we want to keep shipping sample_data in /usr/share/matplotlib/ , it
> seems the only solution is to patch cbook.get_sample_data() to set
>
> root = '/usr/share/matplotlib/'
Just hardcoding the path made the doc compilation failing to provide
the images for examples using get_sample_data() because it refers to a
directory still not populated (it will be at install time, not build
time). So i brought it up to
https://github.com/matplotlib/matplotlib/issues/1478
We can keep discussing it there.
Cheers,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
|