enthought / chaco

Chaco is a Python package for building interactive and custom 2-D plots.
http://docs.enthought.com/chaco/
Other
291 stars 101 forks source link

Fix `LegendHiglighter` hit detection #897

Closed corranwebster closed 1 year ago

corranwebster commented 1 year ago

This fixes Legend.get_label_at() to return the entire legend label region, including icon, which then allows LegendHightlighter to use the actual mouse position to perform it's hit detection.

Fixes #825