mirror of
https://github.com/Athemis/PyDSF.git
synced 2025-05-02 00:19:12 +00:00
Add pyqtgraph as submodule
This commit is contained in:
parent
f4c540a439
commit
ddb8394091
240 changed files with 50958 additions and 0 deletions
11
pyqtgraph/imageview/tests/test_imageview.py
Normal file
11
pyqtgraph/imageview/tests/test_imageview.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import pyqtgraph as pg
|
||||
import numpy as np
|
||||
|
||||
app = pg.mkQApp()
|
||||
|
||||
def test_nan_image():
|
||||
img = np.ones((10,10))
|
||||
img[0,0] = np.nan
|
||||
v = pg.image(img)
|
||||
app.processEvents()
|
||||
v.window().close()
|
Loading…
Add table
Add a link
Reference in a new issue