From 0979b3e1a4214fe5f8ab85329befa0668dd68e25 Mon Sep 17 00:00:00 2001 From: Moritz-Alexander-Kern Date: Tue, 19 Sep 2023 10:21:35 +0200 Subject: [PATCH] remove .join method since it was deprecated for view objects with matplotlib>3.7.3 --- viziphant/unitary_event_analysis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/viziphant/unitary_event_analysis.py b/viziphant/unitary_event_analysis.py index 4390cfa..c5a86bb 100644 --- a/viziphant/unitary_event_analysis.py +++ b/viziphant/unitary_event_analysis.py @@ -228,7 +228,8 @@ def plot_ue(spiketrains, Js_dict, significance_level=0.05, fig, axes = plt.subplots(nrows=6, sharex=True, figsize=plot_params['figsize']) - axes[5].get_shared_y_axes().join(axes[0], axes[2], axes[5]) + axes[5].sharey(axes[0]) + axes[0].sharey(axes[2]) for ax in (axes[0], axes[2], axes[5]): for n in range(n_neurons):