matplotlib/matplotlib — pull request #1479 by sandrotosi (2012-11-10 16:37:22+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).

See also: https://github.com/matplotlib/matplotlib/issues/1478