-
Notifications
You must be signed in to change notification settings - Fork 18
Hotfix: bar labels cause limit to reset for unaffected axis. #413
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
Hotfix: bar labels cause limit to reset for unaffected axis. #413
Conversation
2867e89 to
7bc099d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Hmm had a look at this for a while and I am not really understanding how the xlimits are set. For |
2f38a92 to
46c2f29
Compare
|
The difference on the plot is minor some shifting but everything else looks ok. |
beckermr
left a comment
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 don't understand the pr given the description. The other axis is still reset. Can you update the description for me so I can understand better why is going on?
|
Done |
|
Great. I will draft a release and bump the number. |
Closes #412
This PR addresses an issue where limits are reset when adding bar labels in a loop (see #412). The issue occurs because the
bar_labelsexpects that the bar are in a container which will set the range on all the bars. This PR fixes this by consideringdataLimdirectly rather than theBarContainer.