Skip to content

Conversation

@devdanzin
Copy link
Collaborator

Add the ability to save the output of wily graph as an image. It requires installing Kaleido.

This is WIP, would need a new test and adding a new dependency to pyproject.toml, which I'm willing to do if the PR is to be accepted. Also the help string could be better.

Supported formats: png, jpg, webp, svg and pdf.

This addresses part of #92.

@codecov-commenter
Copy link

codecov-commenter commented Jul 8, 2023

Codecov Report

Merging #193 (c9cee83) into master (d501d01) will decrease coverage by 0.38%.
The diff coverage is 44.44%.

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
- Coverage   95.42%   95.05%   -0.38%     
==========================================
  Files          24       24              
  Lines        1269     1275       +6     
  Branches      287      290       +3     
==========================================
+ Hits         1211     1212       +1     
- Misses         33       37       +4     
- Partials       25       26       +1     
Files Changed Coverage Δ
src/wily/commands/graph.py 92.06% <28.57%> (-7.94%) ⬇️
src/wily/__main__.py 95.72% <100.00%> (+0.02%) ⬆️

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants