MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _mpl_buttons

Method _mpl_buttons

lib/matplotlib/backends/backend_qt.py:418–422  ·  view source on GitHub ↗
(buttons)

Source from the content-addressed store, hash-verified

416
417 @staticmethod
418 def _mpl_buttons(buttons):
419 buttons = _to_int(buttons)
420 # State *after* press/release.
421 return {button for mask, button in FigureCanvasQT.buttond.items()
422 if _to_int(mask) & buttons}
423
424 @staticmethod
425 def _mpl_modifiers(modifiers=None, *, exclude=None):

Callers 1

mouseMoveEventMethod · 0.95

Calls 1

_to_intFunction · 0.85

Tested by

no test coverage detected