mixer icon indicating copy to clipboard operation
mixer copied to clipboard

power plot is blank and throws a warning

Open bardmaker opened this issue 3 months ago • 1 comments

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

bardmaker avatar Mar 08 '24 17:03 bardmaker