Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3b93255

Browse filesBrowse files
committed
Remove extra polar tick resets.
These don't really seem to be necessary anymore with previous fixes.
1 parent ed2e97f commit 3b93255
Copy full SHA for 3b93255

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed

‎lib/matplotlib/projections/polar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/projections/polar.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,10 +1068,6 @@ def set_theta_direction(self, direction):
10681068
raise ValueError(
10691069
"direction must be 1, -1, clockwise or counterclockwise")
10701070
self._direction.invalidate()
1071-
# FIXME: Why is this needed? Even though the tick label gets
1072-
# re-created, the alignment is not correctly updated without a reset.
1073-
self.yaxis.reset_ticks()
1074-
self.yaxis.set_clip_path(self.patch)
10751071

10761072
def get_theta_direction(self):
10771073
"""
@@ -1128,8 +1124,6 @@ def set_rlabel_position(self, value):
11281124
The angular position of the radius labels in degrees.
11291125
"""
11301126
self._r_label_position.clear().translate(np.deg2rad(value), 0.0)
1131-
self.yaxis.reset_ticks()
1132-
self.yaxis.set_clip_path(self.patch)
11331127

11341128
def set_yscale(self, *args, **kwargs):
11351129
Axes.set_yscale(self, *args, **kwargs)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.