pyopenms_viz icon indicating copy to clipboard operation
pyopenms_viz copied to clipboard

Wrong plot running gallery_scripts_template scripts

Open Leandro1302 opened this issue 9 months ago • 1 comments

Sending the command on git bash "python docs/gallery_scripts_template/plot_spyogenes_subplots_ms_matplotlib.py" for example, where there should be a figure with 6 subplots, it shows the figure but only the first subplot is filled. The others are empty subplots.

Image

Leandro1302 avatar Mar 20 '25 00:03 Leandro1302

Hi @Leandro1302 Leandro1302 I have solved this issue in this PR https://github.com/OpenMS/pyopenms_viz/pull/81 by switching from canvas=axs[i] in ms_matplotlib to standard matplotlib calls and manually iterated over the runs.

Nishantrde avatar Mar 20 '25 19:03 Nishantrde