8000 DOC: fixed references from qt4 to qt5 in test_backend_qt5 · nhmc/matplotlib@5f2a5ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f2a5ce

Browse files
committed
DOC: fixed references from qt4 to qt5 in test_backend_qt5
1 parent 75815d2 commit 5f2a5ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/tests/test_backend_qt5.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
@cleanup
3333
@knownfailureif(not HAS_QT)
3434
def test_fig_close():
35-
# force switch to the Qt4 backend
35+
# force switch to the Qt5 backend
3636
plt.switch_backend('Qt5Agg')
3737

38-
#save the state of Gcf.figs
38+
# save the state of Gcf.figs
3939
init_figs = copy.copy(Gcf.figs)
4040

4141
# make a figure using pyplot interface
@@ -53,7 +53,7 @@ def test_fig_close():
5353
def assert_correct_key(qt_key, qt_mods, answer):
5454
"""
5555
Make a figure
56-
Send a key_press_event event (using non-public, qt4 backend specific api)
56+
Send a key_press_event event (using non-public, qt5 backend specific api)
5757
Catch the event
5858
Assert sent and caught keys are the same
5959
"""

0 commit comments

Comments
 (0)
0