def _update_buttons_checked(self): NavigationToolbar2QTAgg._update_buttons_checked(self) self._actions['select'].setChecked(self._active == 'SELECT')