Skip to content

Commit

Permalink
remove .join method since it was deprecated for view objects with mat…
Browse files Browse the repository at this point in the history
…plotlib>3.7.3
  • Loading branch information
Moritz-Alexander-Kern committed Sep 19, 2023
1 parent 0d89a8b commit 0979b3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion viziphant/unitary_event_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0979b3e

Please sign in to comment.