ansys-fluent-visualization 0.26.dev1__tar.gz → 0.27.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/AUTHORS +1 -1
  2. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/LICENSE +2 -2
  3. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/PKG-INFO +6 -5
  4. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/README.rst +1 -1
  5. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/pyproject.toml +12 -4
  6. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/__init__.py +1 -1
  7. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/post_objects/__init__.py +1 -1
  8. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/post_objects/check_in_notebook.py +2 -1
  9. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/post_objects/meta.py +3 -3
  10. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/post_objects/post_helper.py +1 -1
  11. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/post_objects/post_object_definitions.py +1 -1
  12. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/post_objects/post_objects_container.py +1 -1
  13. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/interface/post_objects/singleton_meta.py +1 -1
  14. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/__init__.py +2 -2
  15. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/base/__init__.py +1 -1
  16. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/base/renderer.py +1 -1
  17. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/config.py +3 -1
  18. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/containers.py +2 -1
  19. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/contour.py +1 -1
  20. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/graphics/__init__.py +1 -1
  21. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/graphics/graphics_objects.py +1 -1
  22. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/graphics/graphics_windows.py +2 -1
  23. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/graphics/graphics_windows_manager.py +1 -1
  24. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/graphics/pyvista/__init__.py +1 -1
  25. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/graphics/pyvista/renderer.py +2 -1
  26. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/graphics/single_qt_windows.py +2 -1
  27. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/matplotlib/__init__.py +1 -1
  28. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/plotter/__init__.py +1 -1
  29. ansys_fluent_visualization-0.27.0/src/ansys/fluent/visualization/plotter/matplotlib/__init__.py +21 -0
  30. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/plotter/matplotlib/renderer.py +1 -1
  31. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/plotter/plotter_objects.py +1 -1
  32. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/plotter/plotter_windows.py +1 -1
  33. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/plotter/plotter_windows_manager.py +1 -1
  34. ansys_fluent_visualization-0.27.0/src/ansys/fluent/visualization/plotter/pyvista/__init__.py +21 -0
  35. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/plotter/pyvista/renderer.py +1 -1
  36. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/post_data_extractor.py +1 -1
  37. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/pyvista/__init__.py +1 -1
  38. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/registrar.py +1 -1
  39. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/renderer.py +8 -5
  40. {ansys_fluent_visualization-0.26.dev1 → ansys_fluent_visualization-0.27.0}/src/ansys/fluent/visualization/visualization_windows_manager.py +1 -1
  41. ansys_fluent_visualization-0.26.dev1/src/ansys/fluent/visualization/plotter/matplotlib/__init__.py +0 -21
  42. ansys_fluent_visualization-0.26.dev1/src/ansys/fluent/visualization/plotter/pyvista/__init__.py +0 -21
@@ -9,4 +9,4 @@
9
9
  # submit a request.
10
10
  #
11
11
  #
12
- ANSYS, Inc.
12
+ Synopsys, Inc. and ANSYS, Inc.
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
3
+ Copyright (c) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  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
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansys-fluent-visualization
3
- Version: 0.26.dev1
3
+ Version: 0.27.0
4
4
  Summary: A python wrapper for ansys Fluent visualization
5
5
  License: MIT
6
6
  License-File: AUTHORS
@@ -9,7 +9,7 @@ Author: ANSYS, Inc.
9
9
  Author-email: ansys.support@ansys.com
10
10
  Maintainer: PyAnsys developers
11
11
  Maintainer-email: pyansys.maintainers@ansys.com
12
- Requires-Python: >=3.10,<3.14
12
+ Requires-Python: >=3.10,<3.15
13
13
  Classifier: Development Status :: 4 - Beta
14
14
  Classifier: License :: OSI Approved :: MIT License
15
15
  Classifier: Operating System :: OS Independent
@@ -18,12 +18,13 @@ Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
21
22
  Provides-Extra: interactive
22
23
  Provides-Extra: single-window
23
- Requires-Dist: ansys-fluent-core (>=0.39.dev0,<1.0)
24
+ Requires-Dist: ansys-fluent-core (>=0.35.0)
24
25
  Requires-Dist: importlib-metadata (>=4.0,<5.0) ; python_version < "3.9"
25
26
  Requires-Dist: matplotlib (>=3.6.0)
26
- Requires-Dist: pyside6 (>=6.8.1,<6.9.0) ; extra == "single-window"
27
+ Requires-Dist: pyside6 (>=6.8.1,<7.0.0) ; extra == "single-window"
27
28
  Requires-Dist: pyvista (>=0.44.0)
28
29
  Requires-Dist: pyvistaqt (>=0.11.1,<0.12.0) ; extra == "interactive" or extra == "single-window"
29
30
  Project-URL: Documentation, https://visualization.fluent.docs.pyansys.com/
@@ -92,7 +93,7 @@ the project support team, email `pyansys.core@ansys.com <pyansys.core@ansys.com>
92
93
  Installation
93
94
  ------------
94
95
  The ``ansys-fluent-visualization`` package supports Python 3.10 through Python
95
- 3.13 on Windows and Linux.
96
+ 3.14 on Windows and Linux.
96
97
 
97
98
  If you are using Python 3.10, download and install the wheel file for the ``vtk`` package from
98
99
  `here for Windows <https://github.com/pyvista/pyvista-wheels/raw/main/vtk-9.1.0.dev0-cp310-cp310-win_amd64.whl>`_
@@ -58,7 +58,7 @@ the project support team, email `pyansys.core@ansys.com <pyansys.core@ansys.com>
58
58
  Installation
59
59
  ------------
60
60
  The ``ansys-fluent-visualization`` package supports Python 3.10 through Python
61
- 3.13 on Windows and Linux.
61
+ 3.14 on Windows and Linux.
62
62
 
63
63
  If you are using Python 3.10, download and install the wheel file for the ``vtk`` package from
64
64
  `here for Windows <https://github.com/pyvista/pyvista-wheels/raw/main/vtk-9.1.0.dev0-cp310-cp310-win_amd64.whl>`_
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
5
5
  [tool.poetry]
6
6
  # Check https://python-poetry.org/docs/pyproject/ for all available sections
7
7
  name = "ansys-fluent-visualization"
8
- version = "0.26.dev1"
8
+ version = "0.27.0"
9
9
  description = "A python wrapper for ansys Fluent visualization"
10
10
  license = "MIT"
11
11
  authors = ["ANSYS, Inc. <ansys.support@ansys.com>"]
@@ -23,13 +23,13 @@ packages = [
23
23
  ]
24
24
 
25
25
  [tool.poetry.dependencies]
26
- python = ">=3.10,<3.14"
26
+ python = ">=3.10,<3.15"
27
27
  importlib-metadata = {version = "^4.0", python = "<3.9"}
28
- ansys-fluent-core = "~=0.39.dev0"
28
+ ansys-fluent-core = ">=0.35.0"
29
29
  pyvista = ">=0.44.0"
30
30
  matplotlib = ">=3.6.0"
31
31
  pyvistaqt = { version = "~=0.11.1", optional = true }
32
- pyside6 = { version = "~=6.8.1", optional = true }
32
+ pyside6 = { version = ">=6.8.1,<7.0.0", optional = true }
33
33
 
34
34
  [tool.poetry.extras]
35
35
  interactive = ["pyvistaqt"]
@@ -77,3 +77,11 @@ skips = [
77
77
  "B604",
78
78
  "B607",
79
79
  ]
80
+
81
+ [tool.codespell]
82
+ skip = """
83
+ *.xml,
84
+ pyproject.toml,
85
+ CODE_OF_CONDUCT.md,
86
+ """
87
+ ignore-words = "doc/styles/config/vocabularies/ANSYS/accept.txt"
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -21,6 +21,7 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  """Provides a module to check if the library is being used in a Jupyter environment."""
24
+
24
25
  import warnings
25
26
 
26
27
  from ansys.fluent.core import PyFluentDeprecationWarning
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -271,7 +271,7 @@ class PyLocalPropertyMeta(PyLocalBaseMeta):
271
271
  self._api_helper = api_helper(self)
272
272
  self._parent = parent
273
273
  self._on_change_cbs = []
274
- annotations = self.__class__.__dict__.get("__annotations__")
274
+ annotations = getattr(self.__class__, "__annotations__", {}) or {}
275
275
  if isinstance(getattr(self.__class__, "value", None), property):
276
276
  value_annotation = annotations.get("_value")
277
277
  else:
@@ -718,10 +718,10 @@ class PyLocalContainer(MutableMapping):
718
718
 
719
719
  def __init__(self, parent, object_class, api_helper, name=""):
