From 536a3493b32df21d01931de8ac592481db0cdb4b Mon Sep 17 00:00:00 2001
From: Julius <juliusflorstedt@gmail.com>
Date: Sun, 9 Feb 2025 19:55:07 +0100
Subject: [PATCH] lintfix2

---
 plot_serializer/matplotlib/axesproxy.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/plot_serializer/matplotlib/axesproxy.py b/plot_serializer/matplotlib/axesproxy.py
index 23b5316..9515496 100644
--- a/plot_serializer/matplotlib/axesproxy.py
+++ b/plot_serializer/matplotlib/axesproxy.py
@@ -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(
     self, color_list: Any, length: int, cmap: Any, norm: Any
 ) -> Tuple[List[str] | None, bool]:
-- 
GitLab