Skip to content

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

Closed
wants to merge 6 commits into from
Closed

Fixed rendering of ticks in error bars #17468

wants to merge 6 commits into from

Conversation

drorata
Copy link
Contributor

@drorata drorata commented Sep 7, 2017

@codecov
Copy link

codecov bot commented Sep 7, 2017

Codecov Report

Merging #17468 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Flag Coverage Δ
#multiple 89.03% <ø> (ø) ⬆️
#single 40.31% <ø> (-0.06%) ⬇️
Impacted Files Coverage Δ
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/frame.py 97.75% <0%> (-0.1%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aed9b92...0289098. Read the comment docs.

@drorata
Copy link
Contributor Author

drorata commented Sep 8, 2017

How did this change changed the coverage?

@drorata
Copy link
Contributor Author

drorata commented Sep 11, 2017

Any feedback on this PR would be appreciated...

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Sep 11, 2017

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?

@drorata
Copy link
Contributor Author

drorata commented Sep 11, 2017

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.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Sep 11, 2017 via email

@drorata
Copy link
Contributor Author

drorata commented Sep 11, 2017

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.

@TomAugspurger
Copy link
Contributor

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?

@drorata
Copy link
Contributor Author

drorata commented Sep 11, 2017

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.

@pep8speaks
Copy link

Hello @drorata! Thanks for updating the PR.

Line 113:80: E501 line too long (80 > 79 characters)

@jorisvandenbossche
Copy link
Member

@drorata It seems something went wrong with the latest update, as there is now some unrelated code in the diff.

@drorata
Copy link
Contributor Author

drorata commented Oct 20, 2017

As per @TomAugspurger comment I guess this PR should be closed and not merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error bars not rendered correctly
5 participants