Python package to generate plots from coverage report
Project description
plot_coverage
Python package to generate plots from coverage report
Generate visual plots to demonstrate your code coverage. Interactive plots are opened in the browser immediately after running the script. HTML files for the plots are stored alongside the coverage report inside htmlcov folder.
Plots are generated using plotly express.
Usage
Install using pip install plot_coverage
- From the project root (where htmlcov folder is located), run:
plot_coverage –plot=treemap
plot_coverage –plot=sunburst
Example
Treemap
Sunburst
Features
Generate Treemap plot for showing your coverage report with color sequence based on coverage percentage.
Generate Sunburst plot for showing your coverage report with color sequence based on coverage percentage.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Free software: BSD license
History
1.0.0 (2020-06-25)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for plot_coverage-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e121fda68cba563988939f86fe6eb995b0c48da36ba0e4e28491f260f1d9a6 |
|
MD5 | 5788ed0bba81b6fa7af51237dbded194 |
|
BLAKE2b-256 | 0620920c8b2688c27db4e83ec7446f483a609acf9f49911ed72f17ac9ed7c153 |