Skip to content

[Bug]: show(block=False) freezes #28324

Closed
@mrrezaie

Description

@mrrezaie

Bug summary

Hi, I know that this topic was addressed multiple times on stackoverflow.com, but nothing worked for me. I used to use this method for almost 5 years, but my recent new installation causes this issue. Any help is greatly appreciated.

Code for reproduction

import matplotlib.pyplot as plt 
plt.plot([1,2,3,5])
plt.show(block=False)

Actual outcome

A new empty and frozen window. Force closing this window interrupts my iPython console as well.

Expected outcome

A new working window, I could keep working with the iPython console.

Additional information

I installed pyqt6 for the backend.

Operating system

Windows 10 and 11

Matplotlib Version

3.9.0

Matplotlib Backend

qtagg

Python version

3.10.14

Jupyter version

iPython 8.24.0

Installation

pip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions