@classmethod
    def _register_override_method(cls, name, func):
        cls._custom_functions[name] = func
Register a new custom method like "plot_data"
dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py/CustomViewer._register_override_method