Register sunpy colormaps with matplotlib closes sunpy/sunpy#1184

Yeah that is odd.
On 14 Dec 2014 14:08, "rhewett" <notifications@github.com> wrote:

> In sunpy/cm/cm.py
> <https://github.com/sunpy/sunpy/pull/1230#discussion-diff-21796541>:
>
> > @@ -98,6 +98,9 @@
> >            'hmimag': hmimag
> >            }
> >
> > +# Register the colormaps with matplotlib so plt.get_cmap('sdoaia171') works
> > +for name, cmap in cmlist.items():
> > +    cm.register_cmap(name=name, cmap=cmap)
> >
> >  def get_cmap(name='sdoaia94'):
>
> I know that this is outside of this PR/issue, but it is strange to me that
> this provides a default.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/sunpy/sunpy/pull/1230/files#r21796541>.
>