Skip to content
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

Add plot scaling for command line export #876

Open
Tracked by #2311 ...
jgesell-zz opened this issue Dec 19, 2018 · 3 comments
Open
Tracked by #2311 ...

Add plot scaling for command line export #876

jgesell-zz opened this issue Dec 19, 2018 · 3 comments

Comments

@jgesell-zz
Copy link

We are working with the png images produced by MultiQC, and incorporating them into a report, however, when we do so, the default font size is far too small. We were wondering if there is a way that we could increase or decrease the default font size, especially for the figure legends, from the command-line, if such a function does not already exist.

@ewels
Copy link
Member

ewels commented Dec 20, 2018

Hi @jgesell,

Does this have to be from the command line or can you use the HTML export feature? If you can use the HTML, then this feature already exists:

image

Phil

@ewels ewels added the question label Dec 20, 2018
@ewels ewels changed the title Change font size Add plot scaling for command line export Nov 13, 2019
@blavetn
Copy link

blavetn commented May 15, 2021

Hello, I have the same request but I cannot find in the doc if such feature has been implemented.

@ewels
Copy link
Member

ewels commented May 15, 2021

Plot scaling in the exported plots is not currently supported, no. The code that does this is totally separate from the code that generates the exported plots from the report in the browser.

Honestly, I can't see myself adding support for this any time soon I'm afraid. The matplotlib code took ages with a lot of trial and error to find various plot sizes / font sizes etc that generally work and look sensible and I do my best to avoid touching it if at all possible.

If / when I switch to Plotly for MultiQC plots, then adding this functionality should be fairly trivial. But that switch will involve a major rewrite of MultiQC and I have no idea when I will have time for this project.

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

No branches or pull requests

3 participants