Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] remove .join in plot_ue function #72

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Conversation

Moritz-Alexander-Kern
Copy link
Contributor

@Moritz-Alexander-Kern Moritz-Alexander-Kern commented Sep 19, 2023

Wit release of matplotlib 3.8.0 the join method for sharing axis was removed.

This PR fixes the shared y-axes in the plot_ue function, by following the recommendation to use Axes.sharey() instead.

This change was also implemented in the corresponding UE tutorial in Elephant, see: NeuralEnsemble/elephant#596

See: https://matplotlib.org/3.8.0/api/prev_api_changes/api_changes_3.8.0.html#removals
Modifications to the Groupers returned by get_shared_x_axes and get_shared_y_axes are no longer allowed. Note that previously, calling e.g. join() would already fail to set up the correct structures for sharing axes; use Axes.sharex or Axes.sharey instead.

@Moritz-Alexander-Kern Moritz-Alexander-Kern merged commit ded5fd2 into master Nov 8, 2023
11 checks passed
@Moritz-Alexander-Kern Moritz-Alexander-Kern deleted the fix/plot_ue branch April 4, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants