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 800e5c9

Browse filesBrowse files
committed
Disable offset box clipping by default.
1 parent 71c77f0 commit 800e5c9
Copy full SHA for 800e5c9

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+5
-0
lines changed

‎lib/matplotlib/offsetbox.py

Copy file name to clipboardExpand all lines: lib/matplotlib/offsetbox.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ def __init__(self, *args, **kwargs):
149149

150150
super(OffsetBox, self).__init__(*args, **kwargs)
151151

152+
# Clipping has not been implemented in the OffesetBox family, so
153+
# disable the clip flag for consistency. It can always be turned back
154+
# on to zero effect.
155+
self.set_clip_on(False)
156+
152157
self._children = []
153158
self._offset = (0, 0)
154159

0 commit comments

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