Skip to content

Commit

Permalink
added contour to Grid2D
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Jan 4, 2024
1 parent d974108 commit e7d256c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoarray/plot/mat_plot/two_d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e7d256c

Please sign in to comment.