Skip to content

[Bug]: Saving window no responding when I try to save a figure #24292

@SM6251

Description

@SM6251

Bug summary

When I try to save a figure plotted with matplotlib in iPython3 (Qt5Agg backend) I can not select other directory than the default one because the pop-up saving window is irresponsive, only save and cancel buttons work. This only happens when interative=True ( plt.ion() ) though. In a addition when I click on "save" I get the following warning:

Gtk-Message: 14:53:05.865: GtkDialog mapped without a transient parent. This is discouraged.

Code for reproduction

import matplotlib.pyplot as plt
plt.ion()
plt.plot((1,2,3,4,5))

Actual outcome

Gtk-Message: 14:53:05.865: GtkDialog mapped without a transient parent. This is discouraged.

Expected outcome

Not a frozen window

Additional information

No response

Operating system

Xubuntu

Matplotlib Version

3.3.4

Matplotlib Backend

Qt5Agg

Python version

Python 3.6.9

Jupyter version

No response

Installation

pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions