matplotlib/matplotlib — pull request #923 by pelson (2012-06-06 09:19:45+00:00)
Title: Non string serialised projections

This is a rebased version of #694, which itself was a rebase of #470.

I would like the ability to setup a plot projection in MPL that can be defined by various parameters and does not need to be serialised as a string and registered with matplotlib.projections.register_projection. For example, an extension of /examples/api/custom_projection_example.py might be to add the ability to define the central meridian to an arbitrary value rather than the current value of 0 - in this case I would expect to define the projection by creating an object which can then be turned into a matplotlib axes:

```
hammer_proj = Hammer(central_meridian=45)
ax = plt.subplot(111, projection=hammer_proj)
```