We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a825c commit 7b6e48aCopy full SHA for 7b6e48a
README.md
@@ -20,7 +20,19 @@ ndv.imshow(data)
20
21

22
23
-## `NDViewer`
+As an alternative to `ndv.imshow()`, you can instantiate the `ndv.NDViewer` (`QWidget` subclass) directly
24
+
25
+```python
26
+from qtpy.QtWidgets import QApplication
27
+from ndv import NDViewer
28
29
+app = QApplication([])
30
+viewer = NDViewer(data)
31
+viewer.show()
32
+app.exec()
33
+```
34
35
+## `ndv.NDViewer`
36
37
- supports arbitrary number of dimensions, with 2D/3D view canvas, and sliders for all non-visible dims
38
- sliders support integer as well as slice (range)-based slicing
0 commit comments