Skip to content

Commit 97810f4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 12de712 commit 97810f4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/source/user_guide/migration.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here is an example of how to do this:
2121
- PyVista code:
2222

2323
.. code-block:: python
24-
24+
2525
import pyvista as pv
2626
2727
# Create a pyvista mesh
@@ -93,7 +93,7 @@ With this, you can use the Ansys Tools Visualization Interface plotter to visual
9393
Customizing the PyVista backend
9494
-------------------------------
9595

96-
You can customize the backend of the Ansys Tools Visualization Interface plotter to enable or disable certain functionalities. For example,
96+
You can customize the backend of the Ansys Tools Visualization Interface plotter to enable or disable certain functionalities. For example,
9797
if you want to enable picking, you can do it as follows:
9898

9999
.. code-block:: python
@@ -112,7 +112,7 @@ if you want to enable picking, you can do it as follows:
112112
# Show the plotter
113113
pl.show()
114114
115-
If you want to go further and customize the backend even more, you can create your own backend by inheriting from the ``PyVistaBackendInterface`` class
115+
If you want to go further and customize the backend even more, you can create your own backend by inheriting from the ``PyVistaBackendInterface`` class
116116
and implementing the required methods. You can find more information about this in the backend documentation:
117117

118118
.. code-block:: python
@@ -158,12 +158,12 @@ although this may break existing functionality. You can find more information ab
158158

159159
Customize the picker or hover behavior
160160
--------------------------------------
161-
You can customize the picker of the Ansys Tools Visualization Interface plotter to decide what happens when an object is picked or hovered.
161+
You can customize the picker of the Ansys Tools Visualization Interface plotter to decide what happens when an object is picked or hovered.
162162
For example, if you want to print the name of the picked object, you can do it as described in the custom picker example.
163163

164164
Using PyVista Qt backend
165165
------------------------
166-
You can use the PyVista Qt backend with the Ansys Tools Visualization Interface plotter. To do this, you need to set the PyVista backend to Qt
166+
You can use the PyVista Qt backend with the Ansys Tools Visualization Interface plotter. To do this, you need to set the PyVista backend to Qt
167167
before creating the plotter. Here is an example of how to do this:
168168

169169
.. code-block:: python
@@ -175,7 +175,7 @@ before creating the plotter. Here is an example of how to do this:
175175
pl.backend.enable_widgets()
176176
pv_backend.scene.show()
177177
178-
With this, you can integrate the plotter into a PyQt or PySide application by disabling ``show_qt`` parameter.
178+
With this, you can integrate the plotter into a PyQt or PySide application by disabling ``show_qt`` parameter.
179179
You can find more information about this in the `PyVista documentation <https://qtdocs.pyvista.org/>`_.
180180

181181

0 commit comments

Comments
 (0)