8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2472b03 commit 4cf5ca8Copy full SHA for 4cf5ca8
tests/testapp/main.py
@@ -78,6 +78,9 @@
78
FixedSizeButton:
79
text: 'test ctypes'
80
on_press: app.test_ctypes()
81
+ FixedSizeButton:
82
+ text: 'test numpy'
83
+ on_press: app.test_numpy()
84
Widget:
85
size_hint_y: None
86
height: 1000
@@ -137,6 +140,12 @@ def test_pyjnius(self, *args):
137
140
def test_ctypes(self, *args):
138
141
import ctypes
139
142
143
+ def test_numpy(self, *args):
144
+ import numpy
145
+
146
+ print(numpy.zeros(5))
147
+ print(numpy.arange(5))
148
+ print(numpy.random.random((3, 3)))
149
150
151
TestApp().run()
0 commit comments