X Tutup
Skip to content

From matplotlib.font_manager, ImportError: cannot import name get_font #8168

@premier424

Description

@premier424

I met an error when using pyplot in matplotlib. In matplotlib/backends, there is from matplotlib.font_manager import findfont get_font. When I build and run the code, there shows the error:
ImportError: cannot import name get_font

From current documentation of font_manager on matplorlib website, there is no get_font module introduced but it was used in the source code of matplotlib. There are few similar errors reporting online so I'm wondering is this a version problem of python or matlibplot but I'm not quite clear about this. Please give me some advices. The python version is 2.7.6 and matplotlib version is 2.0.0. Thanks.

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

      X Tutup