matplotlib/matplotlib — pull request #1491 by sandrotosi (2012-11-13 19:00:44+00:00)
Title: Reintroduce examples.directory rc parameter

The main reason is that in Debian we store sample_data in a directory outside
the Python modules location. This way we're able to specify that directory in a
more appropriate way, also to allow examples to work during package building (in
particular for the documentation part).

The code introduced is a partial revert of 6c5e9610 (with very tiny changes).