MeshPlotter.register_listener

MeshPlotter.register_listener(listener)[source]

Register a listener for pick events.

Parameters

listener (callable) – The handler for pick events.

Returns

None

Notes

For more information, see the docs of mpl_connect (1), and on event handling and picking (2).

References

1

https://matplotlib.org/api/backend_bases_api.html#matplotlib.backend_bases.FigureCanvasBase.mpl_connect

2

https://matplotlib.org/users/event_handling.html

Examples

#