Skip to content

Simplify coverage plots #1

Description

@donkirkby

I created a subclass of Coverage in the MiCall project. It simplifies the coverage plots by joining all the rectangles that are within 10% of the starting coverage value. That reduces most SVG file sizes to less than 10% of their current size.

Let me know if you like the technique, and I'll create a pull request for you to put this feature in Coverage. The next class in that file is ShadedCoverage to set colour based on coverage depth. You're welcome to that as well, but it might not be as generally useful. It also introduces a matplotlib dependency, although I could probably work around that if needed.

I hope your adventure is not too adventurous. Talk to you later.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions