-
Notifications
You must be signed in to change notification settings - Fork 701
[BUG] fix absolute errorbar #1579
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
errorbar yerr needs to be always positive in the new matplotlib versions Relates to: sktime#1571 sktime#1145
That's great! Looking forward to it. Looking forward to updating the new version! |
Thanks!!!You solve my problem! |
Just updated from main to make it easy to merge (if anyone reviews it) |
你好,您的邮件我已经收到了哦!
|
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.
Hey @MartinoMensio
Nice catch😊, will merge once all tests are passing.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1579 +/- ##
=======================================
Coverage ? 86.75%
=======================================
Files ? 46
Lines ? 5301
Branches ? 0
=======================================
Hits ? 4599
Misses ? 702
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
This PR fixes an issue that occurrs when
max_prediction_length=1
: new matplotlib versions do not allow negative yerr in the errorbar, resulting inValueError: 'yerr' must not contain negative values
.See related issues for full stack traces.
I tested the fix locally and everything seems fine
fixes #1145
Checklist
max_prediction_length=1
#1571 plot_prediction errorbar error #1145pre-commit install
.To run hooks independent of commit, execute
pre-commit run --all-files
Make sure to have fun coding!