Skip to content

Commit c76c669

Browse files
committed
test_matplotlib_export: Add import numpy to intro code
Numpy 2.0 changes scalar repr: https://numpy.org/neps/nep-0051-scalar-representation.html
1 parent a958d9f commit c76c669

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Orange/widgets/tests/test_matplotlib_export.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
def add_intro(a):
1313
r = "import matplotlib.pyplot as plt\n" + \
14+
"import numpy as np\n" + \
1415
"from numpy import array\n" + \
1516
"plt.clf()"
1617
return r + a

0 commit comments

Comments
 (0)