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] Syntax to get colormap #991

Merged
merged 5 commits into from
May 20, 2024
Merged

Conversation

danibene
Copy link
Collaborator

Description

This PR aims to address failing checks such as https://github.com/neuropsychology/NeuroKit/actions/runs/9143576310/job/25140400276?pr=987 that seem to be caused by the current version of matplotlib being incompatible with the matplotlib.cm.get_cmap syntax.

Proposed Changes

I changed all instances of matplotlib.cm.get_cmap() to plt.get_cmap()

Checklist

  • I have read the CONTRIBUTING file.
  • My PR is targeted at the dev branch (and not towards the master branch).
  • I ran the CODE CHECKS on the files I added or modified and fixed the errors.
  • I have added the newly added features to News.rst (if applicable)

Copy link
Member

@DominiqueMakowski DominiqueMakowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thanks! Feel free to merge

@danibene danibene merged commit b3e3828 into neuropsychology:dev May 20, 2024
7 of 8 checks passed
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