Skip to content

Support non-PNG extensions #48

Closed

Description

@jnothman

matplotlib's own image_comparison "decorator defaults to generating png, pdf and svg output, but in interest of keeping the size of the library from ballooning we should only include the svg or pdf outputs if the test is explicitly exercising a feature dependent on that backend." (from here).

Only supporting PNG seems very limiting, if not counter-intuitive.

Activity

  1. astrofrog commented on Mar 16, 2017

    @astrofrog
    Collaborator

    +1 to supporting other formats - my only limitation in implementing this has been time. If you have time to contribute fixes for this, that would be great!

  2. tacaswell commented on Mar 17, 2017

    @tacaswell
    Member

    I suspect much of the code for doing the other format -> png conversion so that these files can be compared can be directly copied from mpl.

  3. andrzejnovak commented on Nov 19, 2019

    @andrzejnovak

    Bump. Is anyone actively working on this? At least pdf?

  4. astrofrog commented on Nov 20, 2019

    @astrofrog
    Collaborator

    I haven’t had a chance to work on this, and probably won’t be able to in the near future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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