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 4507c9b

Browse filesBrowse files
committed
Merge pull request #2675 from mdboom/clip-only-when-clipping-is-on
clip_on = False does not work for x-axis
2 parents 7887018 + c8b4654 commit 4507c9b
Copy full SHA for 4507c9b

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-1
lines changed

‎lib/matplotlib/lines.py

Copy file name to clipboardExpand all lines: lib/matplotlib/lines.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,8 @@ def recache(self, always=False):
457457
if (self.axes and len(x) > 100 and self._is_sorted(x) and
458458
self.axes.name == 'rectilinear' and
459459
self.axes.get_xscale() == 'linear' and
460-
self._markevery is None):
460+
self._markevery is None and
461+
self.get_clip_on() is True):
461462
self._subslice = True
462463
if hasattr(self, '_path'):
463464
interpolation_steps = self._path._interpolation_steps

0 commit comments

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