Skip to content

Commit

Permalink
fix interferometer plot
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Feb 26, 2024
1 parent 9eb3183 commit ca8dc57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions autoarray/inversion/plot/inversion_plotters.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,14 @@ def subplot_of_mapper(
self.mat_plot_2d.use_log10 = True
self.mat_plot_2d.contour = False

self.mat_plot_2d.plot_array(
array=self.inversion.data,
visuals_2d=self.get_visuals_2d_for_data(),
auto_labels=AutoLabels(title=f" Data"),
)
try:
self.mat_plot_2d.plot_array(
array=self.inversion.data,
visuals_2d=self.get_visuals_2d_for_data(),
auto_labels=AutoLabels(title=f" Data"),
)
except AttributeError:
pass

self.figures_2d_of_pixelization(
pixelization_index=mapper_index, reconstructed_image=True
Expand Down
1 change: 1 addition & 0 deletions autoarray/numba_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
f"or because it is not installed.\n\n. "
f"This will lead to slow performance.\n\n. "
f"Install numba as described at the following webpage for improved performance. \n"
f"https://pyautolens.readthedocs.io/en/latest/installation/numba.html \n"
f"********************************************************************************"
)

Expand Down

0 comments on commit ca8dc57

Please sign in to comment.