diff --git a/.buildinfo b/.buildinfo index 0accf64..3a6d71c 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file records the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 0c35bb87a8da9e7a56407be6afee609d +config: 63f864f1626403e69f7bb420aeefeeac tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/404.html b/404.html index fe37a43..2b4b950 100644 --- a/404.html +++ b/404.html @@ -7,7 +7,7 @@
-Examples
->>> import pyvista as pv
->>> from pyvistaqt import BackgroundPlotter
+>>> import pyvista as pv
+>>> from pyvistaqt import BackgroundPlotter
>>> plotter = BackgroundPlotter()
>>> _ = plotter.add_mesh(pv.Sphere())
@@ -774,8 +774,8 @@ MultiPlotter
Examples
->>> import pyvista as pv
->>> from pyvistaqt import MultiPlotter
+>>> import pyvista as pv
+>>> from pyvistaqt import MultiPlotter
>>> plotter = MultiPlotter()
>>> _ = plotter[0, 0].add_mesh(pv.Sphere())
diff --git a/genindex.html b/genindex.html
index 05e38f6..d1c644a 100644
--- a/genindex.html
+++ b/genindex.html
@@ -7,7 +7,7 @@
- Index — PyVistaQt 0.1.0.dev1+g866551d documentation
+ Index — PyVistaQt 0.1.0.dev1+g1d43a28 documentation
@@ -29,7 +29,7 @@
-
+
@@ -39,7 +39,7 @@
-
+
@@ -49,7 +49,7 @@
-
+
-
+
+
diff --git a/index.html b/index.html
index c1e2bda..438f457 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
- pyvistaqt — PyVistaQt 0.1.0.dev1+g866551d documentation
+ pyvistaqt — PyVistaQt 0.1.0.dev1+g1d43a28 documentation
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -51,7 +51,7 @@
-
+
-
+
+
@@ -479,8 +479,8 @@ Getting Started#
Create an instance of the pyvistaqt.BackgroundPlotter
and plot a
sphere.
-import pyvista as pv
-from pyvistaqt import BackgroundPlotter
+import pyvista as pv
+from pyvistaqt import BackgroundPlotter
sphere = pv.Sphere()
diff --git a/objects.inv b/objects.inv
index 3b99b15..bfd84ff 100644
--- a/objects.inv
+++ b/objects.inv
@@ -1,6 +1,6 @@
# Sphinx inventory version 2
# Project: PyVistaQt
-# Version: 0.1.0.dev1+g866551d
+# Version: 0.1.0.dev1+g1d43a28
# The remainder of this file is compressed using zlib.
xڭr0 `%s5ǢoiZǧ&ɪ!!0q{Y($Gݰ
diff --git a/py-modindex.html b/py-modindex.html
index 15babee..363467e 100644
--- a/py-modindex.html
+++ b/py-modindex.html
@@ -7,7 +7,7 @@
- Python Module Index — PyVistaQt 0.1.0.dev1+g866551d documentation
+ Python Module Index — PyVistaQt 0.1.0.dev1+g1d43a28 documentation
@@ -29,7 +29,7 @@
-
+
@@ -39,7 +39,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
-
+
+
diff --git a/search.html b/search.html
index dc2a881..5acfafd 100644
--- a/search.html
+++ b/search.html
@@ -6,7 +6,7 @@
- Search - PyVistaQt 0.1.0.dev1+g866551d documentation
+ Search - PyVistaQt 0.1.0.dev1+g1d43a28 documentation
@@ -28,7 +28,7 @@
-
+
@@ -38,7 +38,7 @@
-
+
@@ -51,7 +51,7 @@
-
+
-
+
+
diff --git a/usage.html b/usage.html
index 9f41f86..b23d774 100644
--- a/usage.html
+++ b/usage.html
@@ -8,7 +8,7 @@
- Usage — PyVistaQt 0.1.0.dev1+g866551d documentation
+ Usage — PyVistaQt 0.1.0.dev1+g1d43a28 documentation
@@ -30,7 +30,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -52,7 +52,7 @@
-
+
-
+
+
@@ -495,8 +495,8 @@ Background PlottingBackgroundPlotter object. This requires pyvistaqt
, but otherwise appears
and functions like a normal PyVista Plotter
instance. For example:
-import pyvista as pv
-from pyvistaqt import BackgroundPlotter
+import pyvista as pv
+from pyvistaqt import BackgroundPlotter
sphere = pv.Sphere()
@@ -512,8 +512,8 @@ Background Plotting#
The following example shows how to use an interface with multiple plotters. Each
plotter can be selected and functions like a normal PyVista Plotter
instance:
-import pyvista as pv
-from pyvistaqt import MultiPlotter
+import pyvista as pv
+from pyvistaqt import MultiPlotter
mp = MultiPlotter(nrows=2, ncols=2)
mp[0, 0].add_mesh(pv.Sphere())
@@ -527,22 +527,22 @@ Multiple Plotters#
The following example shows how to create a simple application that adds a
sphere to an empty plotting window.
-import sys
+import sys
# Setting the Qt bindings for QtPy
-import os
+import os
os.environ["QT_API"] = "pyqt5"
-from qtpy import QtWidgets
+from qtpy import QtWidgets
-import numpy as np
+import numpy as np
-import pyvista as pv
-from pyvistaqt import QtInteractor, MainWindow
+import pyvista as pv
+from pyvistaqt import QtInteractor, MainWindow
-class MyMainWindow(MainWindow):
+class MyMainWindow(MainWindow):
- def __init__(self, parent=None, show=True):
+ def __init__(self, parent=None, show=True):
QtWidgets.QMainWindow.__init__(self, parent)
# create the frame
@@ -574,7 +574,7 @@ Example PyQt5 PyVista QtInteractorif show:
self.show()
- def add_sphere(self):
+ def add_sphere(self):
""" add a sphere to the pyqt frame """
sphere = pv.Sphere()
self.plotter.add_mesh(sphere, show_edges=True)