Skip to content

Commit

Permalink
Merge pull request #1444 from Cadair/master
Browse files Browse the repository at this point in the history
Fix a intermittent bug with map.plot when axes is manually specified.
  • Loading branch information
ayshih committed Jun 15, 2015
2 parents 8685a06 + 2f57b5a commit 76f45af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sunpy/map/mapbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,7 @@ def plot(self, gamma=None, annotate=True, axes=None, **imshow_args):
wcsaxes_compat.default_wcs_grid(axes)

#Set current image (makes colorbar work)
plt.sca(axes)
plt.sci(ret)
return ret

Expand Down

0 comments on commit 76f45af

Please sign in to comment.