Skip to content

Commit

Permalink
Set origin in display_opd
Browse files Browse the repository at this point in the history
  • Loading branch information
shanosborne committed Jun 9, 2020
1 parent b016172 commit ee8369e
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 ee8369e

Please sign in to comment.