-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix empty plot with drawstyle="steps" #9997
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
Conversation
@timhoffm Can you add a test so this doesn't break in the future? Could probably just check that the call doesn't error... |
@timhoffm Does this make it through to
|
Yes it does. I've intentionally only added unit tests for the |
Ok I’m not sure what the testing philosophy is/should be. To me if it broke once it’ll break again and having a test will stop that. If you can make the test a non-image test I don’t think it takes very long. |
The things that was broken, were the Unfortunately, every axes instantiation is quite slow #6664. For a single plot, this doesn't take too long, but it really adds up for several thousand tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not going to hold it up on the testing point.
Just to carry on this discussion: to me, its the user-facing features that need to keep working. Someone could decide to do away with |
I think the test is fine. |
Fixes #9597 as suggested there in the comments.