Is threre a way to interact with PythonView?

I am using matplotlib through PythonView, and try to do something respond to a mouse click, Is it possible?

I found the render() function will re-run after mouse drag in PythonView, if the render function can get some mouse information, it will also help:)

You would need to use matplotlib interactivity features: Interactive Figures — Matplotlib 3.4.1 documentation