-
Notifications
You must be signed in to change notification settings - Fork 282
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
fixed bug with rstrip #382
Conversation
Again, I'm unsure as to how to test this properly. |
If it doesn't mess up any of the histograms in tests/Charts.ipynb, and fixes the problem in #337, I'd say that we have probably tested it sufficiently. In the long run, we might be able to automate some of the testing for histograms using https://matplotlib.org/devel/testing.html#writing-an-image-comparison-test. |
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.
The core fix looks good, but let's clean up the extra stuff that also got added with it in this pull request.
Made all the fixes - thanks for the assist! |
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.
Looks great!
[No] Wrote test for feature
[X] Added changes in the Changelog section in README.md
[X] Bumped version number (delete if unneeded)
Changes proposed:
Fixed the bug as described in #338. Was caused as a side-effect of using rstrip which will truncate a set of characters from the back of a string rather than a substring - causing a label like "proportion" to get truncated to "proporti" because "i" was the first letter not in the set of characters " ,c,o,u,n,t".