# Click events python offline

**URL:** <https://community.plotly.com/t/click-events-python-offline/1027>\
**Category:** 📊 Plotly Python\
**Created:** [May 13, 2016, 1:09pm UTC](https://community.plotly.com/t/click-events-python-offline/1027 "2016-05-13T13:09:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghtmtt](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/ghtmtt/32/51_2.png) [@ghtmtt](https://community.plotly.com/u/ghtmtt)\
**Post date:** [May 13, 2016, 1:09pm UTC](https://community.plotly.com/t/click-events-python-offline/1027/1 "2016-05-13T13:09:14Z")

</div>

HI all,

I read about click events of the python API.

I will try to be as clear as possible.

I’m developing a plugin in QGIS ([http://qgis.org/en/site/](http://qgis.org/en/site/)) that will take the attributes of geographic data and use them as input for some plotly charts.

What I need is to know if it is possible to have a “back signal” of the points (or lines or whatever) selected with the _lazo selection button_.

I’m trying to create a _dinamic response_ between QGIS map canvas and the html file produced by plotly. So that the user can select points on the plot and they will be selected also on the map canvas (and viceversa).

One idea is to use the lazo selection and get some information (point unique ID for example) and re-inject it so that QGIS will display the selected points on the map canvas.

Is there any chance to obtain a kind of signal of the plots selection and use it?

Thanks to all

Cheers
