Skip to content

Commit

Permalink
Merge pull request spacetelescope#362 from shanosborne/bug_fixes
Browse files Browse the repository at this point in the history
Set origin='lower' in display_opd()
  • Loading branch information
mperrin authored Jun 17, 2020
2 parents a065f01 + ee8369e commit e3302b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webbpsf/opds.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def display_opd(self, ax=None, labelsegs=True, vmax=150., colorbar=True, clear=F
if ax is None:
ax = plt.gca()

plot = ax.imshow(self.opd * mask * scalefact, vmin=-vmax, vmax=vmax, cmap=cmap, extent=extent)
plot = ax.imshow(self.opd * mask * scalefact, vmin=-vmax, vmax=vmax, cmap=cmap, extent=extent, origin='lower')

_log.debug("Displaying OPD. Vmax is %f, data max is %f " % (vmax, self.opd.max()))

Expand Down

0 comments on commit e3302b8

Please sign in to comment.