Skip to content

Reprounzip and missing font when trying to plot a figure using Matplotlib #391

Open
@milech

Description

@milech

Running reprounzip directory run folder with unpacked code that plots a figure using matplotlib causes the following exception to be thrown:

findfont: Generic family 'sans-serif' not found because none of the following families were found: DejaVu Sans, Bitstream Vera Sans, Computer Modern Sans Serif, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
findfont: Font family ['DejaVu Sans'] not found. Falling back to DejaVu Sans.
Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled.

No font was specified, so I assume it should use the default one.

Matplotlib==3.6.2
Python==3.9.15

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