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

Commit0622c25

Browse files
authored
Add comment to new method
1 parentc77e9d5 commit0622c25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎lib/matplotlib/offsetbox.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,6 +1502,7 @@ def __init__(self, ref_artist, use_blit=False):
15021502

15031503
@staticmethod
15041504
def_picker(artist,mouseevent):
1505+
# A custom picker to prevent dragging on mouse scroll events
15051506
return (artist.contains(mouseevent)andmouseevent.name!="scroll_event"), {}
15061507

15071508
# A property, not an attribute, to maintain picklability.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp