From e7d256c2be3ff4b052018e74d8e5bc5eb7822e0a Mon Sep 17 00:00:00 2001 From: James Nightingale Date: Thu, 4 Jan 2024 11:10:59 +0000 Subject: [PATCH] added contour to Grid2D --- autoarray/plot/mat_plot/two_d.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoarray/plot/mat_plot/two_d.py b/autoarray/plot/mat_plot/two_d.py index 795536bc..df737b8b 100644 --- a/autoarray/plot/mat_plot/two_d.py +++ b/autoarray/plot/mat_plot/two_d.py @@ -448,6 +448,8 @@ def plot_grid( self.yticks.set(min_value=extent[2], max_value=extent[3], units=self.units) self.xticks.set(min_value=extent[0], max_value=extent[1], units=self.units) + self.contour.set(array=color_array, extent=extent, use_log10=self.use_log10) + visuals_2d.plot_via_plotter(plotter=self, grid_indexes=grid) if not self.is_for_subplot: