Have NonUniformImage test use GraphicsLayoutWidget not deprecated GraphicsWindow

This commit is contained in:
Ogi Moore 2021-02-11 21:56:50 -08:00
parent 45329aac51
commit 4fcea2762f

View File

@ -48,7 +48,7 @@ def test_NonUniformImage_data_dimensions():
def test_NonUniformImage_lut():
window = pg.GraphicsWindow()
window = pg.GraphicsLayoutWidget()
viewbox = pg.ViewBox()
window.setCentralWidget(viewbox)
window.resize(200, 200)
@ -78,7 +78,7 @@ def test_NonUniformImage_lut():
def test_NonUniformImage_colormap():
window = pg.GraphicsWindow()
window = pg.GraphicsLayoutWidget()
viewbox = pg.ViewBox()
window.setCentralWidget(viewbox)
window.resize(200, 200)