@@ -1058,13 +1058,16 @@ def finish_show_polar(self, iviewer):
10581058 kwargs ['length' ] = 2
10591059 self .axis .tick_params (** kwargs )
10601060
1061- self .axis .tick_params (bottom = True , top = True , which = 'major' , length = 8 )
1062- self .axis .tick_params (bottom = True , top = True , which = 'minor' , length = 2 )
1061+ self .axis .tick_params (
1062+ bottom = True , top = True , which = 'major' , length = 8 )
1063+ self .axis .tick_params (
1064+ bottom = True , top = True , which = 'minor' , length = 2 )
10631065
10641066 # Do not allow the axis to autoscale, which could happen if
10651067 # overlays are drawn out-of-bounds
10661068 self .axis .autoscale (False )
1067- self .axis .set_ylabel (r'$\phi$ [deg]' , fontsize = 15 , family = 'serif' )
1069+ self .axis .set_ylabel (
1070+ r'$\phi$ [deg]' , fontsize = 15 , family = 'serif' )
10681071 self .axis .label_outer ()
10691072 else :
10701073 rescale_image = False
@@ -1144,6 +1147,7 @@ def finish_show_polar(self, iviewer):
11441147 # Update the xlabel in case it was modified (via tth distortion)
11451148 self .axis .set_xlabel (self .polar_xlabel , fontsize = 15 , family = 'serif' )
11461149
1150+
11471151 if rescale_image :
11481152 self .axis .relim ()
11491153 self .axis .autoscale_view ()
@@ -1237,13 +1241,14 @@ def on_beam_energy_modified(self):
12371241 self .iviewer .instr .beam_energy = HexrdConfig ().beam_energy
12381242
12391243 @property
1240- def polar_x_axis_type (self ):
1244+ def polar_x_axis_type (self ):
12411245 return HexrdConfig ().polar_x_axis_type
12421246
12431247 def on_polar_x_axis_type_changed (self ):
12441248 # Update the x-label
12451249 self .azimuthal_integral_axis .set_xlabel (self .polar_xlabel ,
1246- fontsize = 15 , family = 'serif' )
1250+ fontsize = 15 , family = 'serif' )
1251+
12471252
12481253 # Still need to draw if the x-label was modified
12491254 self .draw_idle ()
0 commit comments