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

BF: prevent conversion of lower y-axis limit to -inf #15

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

adswa
Copy link
Collaborator

@adswa adswa commented Mar 3, 2020

If velocities are plotted in logspace, a lower limit of 0
would be transformed to -inf - which results in a pyplot
warning and y-axis limits to be ignored. This sets the
default lower limit to 1, warns if it encounteres a lower
limit of 0 and sets it to 1 instead.

Fixes #14.

If velocities are plotted in logspace, a lower limit of 0
would be transformed to -inf - which results in a pyplot
warning and y-axis limits to be ignored. This sets the
default lower limit to 1, warns if it encounteres a lower
limit of 0 and sets it to 1 instead.
@adswa
Copy link
Collaborator Author

adswa commented Mar 3, 2020

ping @mih because you are not watching this repo.

@adswa
Copy link
Collaborator Author

adswa commented Jul 21, 2020

merging this.

@adswa adswa merged commit 483d4fa into psychoinformatics-de:master Jul 21, 2020
@adswa adswa deleted the bf-ylims branch July 21, 2020 09:23
@adswa
Copy link
Collaborator Author

adswa commented Jul 21, 2020

(we need to keep in mind to add this to a changelog in a future release @mih)

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.

Invalid y limits
1 participant