diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-16 10:19:17 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-21 13:20:15 +0200 |
| commit | 6389561fd75e80c69d7c83f6a87d988450a2e569 (patch) | |
| tree | 5cbb981cfc1f9f3f3124fbd06a81fd6944498e35 /examples/widgets/tetrix/tetrix.py | |
| parent | db52b6e6ec926f48679d091f7afa42f514b5e71c (diff) | |
Add a numpy overload for some functions taking lists of QPointF
Add functions taking x,y data in the form of numpy-vectors
(as common for matplotlib, etc) for:
QPainter::drawPoints()
QXYSeries::append(), QXYSeries::replace()
They are added as separate functions instead of overloads
since there is a restriction in that numpy arrays
cause an error:
FIXME Subscripted generics cannot be used with class and instance checks
when passed to other type check macros.
Task-number: PYSIDE-1540
Task-number: PYSIDE-1503
Change-Id: Ie1521ce19127bb0641fbdb4f7320a8707682724e
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/widgets/tetrix/tetrix.py')
0 files changed, 0 insertions, 0 deletions
