Skip to content

Commit

Permalink
qt5 to qt
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Peter committed Nov 12, 2023
1 parent 0a07259 commit c7f38bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spyder_kernels/console/tests/test_console_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ def test_locals_globals_in_pdb(kernel):


@flaky(max_runs=3)
@pytest.mark.parametrize("backend", [None, 'inline', 'tk', 'qt5'])
@pytest.mark.parametrize("backend", [None, 'inline', 'tk', 'qt'])
@pytest.mark.skipif(
os.environ.get('USE_CONDA') != 'true',
reason="Doesn't work with pip packages")
Expand Down
4 changes: 2 additions & 2 deletions spyder_kernels/utils/mpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Mapping of matlotlib backends options to Spyder
MPL_BACKENDS_TO_SPYDER = {
inline_backend: "inline",
'Qt5Agg': 'qt5',
'Qt5Agg': 'qt',
'QtAgg': 'qt', # For Matplotlib 3.5+
'TkAgg': 'tk',
'MacOSX': 'osx',
Expand All @@ -31,7 +31,7 @@
def automatic_backend():
"""Get Matplolib automatic backend option."""
if is_module_installed('PyQt5'):
auto_backend = 'qt5'
auto_backend = 'qt'
elif is_module_installed('_tkinter'):
auto_backend = 'tk'
else:
Expand Down

0 comments on commit c7f38bb

Please sign in to comment.