-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG Fix for Issue #12565 - font size on secondary_y #16952
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
There may be other plotting methods that need testing.
Hello @Morgan243! Thanks for updating the PR.
Comment last updated on July 15, 2017 at 20:25 Hours UTC |
pandas/tests/plotting/test_frame.py
Outdated
@@ -2733,6 +2733,22 @@ def test_rcParams_bar_colors(self): | |||
barplot = pd.DataFrame([[1, 2, 3]]).plot(kind="bar") | |||
assert color_tuples == [c.get_facecolor() for c in barplot.patches] | |||
|
|||
@pytest.mark.parametrize('method', ['line', 'barh', 'bar']) | |||
def test_secondary_axis_font_size(self, method): | |||
df = (pd.DataFrame(np.random.randn(15, 2), |
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.
Can add comment with the github issue number here like # GH: 12565
Codecov Report
@@ Coverage Diff @@
## master #16952 +/- ##
==========================================
- Coverage 90.98% 90.97% -0.02%
==========================================
Files 161 161
Lines 49288 49292 +4
==========================================
- Hits 44846 44844 -2
- Misses 4442 4448 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #16952 +/- ##
==========================================
- Coverage 90.98% 90.97% -0.02%
==========================================
Files 161 161
Lines 49288 49292 +4
==========================================
- Hits 44846 44844 -2
- Misses 4442 4448 +6
Continue to review full report at Codecov.
|
doc/source/whatsnew/v0.21.0.txt
Outdated
@@ -166,7 +166,7 @@ I/O | |||
|
|||
Plotting | |||
^^^^^^^^ | |||
|
|||
- Bug in plotting methods using ``secondary_y`` and ``fontsize`` not setting secondary axes font size (:issue:`12565`) |
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.
"axis" not "axes" ?
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 agree, I think 'axis' is right
@Morgan243 : Ping when tests pass, and we will merge this! |
@gfyoung tests passed! |
Thanks @Morgan243 ! |
There may be other plotting methods that need testing.
git diff upstream/master -u -- "*.py" | flake8 --diff