Changeset 1636

Show
Ignore:
Timestamp:
02/16/10 07:44:42 (6 months ago)
Author:
mturk
Message:

This should fix the bug reported by Luigi Iapichino wherein a phase plot added
with a specified cmap= argument was not updating the colorbar.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/yt-1.6/yt/raven/PlotTypes.py

    r1567 r1636  
    779779        self.image = self._axes.pcolormesh(self.x_bins, self.y_bins, 
    780780                                      temparray, shading='flat', 
    781                                       norm=self.norm) 
     781                                      norm=self.norm, cmap=self.cmap) 
    782782        self.colorbar = self._figure.colorbar(self.image, 
    783783                                    extend='neither', shrink=0.95, 
  • trunk/yt/raven/PlotTypes.py

    r1631 r1636  
    802802        self.image = self._axes.pcolormesh(self.x_bins, self.y_bins, 
    803803                                      temparray, shading='flat', 
    804                                       norm=self.norm) 
     804                                      norm=self.norm, cmap=self.cmap) 
    805805        self.colorbar = self._figure.colorbar(self.image, 
    806806                                    extend='neither', shrink=0.95,