Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: KeyError: 'PolyCollection:kwdoc' during pyplot import #28531

Closed
@GrigoriiTarasov

Description

@GrigoriiTarasov

Bug summary

import matplotlib.pyplot as pltValueError                                Traceback (most recent call last)File ~/mambaforge/envs/boosting_mle/lib/python3.11/site-packages/matplotlib/_docstring.py:57, in _ArtistKwdocLoader.__missing__(self, key)File ~/mambaforge/envs/boosting_mle/lib/python3.11/site-packages/matplotlib/_docstring.py:60, in _ArtistKwdocLoader.__missing__(self, key)     57     cls, = [cls for cls in _api.recursive_subclasses(Artist)     58             if cls.__name__ == name]     59 except ValueError as e:---> 60     raise KeyError(key) from e     61 return self.setdefault(key, kwdoc(cls))KeyError: 'PolyCollection:kwdoc'

Code for reproduction

condalist|grepmatplotmatplotlib3.8.4py311h06a4308_0matplotlib-base3.8.4py311ha02d727_0matplotlib-inline0.1.7pyhd8ed1ab_0
import matplotlib.pyplot as plt

and

import matplotlibbackend_name = 'agg' matplotlib.use(backend_name)print(matplotlib.get_backend())import matplotlib.pyplot as plt
### Actual outcomeplt not imported### Expected outcome`import matplotlib.pyplot as plt `works### Additional information_No response_### Operating systemUbuntu### Matplotlib Version3.8.4### Matplotlib Backendagg, module://matplotlib_inline.backend_inline### Python version3.11### Jupyter version4.0.11 ### Installationconda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp