You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible can you simplify this to Matplotlib with no dates, no pandas, and maybe the latest release? I think fill-between may have had some work recently. Thanks!
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Activity
jklymak commentedon Feb 3, 2021
If possible can you simplify this to Matplotlib with no dates, no pandas, and maybe the latest release? I think fill-between may have had some work recently. Thanks!
jklymak commentedon Feb 3, 2021
For instance if I do:
I get what I think you are trying to do, so I'm guessing this is actually to do with how you are using pandas (but I could certainly be wrong):
mankoff commentedon Feb 3, 2021
Yes this works with the extra code you've provided:
yy = y; yy[y<0] = 0.Thanks for the push to simplify the bug. It is an NaN bug, and I think this should work with NaNs, although replacing NaNs with 0 is not a big burden.
The above code generates the first graphic: https://user-images.githubusercontent.com/145117/106748570-46cc4480-65da-11eb-8e38-83e2d4e02fc2.png
[-]fill_between and step='post' off-by-one (off by 1)[/-][+]fill_between, step='post' and NaN[/+]mankoff commentedon Feb 8, 2021
See related: #15065 and #16635
github-actions commentedon Oct 4, 2023
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!