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.
I created a subclass of
Coveragein 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 isShadedCoverageto 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.