Skip to content

[Bug]: KeyError when hovering over interactive plot in ipython #29654

@lpilz

Description

@lpilz

Bug summary

When hovering over an interactive plot, multiple KeyError: 'buttons' messages fire.

Code for reproduction

import matplotlib.pyplot as plt
%matplotlib widget

plt.plot([1, 2, 3, 4])

Actual outcome

KeyError: 'buttons'

Image

Expected outcome

Hovering works without error

Additional information

No response

Operating system

No response

Matplotlib Version

3.10.0

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions