Version 3.1.3
matplotlib
Fork me on GitHub

Changes for 0.61ΒΆ

canvas.connect is now deprecated for event handling.  use
mpl_connect and mpl_disconnect instead.  The callback signature is
func(event) rather than func(widget, event)