Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Model card generation fails due to image too large #282

Description

@hanneshapke

Expected Behavior

Model card generation fails due to the histogram to large.

Actual Behavior

_draw_histogram calls figure_to_base64str.
The method calls fig.savefig(buf, bbox_inches='tight', format='png')

The save fails with

ValueError: Image size of 6440035x455 pixels is too large. It must be less than 2^16 in each direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds more infoFurther information is requested

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions