Skip to content

Commit

Permalink
Add tasks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Feb 6, 2024
1 parent d9da5db commit 413a151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notebooks/c2st/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def _convertsvg2pdf(c, fig):
def _convertpdf2png(c, fig):
pathlist = Path(f"{basepath}/{fig_names[fig]}/").glob("*.pdf")
for path in pathlist:
c.run(f'inkscape {str(path)} --export-png={str(path)[:-4]}.png -b "white" --export-dpi=250')
c.run(f'inkscape {str(path)} --export-png={str(path)[:-4]}.png -b "white" --export-dpi=300')

0 comments on commit 413a151

Please sign in to comment.