Thanks to visit codestin.com Credit goes to github.com
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 24cc7a7 commit 5a518d6Copy full SHA for 5a518d6
1 file changed
setupext.py
@@ -1124,12 +1124,13 @@ def build_gtkagg(ext_modules, packages):
1124
def build_tkagg(ext_modules, packages):
1125
global BUILT_TKAGG
1126
if BUILT_TKAGG: return # only build it if you you haven't already
1127
- deps = ['src/_tkagg.cpp']
+ deps = ['src/agg_py_transforms.cpp', 'src/_tkagg.cpp']
1128
deps.extend(glob.glob('CXX/*.cxx'))
1129
deps.extend(glob.glob('CXX/*.c'))
1130
1131
module = Extension('matplotlib.backends._tkagg',
1132
deps,
1133
+ define_macros=[('PY_ARRAY_UNIQUE_SYMBOL', 'MPL_ARRAY_API')]
1134
)
1135
1136
add_tk_flags(module) # do this first
0 commit comments