File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
include CHANGELOG INSTALL
2
- include TODO CONTRIBUTING.md
2
+ include CONTRIBUTING.md
3
3
include Makefile MANIFEST.in
4
4
include matplotlibrc.template setup.cfg.template
5
5
include setupext.py setup.py distribute_setup.py
Original file line number Diff line number Diff line change 3
3
PYTHON = ` which python `
4
4
VERSION = ` ${PYTHON} setup.py --version`
5
5
6
- DISTFILES = API_CHANGES KNOWN_BUGS INSTALL README TODO license \
6
+ DISTFILES = API_CHANGES KNOWN_BUGS INSTALL README license \
7
7
CHANGELOG Makefile INTERACTIVE \
8
8
MANIFEST.in lib lib/matplotlib lib/dateutil lib/pytz examples setup.py
9
9
49
49
50
50
51
51
test-coverage :
52
- ${PYTHON} tests.py --with-coverage --cover-package=matplotlib
52
+ ${PYTHON} tests.py --with-coverage --cover-package=matplotlib
53
53
54
54
Original file line number Diff line number Diff line change @@ -125,13 +125,13 @@ def _create_qApp():
125
125
"""
126
126
Only one qApp can exist at a time, so check before creating one.
127
127
"""
128
- if QtWidgets .QApplication .startingUp ():
128
+ global qApp
129
+
130
+ if qApp is None :
129
131
if DEBUG :
130
132
print ("Starting up QApplication" )
131
- global qApp
132
133
app = QtWidgets .QApplication .instance ()
133
134
if app is None :
134
-
135
135
# check for DISPLAY env variable on X11 build of Qt
136
136
if hasattr (QtGui , "QX11Info" ):
137
137
display = os .environ .get ('DISPLAY' )
You can’t perform that action at this time.
0 commit comments