File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -2144,7 +2144,6 @@ def get_extension(self):
21442144 ]
21452145
21462146 ext = make_extension ('matplotlib.backends._macosx' , sources )
2147- Numpy ().add_flags (ext )
21482147 ext .extra_link_args .extend (['-framework' , 'Cocoa' ])
21492148 return ext
21502149
Original file line number Diff line number Diff line change 22#include < ApplicationServices/ApplicationServices.h>
33#include < sys/socket.h>
44#include < Python.h>
5- #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
6- #include " numpy/arrayobject.h"
7- #include " path_cleanup.h"
85
96#define PYOSINPUTHOOK_REPETITIVE 1 /* Remove this once Python is fixed */
107
@@ -3218,7 +3215,6 @@ void init_macosx(void)
32183215#endif
32193216{
32203217 PyObject *module;
3221- import_array ();
32223218
32233219 if (PyType_Ready (&FigureCanvasType) < 0
32243220 || PyType_Ready (&FigureManagerType) < 0
You can’t perform that action at this time.
0 commit comments