fadf97c110034315cd2c52625182ec7dc3d63173,pandastable/handlers.py,DragHandler,on_release_event,#DragHandler#Any#,87
Before Change
fig = self.parent.fig
ax = fig.axes[0]
xy = (event.xdata, event.ydata)
xyax = fig.transFigure.inverted().transform(xy)
print (xyax)
//xy = (event.x, event.y)
//if annotation object moved we record new coords
if isinstance(self.dragged, Annotation):
After Change
xy = bbdata[0][0],bbdata[0][1]
d["xy"] = xy
print (inv.transform((4,3)))
print (xy)
self.dragged = None
return True
def key_press_event(self, event):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: dmnfarrell/pandastable
Commit Name: fadf97c110034315cd2c52625182ec7dc3d63173
Time: 2016-02-19
Author: farrell.damien@gmail.com
File Name: pandastable/handlers.py
Class Name: DragHandler
Method Name: on_release_event
Project Name: tyarkoni/pliers
Commit Name: 1e53e30be7b37e7687d1f98d24ab81f1a871f589
Time: 2020-03-31
Author: rbrrcc@gmail.com
File Name: pliers/tests/extractors/test_text_extractors.py
Class Name:
Method Name: test_bert_sequence_extractor
Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 37f1544cb19794294029aa64e7b119b69ef09f51
Time: 2018-11-20
Author: contact@againstthecurrent.ch
File Name: category_encoders/basen.py
Class Name: BaseNEncoder
Method Name: fit
Project Name: lmcinnes/pynndescent
Commit Name: 3452cdbe9f0a964f22c5c4ea6aeb8c026af040d3
Time: 2020-09-07
Author: leland.mcinnes@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name: PyNNDescentTransformer
Method Name: fit_transform