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

Remove top level import of matplotlib in utils.py #12

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

tylerbrunette
Copy link
Contributor

import statements have been added to the PSD and PeakLockedTF classes
as these were the only classes using matplotlib that did not already
include all required import statements

These changes allow importing tensorpac without having matplotlib installed. An import error will only occur when you attempt to use one of the plotting functions in utils.py instead of immediately on module import.

import statements have been added to the PSD and PeakLockedTF classes
as these were the only classes using matplotlib that did not already
include all required import statements
@EtienneCmb
Copy link
Owner

Hi @tylerbrunette, sorry for the (very) delayed answer. Thanks for the edits :)

@EtienneCmb EtienneCmb merged commit a623b86 into EtienneCmb:master Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants