Merge pull request #302 from WayneTimer/fix-color-error
fix a color name error
This commit is contained in:
commit
fbff457168
@ -28,8 +28,8 @@ p1 = win.addPlot(title="Basic array plotting", y=np.random.normal(size=100))
|
|||||||
|
|
||||||
p2 = win.addPlot(title="Multiple curves")
|
p2 = win.addPlot(title="Multiple curves")
|
||||||
p2.plot(np.random.normal(size=100), pen=(255,0,0), name="Red curve")
|
p2.plot(np.random.normal(size=100), pen=(255,0,0), name="Red curve")
|
||||||
p2.plot(np.random.normal(size=110)+5, pen=(0,255,0), name="Blue curve")
|
p2.plot(np.random.normal(size=110)+5, pen=(0,255,0), name="Green curve")
|
||||||
p2.plot(np.random.normal(size=120)+10, pen=(0,0,255), name="Green curve")
|
p2.plot(np.random.normal(size=120)+10, pen=(0,0,255), name="Blue curve")
|
||||||
|
|
||||||
p3 = win.addPlot(title="Drawing with points")
|
p3 = win.addPlot(title="Drawing with points")
|
||||||
p3.plot(np.random.normal(size=100), pen=(200,200,200), symbolBrush=(255,0,0), symbolPen='w')
|
p3.plot(np.random.normal(size=100), pen=(200,200,200), symbolBrush=(255,0,0), symbolPen='w')
|
||||||
|
Loading…
Reference in New Issue
Block a user