Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c725cd

Browse files
committed
Merged revisions 7989,7991 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_99_maint ........ r7989 | mdboom | 2009-11-30 12:24:49 -0500 (Mon, 30 Nov 2009) | 1 line Fix SF-2903596 on the 0.99.x branch ........ r7991 | mdboom | 2009-11-30 13:30:09 -0500 (Mon, 30 Nov 2009) | 2 lines Fix bug in usage of "contains" ........ svn path=/trunk/matplotlib/; revision=7996
1 parent 50fc548 commit 0c725cd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/event_handling/looking_glass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def onpress(self, event):
2424
if event.inaxes!=ax:
2525
return
2626

27-
if not circ.contains(event):
27+
if not circ.contains(event)[0]:
2828
return
2929

3030
self.pressevent = event

setupext.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122
'backend': None}
123123

124124
defines = [
125-
('PY_ARRAY_UNIQUE_SYMBOL', 'MPL_ARRAY_API'),
126-
('PYCXX_ISO_CPP_LIB', '1')]
125+
('PY_ARRAY_UNIQUE_SYMBOL', 'MPL_ARRAY_API'),
126+
('PYCXX_ISO_CPP_LIB', '1')]
127127

128128
# Based on the contents of setup.cfg, determine the build options
129129
if os.path.exists("setup.cfg"):
@@ -1123,7 +1123,7 @@ def build_ttconv(ext_modules, packages):
11231123
'ttconv/ttutil.cpp']
11241124

11251125
module = Extension('matplotlib.ttconv', deps,
1126-
define_macros=defines)
1126+
define_macros=defines)
11271127
add_base_flags(module)
11281128
ext_modules.append(module)
11291129
BUILT_TTCONV = True

0 commit comments

Comments
 (0)