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

Polar tick fixes #9881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 1, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove extra polar tick resets.
These don't really seem to be necessary anymore with previous fixes.
  • Loading branch information
QuLogic committed Nov 29, 2017
commit 3b93255ea71e5a93b308a6e16bdab5b4b2768605
6 changes: 0 additions & 6 deletions 6 lib/matplotlib/projections/polar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,10 +1068,6 @@ def set_theta_direction(self, direction):
raise ValueError(
"direction must be 1, -1, clockwise or counterclockwise")
self._direction.invalidate()
# FIXME: Why is this needed? Even though the tick label gets
# re-created, the alignment is not correctly updated without a reset.
self.yaxis.reset_ticks()
self.yaxis.set_clip_path(self.patch)

def get_theta_direction(self):
"""
Expand Down Expand Up @@ -1128,8 +1124,6 @@ def set_rlabel_position(self, value):
The angular position of the radius labels in degrees.
"""
self._r_label_position.clear().translate(np.deg2rad(value), 0.0)
self.yaxis.reset_ticks()
self.yaxis.set_clip_path(self.patch)

def set_yscale(self, *args, **kwargs):
Axes.set_yscale(self, *args, **kwargs)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.