File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -442,12 +442,12 @@ def update_edge(self, e):
442442
443443class MatplotlibGraphEditor (MatplotlibGraph ):
444444 def __init__ (self , * args , ** kwargs ):
445- super ().__init__ (* args , ** kwargs )
446-
447445 self .selected = None
448446 self .selected_artist = None
449447 self .dragging = False
450448
449+ super ().__init__ (* args , ** kwargs )
450+
451451 self .ax .figure .canvas .mpl_connect ('key_press_event' , self ._on_key )
452452 self .ax .figure .canvas .mpl_connect ('button_release_event' , self ._on_release )
453453 self .ax .figure .canvas .mpl_connect ('motion_notify_event' , self ._on_motion )
Original file line number Diff line number Diff line change @@ -66,5 +66,6 @@ def pythonize_ogdf(klass, name):
6666
6767cppyy .py .add_pythonization (pythonize_ogdf , "ogdf" )
6868cppyy .py .add_pythonization (pythonize_ogdf , "ogdf::internal" )
69+ cppyy .gbl .ogdf .LayoutStandards .setDefaultEdgeArrow (cppyy .gbl .ogdf .EdgeArrow .Undefined )
6970generate_GA_setters ()
7071wrap_getattribute (cppyy .gbl .ogdf )
You can’t perform that action at this time.
0 commit comments