Skip to content

Commit 92b5ed0

Browse files
committed
Merge pull request matplotlib#3724 from ianthomas23/duplicate_import_array
MNT : Remove duplicate import_array() call
2 parents 4501faf + 662436c commit 92b5ed0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/_image_wrapper.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -764,8 +764,6 @@ PyMODINIT_FUNC init_image(void)
764764
INITERROR;
765765
}
766766

767-
import_array();
768-
769767
if (!PyImage_init_type(m, &PyImageType)) {
770768
INITERROR;
771769
}

0 commit comments

Comments
 (0)