aboutsummaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/surface_numpy/surfacegraph.py
Commit message (Collapse)AuthorAgeFilesLines
* Python-3.10: Allow the new syntax for Python 3.9Christian Tismer2024-06-201-0/+1
| | | | | | | | Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <[email protected]>
* Examples: Add some missing slot decoratorsFriedemann Kleint2022-08-241-1/+13
| | | | | | | | | | As unearthed by the warnings added by the logging category. As a drive-by, fix some imports. Pick-to: 6.3 6.2 Task-number: PYSIDE-2033 Change-Id: I3812c705b60eb7be744c3532fcfb0e4024763885 Reviewed-by: Christian Tismer <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-05-271-39/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* QtDataVisualization: Add an example for using a numpy array directlyFriedemann Kleint2022-05-051-0/+278
| | | | | | Task-number: PYSIDE-1880 Change-Id: I41a72f1ebcfa5f62826bffe6db670695b248bc7a Reviewed-by: Christian Tismer <[email protected]>
* PySide6: Rename the surface_numpy to surface_model_numpyFriedemann Kleint2022-05-051-320/+0
| | | | | | | Task-number: PYSIDE-1880 Pick-to: 6.3 Change-Id: If7b9946578be4e32fc3b52d360b969e91e642ee3 Reviewed-by: Christian Tismer <[email protected]>
* Refactor the surface examplesFriedemann Kleint2022-04-291-73/+73
| | | | | | | | | | - Introduce a Window class to unclutter main.py - Port to snake case naming Task-number: PYSIDE-1880 Pick-to: 6.2 6.3 Change-Id: I433c48904ccc9adbafceb6d51c86f551e405a10e Reviewed-by: Christian Tismer <[email protected]>
* Add a surface example using numpy arraysFriedemann Kleint2022-04-201-0/+320
Demonstrate how to use numpy arrays in conjunction with a QAbstractTableModel to populate a surface graph. Task-number: PYSIDE-1880 Pick-to: 6.2 6.3 Change-Id: I4eeeea73c1ec1f63278d8d2cd6a740108a644d41 Reviewed-by: Christian Tismer <[email protected]>