Closed ViHammer closed 2 years ago
Solution:
Issue #35 mentioned a similar issue. I tried the suggested solution, but initially had no success. The convert_svg_to_png.py
script offers support for different conversion tools. After testing most, I finally had success with cairosvg
. I installed the package in the environment using conda, and moved the code block to the top, so it is checked first. To check what tool is being used, set https://github.com/phbradley/conga/blob/4e27af987acae7c6918f9a9a1fd04166ff982c91/conga/convert_svg_to_png.py#L27
to True.
Hi there, Sorry for not getting to this quickly enough to help! I still don't understand why this conversion seems to be so platform dependent. I'm glad you were able to find a solution that worked for you. Thanks for the detailed notes which will be useful to others. I will see if we can make this more configurable, from the command line or from some kind of 'options' system (for notebook users). Take care, Phil
I am testing Conga with the provided Human PBMC dataset. I noticed that the axis labels, gene symbols, and features are cut off. Additionally the plots have slightly different proportions (compressed along the x axis) compared to the results shown in the Examples section.
My Conda environment:
Thanks in advance!