Skip to content

[Bug]: 3.6.0 doesn't interact well with pycharm throwing "backend_interagg" exception #23911

@ucfbrd

Description

@ucfbrd

Bug summary

While using Pycharm and matplotlib 3.6.0 as soon as we import matplotlib, the interpreter crash

Code for reproduction

import matplotlib.pyplot as plt
plt.figure(1)

Actual outcome

    canvas_class = backend_mod.FigureCanvas
AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'

Expected outcome

same thing works with version 3.5.2

Additional information

No response

Operating system

No response

Matplotlib Version

3.6.0

Matplotlib Backend

module://backend_interagg

Python version

3.8

Jupyter version

No response

Installation

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions