Skip to content

Commit a43a2f9

Browse files
committed
MNT : Merge branch 'v1.4.x' back into master
2 parents 559c915 + 4ff936e commit a43a2f9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include CHANGELOG INSTALL
2-
include TODO CONTRIBUTING.md
2+
include CONTRIBUTING.md
33
include Makefile MANIFEST.in
44
include matplotlibrc.template setup.cfg.template
55
include setupext.py setup.py distribute_setup.py

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PYTHON = `which python`
44
VERSION = `${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

@@ -49,6 +49,6 @@ test:
4949

5050

5151
test-coverage:
52-
${PYTHON} tests.py --with-coverage --cover-package=matplotlib
52+
${PYTHON} tests.py --with-coverage --cover-package=matplotlib
5353

5454

lib/matplotlib/backends/backend_qt5.py

+3-3
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)