Skip to content

Conversation

@garrettwrong
Copy link
Collaborator

Closes #940 by adding cutoff=None as a defaulted arg. This None setting does not plot horizontal and vertical lines.

Also Closes #1059 , tiny tox/flake CIT update.

@garrettwrong garrettwrong added enhancement New feature or request cleanup labels Dec 4, 2023
@garrettwrong garrettwrong self-assigned this Dec 4, 2023
@garrettwrong garrettwrong requested a review from j-c-c December 4, 2023 17:51
Copy link
Collaborator

@j-c-c j-c-c 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. Just one question.

Comment on lines +256 to +257
if cutoff is None:
cutoff = 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

This causes a divide by zero RuntimeWarning when computing the resolution below. I'm sure that's nothing new, but this is the default mode now. Do we want to prevent the warning in this case?

@garrettwrong garrettwrong deleted the cutoff_none branch December 4, 2023 20:38
@garrettwrong
Copy link
Collaborator Author

Oops, accidently typo'd a d instead of an f, will need to repush branch.

@garrettwrong garrettwrong mentioned this pull request Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants