I’m not sure what you want to accomplish exactly, but this example contains some code about interacting with an embedded matplotlib canvas:
https://github.com/wxGlade/wxGlade/tree/master/examples/matplotlib3
The most interesting code for you is probably init_events() in matplotlib_example.py
Regards,
Dietmar
