Hi all again, On Fri, Nov 9, 2012 at 11:53 PM, Sandro Tosi <mo...@debian.org> 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel