-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Feature request: show bars in plt.hist #12874
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
Comments
|
Discussed #12493 as well. |
Yes, I agree with you that Besides, I didn't know that a change in these two lines matplotlib/matplotlibrc.template Lines 107 to 108 in bd7829d
achieves what I am looking for. So... do you think this feature should be included in matplotlib (either with a new parameter |
I agree that bars in histograms should be visually separate. The current default behavior is not good. A hard coded default Rcparams Therefore a |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
Feature request
Summary
With the new style of plotting (after version 1.5), you cannot distinguish the bars on
plt.hist
. Take for example the old way:Unfortunately, I cannot upload images. Nevertheless, you can see the bars. Now, this:
You only see the silhouette of the histogram, not the bars. An easy way to solve this:
edgecolor='w'
would be the default option (I would prefer white because it looks good with all the styles). What do you think?By the way, if you want to compare with other software, I think all of them show bars. And a quick search shows...
Matplotlib version
print(matplotlib.get_backend())
): Qt5AggThe text was updated successfully, but these errors were encountered: