Create figure panel for publications from svg files.
conda create -n figure_panel python=3.9 -yconda activate figure_panelpip install git+https://github.com/MuhammedHasan/figure_panel.gitconda install -c conda-forge cairosvg wand -yfigure_panel -f x.svg,y.svg,z.svg -o fig.pdf --width 1200 --fontsize 24-f input svg files separated by , indicating figure arrange in the same row
--width of figure in pixels and height determined based on the aspect ratio. --fontsize is relative to width so need adjustment accordingly.
-o output format .svg, .png and .pdf is supported.
figure_panel -f "[x.svg,y.svg],[z.svg, k.svg]" -o fig.pdf[] indicates row in the panel. Figures labeled based on the sequence order in the input.
figure_panel -f "[x.svg, y.svg],[z.svg, [[x.svg, y.svg], [z.svg, k.svg]]]" -o fig.pdfSee examples for further examples and python api.
- [] Add more test-cases
- [] Margin between figures
- [] Padding between figures and labels
- [] pdf input support
