You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plt.hist(l_n, bins=20, edgecolor='w') works fine, so are you asking that this be the default? I'd not particularly support that. On the other hand maybe a hist.edgecolor rcparam could be considered (I didn't see one, though you can patch.force_edgecolor.
#patch.edgecolor : black ## if forced, or patch is not filled
#patch.force_edgecolor : False ## True to always use edgecolor
achieves what I am looking for.
So... do you think this feature should be included in matplotlib (either with a new parameter hist.edgecolor or a change in patch.force_edgecolor or with another solution)?
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!
Activity
jklymak commentedon Nov 24, 2018
plt.hist(l_n, bins=20, edgecolor='w')works fine, so are you asking that this be the default? I'd not particularly support that. On the other hand maybe ahist.edgecolorrcparam could be considered (I didn't see one, though you canpatch.force_edgecolor.anntzer commentedon Nov 24, 2018
Discussed #12493 as well.
rosgori commentedon Nov 25, 2018
Yes, I agree with you that
edgecolor='w'might not be the best option.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
hist.edgecoloror a change inpatch.force_edgecoloror with another solution)?timhoffm commentedon Nov 25, 2018
I agree that bars in histograms should be visually separate. The current default behavior is not good.
A hard coded default
edgecolor='w'can break styles.Rcparams
patch.edgecolorandpatch.force_edgecolorare too global in their scope.Therefore a
hist.edgecolorrcparam is the reasonable way to go.github-actions commentedon Nov 3, 2023
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!