Have test_svg use GraphicsLayoutWidget not the Deprecated GraphicsWindow
This commit is contained in:
parent
4fcea2762f
commit
d14a90112c
@ -14,7 +14,7 @@ def test_plotscene():
|
||||
tempfilename = tempfile.NamedTemporaryFile(suffix='.svg').name
|
||||
print("using %s as a temporary file" % tempfilename)
|
||||
pg.setConfigOption('foreground', (0,0,0))
|
||||
w = pg.GraphicsWindow()
|
||||
w = pg.GraphicsLayoutWidget()
|
||||
w.show()
|
||||
p1 = w.addPlot()
|
||||
p2 = w.addPlot()
|
||||
|
Loading…
Reference in New Issue
Block a user