降级 maplotlib 以解决 QIIME 报错

四月 15th, 2016 | by | microbiology

4月
15

最近在使用 QIIME 1.9.1 执行 plot_taxa_summary.py 步骤时,出现了报错的情况,错误信息如下:

Stderr
Traceback (most recent call last):
File "/mnt/workspace/QIIME/anaconda/envs/test_env/bin/plot_taxa_summary.py", line 278, in <module>
main()
File "/mnt/workspace/QIIME/anaconda/envs/test_env/bin/plot_taxa_summary.py", line 274, in main
resize_nth_label, label_type, include_html_legend)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 1138, in make_all_charts
resize_nth_label, label_type, include_html_legend))
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 1073, in get_counts
label_type, include_html_legend))
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 861, in make_HTML_table
props={'title': title})
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 662, in make_area_bar_chart
background_color, img_abs, generate_image_type, dpi)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 187, in make_legend
shadow=False, fancybox=False)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/figure.py", line 1251, in legend
l = Legend(self, handles, labels, *args, **kwargs)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend.py", line 385, in __init__
self._init_legend_box(handles, labels, markerfirst)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend.py", line 654, in _init_legend_box
fontsize, handlebox))
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend_handler.py", line 119, in legend_artist
fontsize, handlebox.get_transform())
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend_handler.py", line 252, in create_artists
self.update_prop(p, orig_handle, legend)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend_handler.py", line 78, in update_prop
legend._set_artist_props(legend_handle)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend.py", line 401, in _set_artist_props
a.set_figure(self.figure)
File "/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/artist.py", line 640, in set_figure
raise RuntimeError("Can not put single artist in "
RuntimeError: Can not put single artist in more than one figure

阅 读 全 文

No Comments »

无觅相关文章插件,快速提升流量