Skip to content

Commit d2cba84

Browse files
committed
Merge pull request #408 from mdboom/issue408
Small issue with hist (probably in mac os x backend)
2 parents 561c92c + af9c4d7 commit d2cba84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes.py

+2
Original file line numberDiff line numberDiff line change
@@ -7792,6 +7792,8 @@ def hist(x, bins=10, range=None, normed=False, weights=None,
77927792
p.update(kwargs)
77937793
if lbl is not None: p.set_label(lbl)
77947794

7795+
p.set_snap(False)
7796+
77957797
for p in patch[1:]:
77967798
p.update(kwargs)
77977799
p.set_label('_nolegend_')

0 commit comments

Comments
 (0)