Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba42f40

Browse files
tacaswelltimhoffm
andauthored
DOC: clarify inline comments
Co-authored-by: Tim Hoffmann <[email protected]>
1 parent 2b2ec2a commit ba42f40

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,8 @@ def __init__(self, name, canvas, x, y, button=None, key=None,
14011401
self.step = step
14021402
self.dblclick = dblclick
14031403

1404-
# super-init deferred to the end: callback errors if called before
1404+
# super-init is deferred to the end because it calls back on
1405+
# 'axes_enter_event', which requires a fully initialized event.
14051406
LocationEvent.__init__(self, name, canvas, x, y, guiEvent=guiEvent)
14061407

14071408
def __str__(self):

0 commit comments

Comments
 (0)