Skip to content

Commit ad52eb3

Browse files
authored
allow suspensions
1 parent 38cdf8e commit ad52eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matplotlib/pyplot/__init__.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@ var $builtinmodule = function(name) {
18051805

18061806
// import numpy
18071807
var CLASS_NDARRAY = "numpy.ndarray"; // maybe make identifier accessible in numpy module
1808-
return Sk.misceval.chain(Sk.importModule("numpy"), function(np) {
1808+
return Sk.misceval.chain(Sk.importModule("numpy", false, true), function(np) {
18091809
var ndarray_f = np['$d'].array.func_code;
18101810
var getitem_f = np['$d'][CLASS_NDARRAY]['__getitem__'].func_code;
18111811
var ndarray = Sk.misceval.callsim(np['$d'].array.func_code, new Sk.builtin.list([1,2,3,4]));

0 commit comments

Comments
 (0)