@@ -1239,37 +1239,12 @@ def render_polar(self):
12391239 self .axis .autoscale (False )
12401240 self .axis .set_ylabel (r'$\eta$ [deg]' , ** self .label_kwargs_polar_y )
12411241 self .axis .label_outer ()
1242-
1243- self .update_mask_boundaries (self .axis )
1244- self .update_mask_highlights (self .axis )
1245-
1246- # Get the "tth" vector
1247- angular_grid = self .iviewer .angular_grid
1248- tth = np .degrees (angular_grid [1 ][0 ])
1249-
1250- if self .azimuthal_integral_axis is None :
1251- axis = self .figure .add_subplot (grid [3 , 0 ], sharex = self .axis )
1252- data = (tth , self .compute_azimuthal_integral_sum ())
1253- unscaled = (tth , self .compute_azimuthal_integral_sum (False ))
1254- self .azimuthal_line_artist , = axis .plot (* data , '-k' , lw = 2.5 )
1255- HexrdConfig ().last_unscaled_azimuthal_integral_data = unscaled
1256-
1257- self .azimuthal_integral_axis = axis
1258- self .update_azimuthal_plot_overlays ()
1259- self .update_wppf_plot ()
1260-
1261- self ._setup_azimuthal_axis (axis )
1262- else :
1263- self .update_azimuthal_integral_plot ()
1264- axis = self .azimuthal_integral_axis
1265-
1266- # Update the xlabel in case it was modified (via tth distortion)
1267- self .update_azimuthal_axis_xlabel ()
12681242 else :
12691243 rescale_image = False
12701244 self .axes_images [0 ].set_data (img )
12711245
12721246 self .update_mask_boundaries (self .axis )
1247+ self .update_mask_highlights (self .axis )
12731248
12741249 # Get the "tth" vector
12751250 angular_grid = self .iviewer .angular_grid
0 commit comments