MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / set_fn_mode

Method set_fn_mode

Utility/Visualize/Matplotlib_Visualize.py:44–45  ·  view source on GitHub ↗
(cls, func: T.Callable[T.Concatenate[T_Mode, T_Input], T_Output], mode: T_Mode | T.Literal["default"])

Source from the content-addressed store, hash-verified

42
43 @classmethod
44 def set_fn_mode(cls, func: T.Callable[T.Concatenate[T_Mode, T_Input], T_Output], mode: T_Mode | T.Literal["default"]):
45 cls.func_mode[func.__name__] = mode
46
47 @classmethod
48 def get_fn_mode(cls, func: T.Callable[T.Concatenate[T_Mode, T_Input], T_Output]) -> T_Mode:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected