Closed
Description
Bug report
Bug summary
Figure options when using the qt backend are a bit broken.
Code for reproduction
First, using qtconsole (launched with jupyter qtconsole
):
Jupyter QtConsole 4.8.0.dev0
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: %matplotlib qt5
In [2]: from matplotlib.pyplot import plot
In [3]: plot([1, 2, 4])
Out[3]: [<matplotlib.lines.Line2D at 0x22b15172988>]
In [4]:
From here, click on the figure to open "Figure options".
- Windows doesn't recognise this as a real window. When I click on the taskbar (The bar with the start menu) the figure window is shown but not the "Figure options" window.
Then go back to the console (without closing the window) and type anything, for example:
In [4]: import sys
In [5]:
Come back to the "Figure options" window and click "ok". The figure is now frozen.
A similar problem can be replicated by using ipython (launched with "ipython"):
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: %matplotlib qt5
In [2]: from matplotlib.pyplot import plot
In [3]: plot([1, 2, 4])
Out[3]: [<matplotlib.lines.Line2D at 0x1d7e8f2d7c8>]
In [4]:
When the "Figure options" window is open, I can't type any code in the console.
Actual outcome
# If applicable, paste the console output here
#
#
Expected outcome
Matplotlib version
- Operating system: Windows 10
- Matplotlib version: '3.3.2'
- Matplotlib backend (
print(matplotlib.get_backend())
): Qt5Agg - Python version: 3.7.6
- Jupyter version (if applicable):
- Other libraries:
conda