Skip to content

[Bug]: wx backend can be easily hung #23972

@oscargus

Description

@oscargus

Bug summary

This is one simple way to get the wx backend to hang. (Qt does not hang for reference.) Not very common use case, but may indicate some other issue?

Code for reproduction

In an ipython shell (probably similar elsewhere)

%matplotlib wx
import matplotlib.pyplot as plt
plt.gcf()

Click zoom button (does not toggle)

plt.gca()

Actual outcome

It hangs.

Expected outcome

It should ideally not hang.

Additional information

No response

Operating system

CentOS 7

Matplotlib Version

Latest main branch

Matplotlib Backend

wx

Python version

3.9.13 (IPython 7.33.0)

Jupyter version

No response

Installation

git checkout

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