{"action":"closed","issue":{"url":"https://api.github.com/repos/biocore/qiime/issues/2117","repository_url":"https://api.github.com/repos/biocore/qiime","labels_url":"https://api.github.com/repos/biocore/qiime/issues/2117/labels{/name}","comments_url":"https://api.github.com/repos/biocore/qiime/issues/2117/comments","events_url":"https://api.github.com/repos/biocore/qiime/issues/2117/events","html_url":"https://github.com/biocore/qiime/issues/2117","id":122327628,"number":2117,"title":"plot_taxa_summary.py will fail with matplotlib 1.5.0","user":{"login":"ElDeveloper","id":375307,"avatar_url":"https://avatars.githubusercontent.com/u/375307?v=3","gravatar_id":"","url":"https://api.github.com/users/ElDeveloper","html_url":"https://github.com/ElDeveloper","followers_url":"https://api.github.com/users/ElDeveloper/followers","following_url":"https://api.github.com/users/ElDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ElDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElDeveloper/subscriptions","organizations_url":"https://api.github.com/users/ElDeveloper/orgs","repos_url":"https://api.github.com/users/ElDeveloper/repos","events_url":"https://api.github.com/users/ElDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ElDeveloper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/biocore/qiime/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/biocore/qiime/labels/project%20management","name":"project management","color":"444444"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-15T17:47:49Z","updated_at":"2016-04-29T21:12:50Z","closed_at":"2016-04-29T21:12:50Z","body":"The Jenkins build is failing, for the most part due to the following error:\r\n\r\n```\r\nStderr\r\nTraceback (most recent call last):\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/bin/plot_taxa_summary.py\", line 278, in <module>\r\n    main()\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/bin/plot_taxa_summary.py\", line 274, in main\r\n    resize_nth_label, label_type, include_html_legend)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py\", line 1138, in make_all_charts\r\n    resize_nth_label, label_type, include_html_legend))\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py\", line 1073, in get_counts\r\n    label_type, include_html_legend))\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py\", line 861, in make_HTML_table\r\n    props={'title': title})\r\n  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\r\n    background_color, img_abs, generate_image_type, dpi)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/qiime/plot_taxa_summary.py\", line 187, in make_legend\r\n    shadow=False, fancybox=False)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/figure.py\", line 1251, in legend\r\n    l = Legend(self, handles, labels, *args, **kwargs)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend.py\", line 385, in __init__\r\n    self._init_legend_box(handles, labels, markerfirst)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend.py\", line 654, in _init_legend_box\r\n    fontsize, handlebox))\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend_handler.py\", line 119, in legend_artist\r\n    fontsize, handlebox.get_transform())\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend_handler.py\", line 252, in create_artists\r\n    self.update_prop(p, orig_handle, legend)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend_handler.py\", line 78, in update_prop\r\n    legend._set_artist_props(legend_handle)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/legend.py\", line 401, in _set_artist_props\r\n    a.set_figure(self.figure)\r\n  File \"/mnt/workspace/QIIME/anaconda/envs/test_env/lib/python2.7/site-packages/matplotlib/artist.py\", line 640, in set_figure\r\n    raise RuntimeError(\"Can not put single artist in \"\r\nRuntimeError: Can not put single artist in more than one figure\r\n```\r\nThis is the reason why #2115 is failing.\r\n\r\nFrom [this post in the QIIME forum](https://groups.google.com/forum/#!topic/qiime-forum/x_ANVSoweq8), it seems like this is a problem that can be solved by downgrading matplotlib to something <1.5.0.\r\n\r\nNot sure exactly what we want to do with this."}}