From ee8369eb33ab784fd278deb078dfb3616f81b775 Mon Sep 17 00:00:00 2001 From: Shannon Osborne Date: Tue, 9 Jun 2020 08:47:17 -0700 Subject: [PATCH] Set origin in display_opd --- webbpsf/opds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webbpsf/opds.py b/webbpsf/opds.py index 1956fb33..195cbed6 100644 --- a/webbpsf/opds.py +++ b/webbpsf/opds.py @@ -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()))