From abcc4345d02b67d7732761def459b7786d7e8a38 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Wed, 7 Oct 2026 18:13:08 +0200 Subject: [PATCH] Update x-axis label visibility handling in multiplot Replace set_xticklabels with tick_params to hide x-axis labels. --- src/solarpy/plotting/multiplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solarpy/plotting/multiplot.py b/src/solarpy/plotting/multiplot.py index 7077c92..ea82461 100644 --- a/src/solarpy/plotting/multiplot.py +++ b/src/solarpy/plotting/multiplot.py @@ -680,7 +680,7 @@ def multiplot(times, data, meta, horizon=None, google_api_key=None, figsize=(24, ) # remove xticklabels of the top figure if the bottom figure is plotted if ii == 1: - axes["sun1"].set_xticklabels(None) + axes["sun1"].tick_params(axis="x", labelbottom=False) axes["sun1"].set_xlabel(None) if horizon is not None: axes["sun2"].get_legend().remove()