New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with sga-preqc-report.py: Invalid arguments to legend #98
Comments
I poked around through the git history: I suspect this is the commit that broke things: matplotlib/matplotlib@2bddb79 That's the only change to the code in 1.5 that I can see. |
Here's the relevant PR: matplotlib/matplotlib#3943 |
I think the fix here is to explicitly pass the
to
|
Bingo! You're a genius :) Tested and works (generates PDF without problems) with SGA v0.10.14 and matplotlib v1.5. BTW, the line to fix is on line #333 of sga-preqc-report.py Thanks! |
Great! Glad to help. |
great! does this work on 1.4 as well? do you want to make a PR so your contribution is noted? |
Done in #99 |
Merged. Thanks! |
Hi Jared,
First, thanks for the great piece of software :)
I'm having issues generating the preqc report PDF. I suspect it's something to do with matplotlib - I'm running:
SGA version 0.10.14
Matplotlib version 1.5
Error message:
From previous experience (on a different machine), I know the input file works using matplotlib 1.4, however I am having trouble installing this older version on the cluster I'm using now as it requires a specific version of freetype2 (>= 2.4).
Is there a way to get sga-preqc-report.py to work with 1.5? Or another workaround for installing 1.4?
Many thanks for any advice,
Reuben
The text was updated successfully, but these errors were encountered: