File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11include CHANGELOG INSTALL
2- include TODO CONTRIBUTING.md
2+ include CONTRIBUTING.md
33include Makefile MANIFEST.in
44include matplotlibrc.template setup.cfg.template
55include setupext.py setup.py distribute_setup.py
Original file line number Diff line number Diff line change 33PYTHON = ` which python `
44VERSION = ` ${PYTHON} setup.py --version`
55
6- DISTFILES = API_CHANGES KNOWN_BUGS INSTALL README TODO license \
6+ DISTFILES = API_CHANGES KNOWN_BUGS INSTALL README license \
77 CHANGELOG Makefile INTERACTIVE \
88 MANIFEST.in lib lib/matplotlib lib/dateutil lib/pytz examples setup.py
99
4949
5050
5151test-coverage :
52- ${PYTHON} tests.py --with-coverage --cover-package=matplotlib
52+ ${PYTHON} tests.py --with-coverage --cover-package=matplotlib
5353
5454
Original file line number Diff line number Diff line change @@ -125,13 +125,13 @@ def _create_qApp():
125125 """
126126 Only one qApp can exist at a time, so check before creating one.
127127 """
128- if QtWidgets .QApplication .startingUp ():
128+ global qApp
129+
130+ if qApp is None :
129131 if DEBUG :
130132 print ("Starting up QApplication" )
131- global qApp
132133 app = QtWidgets .QApplication .instance ()
133134 if app is None :
134-
135135 # check for DISPLAY env variable on X11 build of Qt
136136 if hasattr (QtGui , "QX11Info" ):
137137 display = os .environ .get ('DISPLAY' )
You can’t perform that action at this time.
0 commit comments