Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions autolens/imaging/plot/fit_imaging_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def _plot_source_plane(fit, ax, plane_index, zoom_to_brightest=True,
def subplot_fit(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
plane_index: Optional[int] = None,
image_plane_lines=None,
Expand Down Expand Up @@ -327,7 +327,7 @@ def subplot_fit(
def subplot_fit_x1_plane(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
):
"""
Expand Down Expand Up @@ -391,7 +391,7 @@ def subplot_fit_x1_plane(
def subplot_fit_log10(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
plane_index: Optional[int] = None,
image_plane_lines=None,
Expand Down Expand Up @@ -515,7 +515,7 @@ def subplot_fit_log10(
def subplot_fit_log10_x1_plane(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
):
"""
Expand Down Expand Up @@ -576,7 +576,7 @@ def subplot_fit_log10_x1_plane(
def subplot_of_planes(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
plane_index: Optional[int] = None,
):
Expand Down Expand Up @@ -644,7 +644,7 @@ def subplot_of_planes(
def subplot_tracer_from_fit(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
image_plane_lines=None,
image_plane_line_colors=None,
Expand Down Expand Up @@ -769,7 +769,7 @@ def subplot_tracer_from_fit(
def subplot_fit_combined(
fit_list: List,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
):
"""
Expand Down Expand Up @@ -851,7 +851,7 @@ def subplot_fit_combined(
def subplot_fit_combined_log10(
fit_list: List,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
):
"""
Expand Down
8 changes: 4 additions & 4 deletions autolens/interferometer/plot/fit_interferometer_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _plot_source_plane(fit, ax, plane_index, zoom_to_brightest=True,
def subplot_fit(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
image_plane_lines=None,
image_plane_line_colors=None,
Expand Down Expand Up @@ -271,7 +271,7 @@ def subplot_fit(
def subplot_fit_dirty_images(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log10: bool = False,
image_plane_lines=None,
Expand Down Expand Up @@ -328,7 +328,7 @@ def subplot_fit_dirty_images(
def subplot_fit_real_space(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
source_plane_lines=None,
source_plane_line_colors=None,
Expand Down Expand Up @@ -390,7 +390,7 @@ def subplot_fit_real_space(
def subplot_tracer_from_fit(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
image_plane_lines=None,
image_plane_line_colors=None,
Expand Down
6 changes: 3 additions & 3 deletions autolens/lens/plot/sensitivity_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def subplot_tracer_images(
tracer_no_perturb,
source_image,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log10: bool = False,
):
Expand Down Expand Up @@ -119,7 +119,7 @@ def subplot_sensitivity(
result,
data_subtracted,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log10: bool = False,
):
Expand Down Expand Up @@ -247,7 +247,7 @@ def subplot_sensitivity(
def subplot_figures_of_merit_grid(
result,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log_evidences: bool = True,
remove_zeros: bool = True,
Expand Down
4 changes: 2 additions & 2 deletions autolens/lens/plot/subhalo_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def subplot_detection_imaging(
result,
fit_imaging_with_subhalo,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log10: bool = False,
use_log_evidences: bool = True,
Expand Down Expand Up @@ -102,7 +102,7 @@ def subplot_detection_fits(
fit_imaging_no_subhalo,
fit_imaging_with_subhalo,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
):
"""
Expand Down
6 changes: 3 additions & 3 deletions autolens/lens/plot/tracer_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def subplot_tracer(
tracer,
grid: aa.type.Grid2DLike,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log10: bool = False,
positions=None,
Expand Down Expand Up @@ -195,7 +195,7 @@ def subplot_lensed_images(
tracer,
grid: aa.type.Grid2DLike,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log10: bool = False,
):
Expand Down Expand Up @@ -249,7 +249,7 @@ def subplot_galaxies_images(
tracer,
grid: aa.type.Grid2DLike,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
colormap: Optional[str] = None,
use_log10: bool = False,
):
Expand Down
2 changes: 1 addition & 1 deletion autolens/point/plot/fit_point_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def subplot_fit(
fit,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
image_plane_lines=None,
image_plane_line_colors=None,
source_plane_lines=None,
Expand Down
2 changes: 1 addition & 1 deletion autolens/point/plot/point_dataset_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def subplot_dataset(
dataset,
output_path: Optional[str] = None,
output_format: str = "png",
output_format: str = None,
):
"""
Produce a subplot visualising a `PointDataset`.
Expand Down
Loading