Skip to content

Commit 03edea7

Browse files
Jammy2211Jammy2211
authored andcommitted
black
1 parent db01d6c commit 03edea7

6 files changed

Lines changed: 7 additions & 9 deletions

File tree

autogalaxy/analysis/plotter_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def mat_plot_1d_from(self) -> MatPlot1D:
9090
output=aplt.Output(path=self.image_path, format=self.fmt),
9191
)
9292

93-
def mat_plot_2d_from(self, quick_update : bool = False) -> MatPlot2D:
93+
def mat_plot_2d_from(self, quick_update: bool = False) -> MatPlot2D:
9494
"""
9595
Returns a 2D matplotlib plotting object whose `Output` class uses the `image_path`, such that it outputs
9696
images to the `image` folder of the non-linear search.

autogalaxy/imaging/model/plotter_interface.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,7 @@ def should_plot(name):
136136

137137
hdu_list.writeto(self.image_path / "dataset.fits", overwrite=True)
138138

139-
def fit_imaging(
140-
self,
141-
fit: FitImaging,
142-
quick_update: bool = False
143-
):
139+
def fit_imaging(self, fit: FitImaging, quick_update: bool = False):
144140
"""
145141
Visualizes a `FitImaging` object, which fits an imaging dataset.
146142

autogalaxy/interferometer/model/plotter_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def should_plot(name):
131131
def fit_interferometer(
132132
self,
133133
fit: FitInterferometer,
134-
quick_update : bool = False,
134+
quick_update: bool = False,
135135
):
136136
"""
137137
Visualizes a `FitInterferometer` object, which fits an interferometer dataset.

autogalaxy/interferometer/model/visualizer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def visualize(
8282

8383
try:
8484
plotter_interface.fit_interferometer(
85-
fit=fit, quick_update=quick_update,
85+
fit=fit,
86+
quick_update=quick_update,
8687
)
8788
except exc.InversionException:
8889
pass

autogalaxy/plot/mat_plot/two_d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(
5050
tangential_caustics_plot: Optional[w.TangentialCausticsPlot] = None,
5151
radial_caustics_plot: Optional[w.RadialCausticsPlot] = None,
5252
use_log10: bool = False,
53-
quick_update : bool = False
53+
quick_update: bool = False,
5454
):
5555
"""
5656
Visualizes data structures (e.g an `Array2D`, `Grid2D`, `VectorField`, etc.) using Matplotlib.

autogalaxy/profiles/mass/total/dual_pseudo_isothermal_mass.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ def analytical_magnification_2d_from(self, grid: "aa.type.Grid2DLike", **kwargs)
516516
def potential_2d_from(self, grid: aa.type.Grid2DLike, **kwargs):
517517
return jnp.zeros(shape=grid.shape[0])
518518

519+
519520
class dPIEMassSph(dPIEMass):
520521
def __init__(
521522
self,

0 commit comments

Comments
 (0)