720
720
  """Initialize the 'PyLocalContainer' object."""
721
+ self._local_collection = {}
721
722
  self._parent = parent
722
723
  self._name = name
723
724
  self.__object_class = object_class
724
- self._local_collection = {}
725
725
  self.__api_helper = api_helper
726
726
  self.type = "named-object"
727
727
  self._command_names = []
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -27,7 +27,7 @@ try:
27
27
  except ModuleNotFoundError:
28
28
  import importlib_metadata
29
29
 
30
- _VERSION_INFO = "Build date: March 09, 2026 09:39 UTC ShaID: dd39002"
30
+ _VERSION_INFO = None
31
31
  __version__ = importlib_metadata.version(__name__.replace(".", "-"))
32
32
 
33
33
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -19,7 +19,9 @@
19
19
  # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
+
22
23
  """Configuration variables for visualization."""
24
+
23
25
  from enum import Enum
24
26
  import os
25
27
  import warnings
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -21,6 +21,7 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  """Containers for graphics."""
24
+
24
25
  import warnings
25
26
 
26
27
  from ansys.fluent.core.field_data_interfaces import _to_field_name_str
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -21,6 +21,7 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  """A wrapper to improve the user interface of graphics."""
24
+
24
25
  import ansys.fluent.visualization as pyviz
25
26
  from ansys.fluent.visualization.graphics import graphics_windows_manager
26
27
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -21,6 +21,7 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  """Module for pyVista windows management."""
24
+
24
25
  import numpy as np
25
26
  import pyvista as pv
26
27
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -19,6 +19,7 @@
19
19
  # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  # SOFTWARE.
22
+
22
23
  """Module defining qt single window to add graphics."""
23
24
 
24
25
  from PySide6.QtWidgets import (
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -0,0 +1,21 @@
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -0,0 +1,21 @@
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
+ # SPDX-License-Identifier: MIT
3
+ #
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -21,6 +21,7 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  """A wrapper to improve the user interface of graphics."""
24
+
24
25
  import warnings
25
26
 
26
27
  from ansys.fluent.interface.post_objects.post_object_definitions import (
@@ -90,8 +91,9 @@ class GraphicsWindow:
90
91
  """
91
92
  self._list_of_positions.append(position)
92
93
  if isinstance(graphics_obj._obj, GraphicsDefn):
93
- locals()["object"] = locals().pop("graphics_obj")
94
- self._graphics_objs.append({**locals()})
94
+ local_vars = locals().copy()
95
+ local_vars["object"] = local_vars.pop("graphics_obj")
96
+ self._graphics_objs.append(local_vars)
95
97
  else:
96
98
  warnings.warn("Only graphics objects are supported.")
97
99
 
@@ -115,8 +117,9 @@ class GraphicsWindow:
115
117
  """
116
118
  self._list_of_positions.append(position)
117
119
  if isinstance(plot_obj._obj, PlotDefn):
118
- locals()["object"] = locals().pop("plot_obj")
119
- self._graphics_objs.append({**locals()})
120
+ local_vars = locals().copy()
121
+ local_vars["object"] = local_vars.pop("plot_obj")
122
+ self._graphics_objs.append(local_vars)
120
123
  else:
121
124
  warnings.warn("Only 2D plot objects are supported.")
122
125
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
1
+ # Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
2
2
  # SPDX-License-Identifier: MIT
3
3
  #
4
4
  #
@@ -1,21 +0,0 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
2
- # SPDX-License-Identifier: MIT
3
- #
4
- #
5
- # Permission is hereby granted, free of charge, to any person obtaining a copy
6
- # of this software and associated documentation files (the "Software"), to deal
7
- # in the Software without restriction, including without limitation the rights
8
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- # copies of the Software, and to permit persons to whom the Software is
10
- # furnished to do so, subject to the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be included in all
13
- # copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- # SOFTWARE.
@@ -1,21 +0,0 @@
1
- # Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
2
- # SPDX-License-Identifier: MIT
3
- #
4
- #
5
- # Permission is hereby granted, free of charge, to any person obtaining a copy
6
- # of this software and associated documentation files (the "Software"), to deal
7
- # in the Software without restriction, including without limitation the rights
8
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- # copies of the Software, and to permit persons to whom the Software is
10
- # furnished to do so, subject to the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be included in all
13
- # copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- # SOFTWARE.