Call python function when point is clicked on (jupyter notebook)

I’d like to click on a point (eg in a scatter plot), and have a function called with some id about the point, so I can print information (or make more plots) about the clicked data point, in a jupyter notebook. Is this possible, and if so are there any examples?

For example, it’d be helpful to be able to click on a point in this example (scroll to the “AINX_HUMAN interaction network”) and show additional information about the gene by calling a function with a signature like show_more_info(gene_name), in a (jupyter notebook) cell below the plotly plot.