Skip to content
Snippets Groups Projects
Commit 536a3493 authored by Julius's avatar Julius
Browse files

lintfix2

parent 67468c38
No related branches found
No related tags found
3 merge requests!41Resolve "Refactor/Documentation?",!39Resolve "Refactor/Documentation",!37Resolve "Refactor/Documentation"
Pipeline #1610174 failed
...@@ -96,6 +96,14 @@ PLOTTING_METHODS = [ ...@@ -96,6 +96,14 @@ PLOTTING_METHODS = [
] ]
def inherit_and_extend_doc(base_class, method_name, additional_doc): # type: ignore
def decorator(func):
func.__doc__ = getattr(base_class, method_name).__doc__ + additional_doc
return func
return decorator
def _convert_matplotlib_color( def _convert_matplotlib_color(
self, color_list: Any, length: int, cmap: Any, norm: Any self, color_list: Any, length: int, cmap: Any, norm: Any
) -> Tuple[List[str] | None, bool]: ) -> Tuple[List[str] | None, bool]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment