Skip to content

Commit

Permalink
fixed rhessi colormap
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsteve committed May 4, 2015
1 parent 579dff8 commit 6c787dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sunpy/map/sources/rhessi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
__author__ = "Steven Christe"
__email__ = "steven.d.christe@nasa.gov"

import matplotlib.pyplot as plt

from sunpy.map import GenericMap

import astropy.units as u
Expand Down Expand Up @@ -39,6 +41,7 @@ def __init__(self, data, header, **kwargs):

self.meta['waveunit'] = 'keV'
self.meta['wavelnth'] = [self.meta['energy_l'], self.meta['energy_h']]
self.cmap = plt.get_cmap('jet')

@property
def measurement(self):
Expand Down

0 comments on commit 6c787dd

Please sign in to comment.