Skip to content

Commit 166f4bd

Browse files
authored
Merge pull request #274 from Jammy2211/feature/feature_basis_plot
Feature/feature basis plot
2 parents 3f7cee8 + b79e290 commit 166f4bd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

autolens/imaging/plot/fit_imaging_plotters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,9 @@ def subplot_tracer(self):
588588

589589
def subplot_mappings_of_plane(self, plane_index: Optional[int] = None, auto_filename: str = "subplot_mappings"):
590590

591+
if not self.fit.inversion.has(cls=aa.Pixelization):
592+
return
593+
591594
plane_indexes = self.plane_indexes_from(plane_index=plane_index)
592595

593596
for plane_index in plane_indexes:

autolens/plot/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
from autogalaxy.plot.visuals.one_d import Visuals1D
7272
from autogalaxy.plot.visuals.two_d import Visuals2D
7373

74+
from autogalaxy.profiles.plot.basis_plotters import BasisPlotter
7475
from autogalaxy.profiles.plot.light_profile_plotters import LightProfilePlotter
7576
from autogalaxy.profiles.plot.light_profile_plotters import LightProfilePDFPlotter
7677
from autogalaxy.profiles.plot.mass_profile_plotters import MassProfilePlotter

0 commit comments

Comments
 (0)