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