File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed
Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -376,14 +376,14 @@ def subplot_of_mapper(
376376 )
377377
378378 self .set_title (label = "Regularization Weights (Unzoomed)" )
379- # try:
380- self .figures_2d_of_pixelization (
381- pixelization_index = mapper_index ,
382- regularization_weights = True ,
383- zoom_to_brightest = False ,
384- )
385- # except IndexError:
386- # pass
379+ try :
380+ self .figures_2d_of_pixelization (
381+ pixelization_index = mapper_index ,
382+ regularization_weights = True ,
383+ zoom_to_brightest = False ,
384+ )
385+ except IndexError :
386+ pass
387387 self .set_title (label = None )
388388
389389 self .figures_2d_of_pixelization (
Original file line number Diff line number Diff line change @@ -134,16 +134,16 @@ def plot_source_from(
134134 auto_labels
135135 The labels given to the figure.
136136 """
137- try :
138- self .mat_plot_2d .plot_mapper (
139- mapper = self .mapper ,
140- visuals_2d = self .visuals_2d ,
141- auto_labels = auto_labels ,
142- pixel_values = pixel_values ,
143- zoom_to_brightest = zoom_to_brightest ,
144- interpolate_to_uniform = interpolate_to_uniform ,
145- )
146- except ValueError :
147- logger .info (
148- "Could not plot the source-plane via the Mapper because of a ValueError."
149- )
137+ # try:
138+ self .mat_plot_2d .plot_mapper (
139+ mapper = self .mapper ,
140+ visuals_2d = self .visuals_2d ,
141+ auto_labels = auto_labels ,
142+ pixel_values = pixel_values ,
143+ zoom_to_brightest = zoom_to_brightest ,
144+ interpolate_to_uniform = interpolate_to_uniform ,
145+ )
146+ # except ValueError:
147+ # logger.info(
148+ # "Could not plot the source-plane via the Mapper because of a ValueError."
149+ # )
You can’t perform that action at this time.
0 commit comments