Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1c7187

Browse files
committed
Fix bug in Axes.scatter to make scatter-star_poly.py demo work
svn path=/trunk/matplotlib/; revision=5422
1 parent dc61c66 commit b1c7187

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4602,7 +4602,7 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
46024602
verts /= rescale
46034603

46044604
collection = mcoll.PolyCollection(
4605-
verts, scales,
4605+
(verts,), scales,
46064606
facecolors = colors,
46074607
edgecolors = edgecolors,
46084608
linewidths = linewidths,

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def draw(self, renderer):
527527

528528
class BrokenBarHCollection(PolyCollection):
529529
"""
530-
A colleciton of horizontal bars spanning yrange with a sequence of
530+
A collection of horizontal bars spanning yrange with a sequence of
531531
xranges
532532
"""
533533
def __init__(self, xranges, yrange, **kwargs):

0 commit comments

Comments
 (0)