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

power plot is blank and throws a warning #91

Open
bardmaker opened this issue Mar 8, 2024 · 1 comment
Open

power plot is blank and throws a warning #91

bardmaker opened this issue Mar 8, 2024 · 1 comment

Comments

@bardmaker
Copy link

python /media/drive12TB1/projects/software/mixer/mixer/precimed/mixer_figures.py
one
--json results_mixer/EUR_ancestry_subjects_results_maf_0.01_univariate_mixer_qc_noMHC.fit.json
--out images/EUR_ancestry_subjects_results_maf_0.01_univariate_mixer_qc_noMHC.fit
--statistic mean std

The power plot is blank and throws a warning.

The *power.csv file has results that look valid.

This error has something to do with
matplotlib

precimed/mixer/figures.py:339: UserWarning: FixedFormatter should only be used together with FixedLocator
plt.gca().set_xticklabels(labels=['10K', '100K', '1M', '10M', '100M'])
precimed/mixer/figures.py:342: UserWarning: FixedFormatter should only be used together with FixedLocator
plt.axes().set_yticklabels(labels=['0', '20', '40', '60', '80', '100'])

I added some code to set the tick positions but they just overlay and leave the old positions in there.
EUR_ancestry_subjects_results_maf_0 01_univariate_mixer_qc_noMHC fit power

@EPTissink
Copy link

Hi there,
I encountered the same issue today. The plotting script throws the same warning and returns a blank plot, although the trait1_trait2_trait3.fit.power.csv data looks perfectly fine.
Hope someone has a solution to the issue!

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

No branches or pull requests

2 participants