Skip to content

FEATURE: generate which doesn't overwrite existing #238

@andrzejnovak

Description

@andrzejnovak

I have a minor hassle when adding new tests and running

 --mpl-generate-path=tests/baseline

I overwrite all existing baseline images in my repo. I then have to sort through which are added, because usually the regenerated old tests are still the same visually, but are not identical hash-wise.

I would propose adding a

 --mpl-generate-missing=tests/baseline

Which would only generate new figures if the baseline is mising.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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