From eae32af0c7113a85262eb86a25bb554231a15807 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Sat, 18 Jan 2014 23:30:03 -0500 Subject: [PATCH] Added symbol to Legend example --- examples/Legend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Legend.py b/examples/Legend.py index 2cd982ea..f7841151 100644 --- a/examples/Legend.py +++ b/examples/Legend.py @@ -14,7 +14,7 @@ plt.addLegend() #l = pg.LegendItem((100,60), offset=(70,30)) # args are (size, offset) #l.setParentItem(plt.graphicsItem()) # Note we do NOT call plt.addItem in this case -c1 = plt.plot([1,3,2,4], pen='r', name='red plot') +c1 = plt.plot([1,3,2,4], pen='r', symbol='o', symbolPen='r', symbolBrush=0.5, name='red plot') c2 = plt.plot([2,1,4,3], pen='g', fillLevel=0, fillBrush=(255,255,255,30), name='green plot') #l.addItem(c1, 'red plot') #l.addItem(c2, 'green plot')