File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1041,7 +1041,7 @@ def finish_show_polar(self, iviewer):
10411041 self .axis .yaxis .set_major_locator (AutoLocator ())
10421042 self .axis .yaxis .set_minor_locator (AutoMinorLocator ())
10431043
1044- self .axis .xaxis .set_major_locator (AutoLocator ( ))
1044+ self .axis .xaxis .set_major_locator (PolarXAxisTickLocator ( self ))
10451045 self .axis .xaxis .set_minor_locator (AutoMinorLocator ())
10461046
10471047 kwargs = {
@@ -1102,7 +1102,7 @@ def finish_show_polar(self, iviewer):
11021102 axis .yaxis .set_major_locator (AutoLocator ())
11031103 axis .yaxis .set_minor_locator (AutoMinorLocator ())
11041104
1105- axis .xaxis .set_major_locator (AutoLocator ( ))
1105+ axis .xaxis .set_major_locator (PolarXAxisTickLocator ( self ))
11061106 axis .xaxis .set_minor_locator (AutoMinorLocator ())
11071107
11081108 # change property of ticks
@@ -1149,10 +1149,6 @@ def finish_show_polar(self, iviewer):
11491149 kwargs ['which' ] = 'both'
11501150 kwargs ['axis' ] = 'x'
11511151 axis .grid (** kwargs )
1152-
1153- # Set our custom tick locators as well
1154- # self.axis.xaxis.set_major_locator(PolarXAxisTickLocator(self))
1155- # axis.xaxis.set_major_locator(PolarXAxisTickLocator(self))
11561152 else :
11571153 self .update_azimuthal_integral_plot ()
11581154 axis = self .azimuthal_integral_axis
You can’t perform that action at this time.
0 commit comments