Have NonUniformImage test use GraphicsLayoutWidget not deprecated GraphicsWindow
This commit is contained in:
parent
45329aac51
commit
4fcea2762f
@ -48,7 +48,7 @@ def test_NonUniformImage_data_dimensions():
|
|||||||
|
|
||||||
def test_NonUniformImage_lut():
|
def test_NonUniformImage_lut():
|
||||||
|
|
||||||
window = pg.GraphicsWindow()
|
window = pg.GraphicsLayoutWidget()
|
||||||
viewbox = pg.ViewBox()
|
viewbox = pg.ViewBox()
|
||||||
window.setCentralWidget(viewbox)
|
window.setCentralWidget(viewbox)
|
||||||
window.resize(200, 200)
|
window.resize(200, 200)
|
||||||
@ -78,7 +78,7 @@ def test_NonUniformImage_lut():
|
|||||||
|
|
||||||
def test_NonUniformImage_colormap():
|
def test_NonUniformImage_colormap():
|
||||||
|
|
||||||
window = pg.GraphicsWindow()
|
window = pg.GraphicsLayoutWidget()
|
||||||
viewbox = pg.ViewBox()
|
viewbox = pg.ViewBox()
|
||||||
window.setCentralWidget(viewbox)
|
window.setCentralWidget(viewbox)
|
||||||
window.resize(200, 200)
|
window.resize(200, 200)
|
||||||
|
Loading…
Reference in New Issue
Block a user