def METHOD_NAME(self, axis: Optional[int]) -> None:
    if axis == self._active_axis or not self._shader:
        return
    if axis:
        self._shader.setUniformValue("u_activeColor", self._axis_color_map.get(axis, Color()))
    else:
        self._shader.setUniformValue("u_activeColor", self._disabled_axis_color)
    self._active_axis = axis
    self._scene.sceneChanged.emit(self)