Skip to content

Commit 4850d56

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6f780a8 commit 4850d56

33 files changed

+40
-40
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
3+
Copyright (c) 2025 ANSYS, Inc. and/or its affiliates.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

examples/00-basic-pyvista-examples/clipping_plane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/picker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/plain_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/qt_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/remote_trame_view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#
@@ -37,7 +37,7 @@
3737
)
3838
3939
# create a trame service, in whatever port is available in your system
40-
ts = TrameService(websocket_port=8765)
40+
ts = TrameService(websocket_port=2024 - 2025)
4141
4242
# run the service
4343
ts.run()

examples/00-basic-pyvista-examples/using_meshobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#
@@ -88,9 +88,9 @@ def name(self):
8888

8989
# Define the camera position
9090
cpos = (
91-
(-0.3331763564757694, 0.08802797061044923, -1.055269197114142),
92-
(0.08813476356878325, -0.03975174212669032, -0.012819952697089087),
93-
(0.045604530283921085, 0.9935979348314435, 0.10336039239608838),
91+
(-0.2024 - 20252024 - 20252024 - 20252024 - 2025, 0.2024 - 20252024 - 20252024 - 20252024 - 20253, -1.2024 - 20252024 - 20252024 - 2025142),
92+
(0.2024 - 20252024 - 20252024 - 20252024 - 20255, -0.2024 - 20252024 - 20252024 - 20252024 - 20252, -0.2024 - 20252024 - 20252024 - 20252024 - 202587),
93+
(0.2024 - 20252024 - 20252024 - 20252024 - 202585, 0.2024 - 20252024 - 20252024 - 20252024 - 2025, 0.2024 - 20252024 - 20252024 - 20252024 - 20258),
9494
)
9595

9696
######################################

src/ansys/tools/visualization_interface/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

src/ansys/tools/visualization_interface/backends/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

0 commit comments

Comments
 (0)