Skip to content

Commit

Permalink
fixes pydata#537
Browse files Browse the repository at this point in the history
  • Loading branch information
rabernat committed Aug 26, 2015
1 parent 8847ede commit 2f10a55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xray/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ def newplotfunc(darray, ax=None, xincrease=None, yincrease=None,
# pcolormesh
kwargs['extend'] = cmap_params['extend']
kwargs['levels'] = cmap_params['levels']
if kwargs.has_key('colors'):
cmap_params['cmap'] = None

# This allows the user to pass in a custom norm coming via kwargs
kwargs.setdefault('norm', cmap_params['cnorm'])
Expand Down

0 comments on commit 2f10a55

Please sign in to comment.