Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitf76f564

Browse files
committed
Merge pull request#2689 from pelson/offset_box_clipping_off
Disable offset box clipping by default.
2 parents38fd462 +800e5c9 commitf76f564

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎lib/matplotlib/offsetbox.py

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp