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 9051b06

Browse filesBrowse files
committed
MNT: mark as not stale if not visible
If the draw is short-circuited because the tick is not visible mark it as not stale.
1 parent 3e69fa5 commit 9051b06
Copy full SHA for 9051b06

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-0
lines changed

‎lib/matplotlib/axis.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ def get_loc(self):
235235
@allow_rasterization
236236
def draw(self, renderer):
237237
if not self.get_visible():
238+
self.stale = False
238239
return
239240

240241
midPoint = mtransforms.interval_contains(self.get_view_interval(),

0 commit comments

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