99
1010from autoarray .inversion .mappers .abstract import Mapper
1111from autoarray .plot .array import plot_array
12- from autoarray .plot .utils import numpy_grid , numpy_lines , numpy_positions , subplot_save , hide_unused_axes
12+ from autoarray .plot .utils import numpy_grid , numpy_lines , numpy_positions , subplot_save , hide_unused_axes , conf_subplot_figsize
1313from autoarray .inversion .plot .mapper_plots import plot_mapper
1414from autoarray .structures .arrays .uniform_2d import Array2D
1515
@@ -20,7 +20,7 @@ def subplot_of_mapper(
2020 inversion ,
2121 mapper_index : int = 0 ,
2222 output_path : Optional [str ] = None ,
23- output_filename : str = "subplot_inversion " ,
23+ output_filename : str = "inversion " ,
2424 output_format : str = "png" ,
2525 colormap = None ,
2626 use_log10 : bool = False ,
@@ -53,7 +53,7 @@ def subplot_of_mapper(
5353 """
5454 mapper = inversion .cls_list_from (cls = Mapper )[mapper_index ]
5555
56- fig , axes = plt .subplots (3 , 4 , figsize = ( 28 , 21 ))
56+ fig , axes = plt .subplots (3 , 4 , figsize = conf_subplot_figsize ( 3 , 4 ))
5757 axes = axes .flatten ()
5858
5959 # panel 0: data subtracted
@@ -226,7 +226,7 @@ def subplot_mappings(
226226 inversion ,
227227 pixelization_index : int = 0 ,
228228 output_path : Optional [str ] = None ,
229- output_filename : str = "subplot_mappings " ,
229+ output_filename : str = "mappings " ,
230230 output_format : str = "png" ,
231231 colormap = None ,
232232 use_log10 : bool = False ,
@@ -273,7 +273,7 @@ def subplot_mappings(
273273 )
274274 mapper .slim_indexes_for_pix_indexes (pix_indexes = pix_indexes )
275275
276- fig , axes = plt .subplots (2 , 2 , figsize = ( 14 , 14 ))
276+ fig , axes = plt .subplots (2 , 2 , figsize = conf_subplot_figsize ( 2 , 2 ))
277277 axes = axes .flatten ()
278278
279279 # panel 0: data subtracted
0 commit comments