From 35715e2826975f85f5b354dbf98a27e7421dc534 Mon Sep 17 00:00:00 2001 From: Krishna Anandan Date: Thu, 22 Aug 2024 18:54:46 -0500 Subject: [PATCH] fix: resolving lint errors --- example/py-shiny/example_pyshiny_reactive_scatter.py | 1 + maidr/patch/histogram.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/example/py-shiny/example_pyshiny_reactive_scatter.py b/example/py-shiny/example_pyshiny_reactive_scatter.py index 294c477..71ecba7 100644 --- a/example/py-shiny/example_pyshiny_reactive_scatter.py +++ b/example/py-shiny/example_pyshiny_reactive_scatter.py @@ -41,6 +41,7 @@ def create_reactivebarplot(): ax.set_xlabel(input.x_var().replace("_", " ").title()) ax.set_ylabel(input.y_var().replace("_", " ").title()) # Hello return s_plot + output.reactivebarplot = render_maidr(create_reactivebarplot) diff --git a/maidr/patch/histogram.py b/maidr/patch/histogram.py index 0787328..da4e60a 100644 --- a/maidr/patch/histogram.py +++ b/maidr/patch/histogram.py @@ -14,9 +14,7 @@ @wrapt.patch_function_wrapper(Axes, "hist") -def mpl_hist( - wrapped, _, args, kwargs -) -> tuple[ +def mpl_hist(wrapped, _, args, kwargs) -> tuple[ np.ndarray | list[np.ndarray], np.ndarray, BarContainer | Polygon | list[BarContainer | Polygon],