Skip to content

Commit e4440cd

Browse files
committed
docs
1 parent 9273e9f commit e4440cd

3 files changed

Lines changed: 6 additions & 11 deletions

File tree

autocti/plot/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
from autoarray.structures.plot.structure_plotters import YX1DPlotter
4848
from autoarray.structures.plot.structure_plotters import YX1DPlotter as Array1DPlotter
4949
from autoarray.structures.plot.structure_plotters import Array2DPlotter
50+
5051
from autoarray.plot.multi_plotters import MultiFigurePlotter
52+
from autoarray.plot.multi_plotters import MultiYX1DPlotter
5153

5254
from autocti.dataset_1d.plot.dataset_1d_plotters import Dataset1DPlotter
5355
from autocti.dataset_1d.plot.fit_plotters import FitDataset1DPlotter

test_autocti/charge_injection/model/test_visualizer_ci.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ def test__visualize_fit_combined(fit_ci_7x7, plot_path, plot_patch):
116116
plot_path = path.join(plot_path, "fit_dataset_combined")
117117

118118
assert path.join(plot_path, "subplot_residual_map.png") in plot_patch.paths
119-
assert (
120-
path.join(plot_path, "subplot_chi_squared_map.png") not in plot_patch.paths
121-
)
119+
assert path.join(plot_path, "subplot_chi_squared_map.png") not in plot_patch.paths
122120

123121

124122
def test__visualize_fit_regions_combined(fit_ci_7x7, plot_path, plot_patch):
@@ -135,9 +133,7 @@ def test__visualize_fit_regions_combined(fit_ci_7x7, plot_path, plot_patch):
135133

136134
plot_path = path.join(plot_path, "fit_dataset_combined")
137135

138-
assert (
139-
path.join(plot_path, "subplot_data_parallel_fpr.png") in plot_patch.paths
140-
)
136+
assert path.join(plot_path, "subplot_data_parallel_fpr.png") in plot_patch.paths
141137
assert (
142138
path.join(plot_path, "subplot_data_logy_parallel_fpr.png")
143139
not in plot_patch.paths

test_autocti/dataset_1d/model/test_visualizer_1d.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ def test__visualize_fit_combined(fit_1d_7, plot_path, plot_patch):
9999
plot_path = path.join(plot_path, "fit_dataset_combined")
100100

101101
assert path.join(plot_path, "subplot_residual_map.png") in plot_patch.paths
102-
assert (
103-
path.join(plot_path, "subplot_chi_squared_map.png") not in plot_patch.paths
104-
)
102+
assert path.join(plot_path, "subplot_chi_squared_map.png") not in plot_patch.paths
105103

106104

107105
def test__visualize_fit_region_combined(fit_1d_7, plot_path, plot_patch):
@@ -118,6 +116,5 @@ def test__visualize_fit_region_combined(fit_1d_7, plot_path, plot_patch):
118116

119117
assert path.join(plot_path, "subplot_residual_map_fpr.png") in plot_patch.paths
120118
assert (
121-
path.join(plot_path, "subplot_chi_squared_map_fpr.png")
122-
not in plot_patch.paths
119+
path.join(plot_path, "subplot_chi_squared_map_fpr.png") not in plot_patch.paths
123120
)

0 commit comments

Comments
 (0)