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

Skip to content

Commit 2bc67ef

Browse files
committed
fixed axes.scatter bug that circular symbol style is ignored
svn path=/branches/v0_98_5_maint/; revision=7229
1 parent 3a670b3 commit 2bc67ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5018,7 +5018,7 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
50185018

50195019
syms = { # a dict from symbol to (numsides, angle)
50205020
's' : (4,math.pi/4.0,0), # square
5021-
'o' : (20,3,0), # circle
5021+
'o' : (0,0,3), # circle
50225022
'^' : (3,0,0), # triangle up
50235023
'>' : (3,math.pi/2.0,0), # triangle right
50245024
'v' : (3,math.pi,0), # triangle down
@@ -5095,7 +5095,7 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
50955095
numsides, rotation = marker[0], marker[2]
50965096
sym = True
50975097

5098-
if marker[1] in (1,2):
5098+
if marker[1] in (1,2,3):
50995099
symstyle = marker[1]
51005100

51015101
else:

0 commit comments

Comments
 (0)