-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Fixed rendering of ticks in error bars #17468
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
Codecov Report
@@ Coverage Diff @@
## master #17468 +/- ##
==========================================
- Coverage 91.23% 91.21% -0.02%
==========================================
Files 163 163
Lines 50102 50102
==========================================
- Hits 45712 45703 -9
- Misses 4390 4399 +9
Continue to review full report at Codecov.
|
How did this change changed the coverage? |
Any feedback on this PR would be appreciated... |
In #17462 we're discussing changing the style to seaborn or matplotlib 2.0's new defaults. I think both of those also suppress the caps for error bars (by default). Any reason you want to explicitly add them? Just a style thing? |
Well, as is, the code in the example doesn't yield the rendered result. I had (using matplotlib 2.0 and ggplot/default style) to add the |
I think if you were to set `matplotlib.style.use('seaborn')` before making
the plot, you'll see the caps. But since we're changing the style used in
the docs, I don't think we need the changes here, unless I'm
misunderstanding something.
…On Mon, Sep 11, 2017 at 1:58 PM, Dror Atariah ***@***.***> wrote:
Well, as is, the code in the example doesn't yield the rendered result. I
had (using matplotlib 2.0 and ggplot/default style) to add the cap
related option. So this PR is mostly for the sake of correctness of the
documentation.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#17468 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIsLrdrL16Bo32Jmb2qUphX5yd1Icks5shYLGgaJpZM4PQRH->
.
|
If the change you plan will fix the rendered plot, then you're right. In any case, the current status where the rendered image is not yielded by the sample code is confusing. |
Yeah it's strange since those aren't static images, they're generated as the code runs. Maybe a version mismatch between your environment and the docs? Either way I think aesthetically the version without caps looks better. What do you think? |
Regarding the environment: could be... I failed to installed the environment as described here but this is a different story I guess. As for the aesthetic aspect --- I think the caps are crucial for faster and better perception of the error bars. |
Hello @drorata! Thanks for updating the PR.
|
@drorata It seems something went wrong with the latest update, as there is now some unrelated code in the diff. |
As per @TomAugspurger comment I guess this PR should be closed and not merged. |
git diff upstream/master -u -- "*.py" | flake8 --diff