Skip to content

Commit

Permalink
make legend pickable again
Browse files Browse the repository at this point in the history
  • Loading branch information
3ll3d00d committed Sep 29, 2023
1 parent 44c331c commit fbad4c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/python/model/magnitude.py
Expand Up @@ -301,6 +301,7 @@ def __make_legend(self):
self.__legend = self.__primary.make_legend(lines, ncol)
lined = dict()
for legline, origline in zip(self.__legend.get_lines(), lines):
legline.set_picker(True)
legline.set_pickradius(5) # 5 pts tolerance
lined[legline] = origline

Expand Down

0 comments on commit fbad4c8

Please sign in to comment.