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],