{"action":"created","issue":{"url":"https://api.github.com/repos/widdowquinn/pyani/issues/50","repository_url":"https://api.github.com/repos/widdowquinn/pyani","labels_url":"https://api.github.com/repos/widdowquinn/pyani/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/widdowquinn/pyani/issues/50/comments","events_url":"https://api.github.com/repos/widdowquinn/pyani/issues/50/events","html_url":"https://github.com/widdowquinn/pyani/issues/50","id":203080185,"number":50,"title":"Tests fail with MatPlotLib 2.0","user":{"login":"widdowquinn","id":63981,"avatar_url":"https://avatars.githubusercontent.com/u/63981?v=3","gravatar_id":"","url":"https://api.github.com/users/widdowquinn","html_url":"https://github.com/widdowquinn","followers_url":"https://api.github.com/users/widdowquinn/followers","following_url":"https://api.github.com/users/widdowquinn/following{/other_user}","gists_url":"https://api.github.com/users/widdowquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/widdowquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widdowquinn/subscriptions","organizations_url":"https://api.github.com/users/widdowquinn/orgs","repos_url":"https://api.github.com/users/widdowquinn/repos","events_url":"https://api.github.com/users/widdowquinn/events{/privacy}","received_events_url":"https://api.github.com/users/widdowquinn/received_events","type":"User","site_admin":false},"labels":[{"id":161920792,"url":"https://api.github.com/repos/widdowquinn/pyani/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"widdowquinn","id":63981,"avatar_url":"https://avatars.githubusercontent.com/u/63981?v=3","gravatar_id":"","url":"https://api.github.com/users/widdowquinn","html_url":"https://github.com/widdowquinn","followers_url":"https://api.github.com/users/widdowquinn/followers","following_url":"https://api.github.com/users/widdowquinn/following{/other_user}","gists_url":"https://api.github.com/users/widdowquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/widdowquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widdowquinn/subscriptions","organizations_url":"https://api.github.com/users/widdowquinn/orgs","repos_url":"https://api.github.com/users/widdowquinn/repos","events_url":"https://api.github.com/users/widdowquinn/events{/privacy}","received_events_url":"https://api.github.com/users/widdowquinn/received_events","type":"User","site_admin":false},"assignees":[{"login":"widdowquinn","id":63981,"avatar_url":"https://avatars.githubusercontent.com/u/63981?v=3","gravatar_id":"","url":"https://api.github.com/users/widdowquinn","html_url":"https://github.com/widdowquinn","followers_url":"https://api.github.com/users/widdowquinn/followers","following_url":"https://api.github.com/users/widdowquinn/following{/other_user}","gists_url":"https://api.github.com/users/widdowquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/widdowquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widdowquinn/subscriptions","organizations_url":"https://api.github.com/users/widdowquinn/orgs","repos_url":"https://api.github.com/users/widdowquinn/repos","events_url":"https://api.github.com/users/widdowquinn/events{/privacy}","received_events_url":"https://api.github.com/users/widdowquinn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-01-25T11:40:39Z","updated_at":"2017-01-25T13:45:20Z","closed_at":"2017-01-25T13:45:20Z","body":"#### Summary:\r\n`nosetest`s fail with the new `matplotlib`\r\n\r\n\r\n#### Description:\r\nRunning `nosetests` fails with\r\n\r\n```\r\n======================================================================\r\nERROR: Write .png graphics with mpl\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/nose/case.py\", line 198, in runTest\r\n    self.test(*self.arg)\r\n  File \"/Users/lpritc/Documents/Development/pyani/tests/test_graphics.py\", line 60, in test_png_mpl\r\n    draw_format_method(\"png\", \"mpl\")\r\n  File \"/Users/lpritc/Documents/Development/pyani/tests/test_graphics.py\", line 55, in draw_format_method\r\n    params=method_params)\r\n  File \"/Users/lpritc/Documents/Development/pyani/pyani/pyani_graphics.py\", line 322, in heatmap_mpl\r\n    orientation='row')\r\n  File \"/Users/lpritc/Documents/Development/pyani/pyani/pyani_graphics.py\", line 196, in add_mpl_dendrogram\r\n    height_ratios=[1, 0.15])\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 345, in __init__\r\n    height_ratios=height_ratios)\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 47, in __init__\r\n    self.set_height_ratios(height_ratios)\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 76, in set_height_ratios\r\n    raise ValueError('Expected the given number of height ratios to '\r\nValueError: Expected the given number of height ratios to match the number of rows of the grid\r\n\r\n======================================================================\r\nERROR: Write .svg graphics with mpl\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/nose/case.py\", line 198, in runTest\r\n    self.test(*self.arg)\r\n  File \"/Users/lpritc/Documents/Development/pyani/tests/test_graphics.py\", line 65, in test_svg_mpl\r\n    draw_format_method(\"svg\", \"mpl\")\r\n  File \"/Users/lpritc/Documents/Development/pyani/tests/test_graphics.py\", line 55, in draw_format_method\r\n    params=method_params)\r\n  File \"/Users/lpritc/Documents/Development/pyani/pyani/pyani_graphics.py\", line 322, in heatmap_mpl\r\n    orientation='row')\r\n  File \"/Users/lpritc/Documents/Development/pyani/pyani/pyani_graphics.py\", line 196, in add_mpl_dendrogram\r\n    height_ratios=[1, 0.15])\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 345, in __init__\r\n    height_ratios=height_ratios)\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 47, in __init__\r\n    self.set_height_ratios(height_ratios)\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 76, in set_height_ratios\r\n    raise ValueError('Expected the given number of height ratios to '\r\nValueError: Expected the given number of height ratios to match the number of rows of the grid\r\n\r\n======================================================================\r\nERROR: Write .pdf graphics with mpl\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/nose/case.py\", line 198, in runTest\r\n    self.test(*self.arg)\r\n  File \"/Users/lpritc/Documents/Development/pyani/tests/test_graphics.py\", line 70, in test_pdf_mpl\r\n    draw_format_method(\"pdf\", \"mpl\")\r\n  File \"/Users/lpritc/Documents/Development/pyani/tests/test_graphics.py\", line 55, in draw_format_method\r\n    params=method_params)\r\n  File \"/Users/lpritc/Documents/Development/pyani/pyani/pyani_graphics.py\", line 322, in heatmap_mpl\r\n    orientation='row')\r\n  File \"/Users/lpritc/Documents/Development/pyani/pyani/pyani_graphics.py\", line 196, in add_mpl_dendrogram\r\n    height_ratios=[1, 0.15])\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 345, in __init__\r\n    height_ratios=height_ratios)\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 47, in __init__\r\n    self.set_height_ratios(height_ratios)\r\n  File \"/Users/lpritc/Documents/Development/pyani/venv-pyani-devel/lib/python3.6/site-packages/matplotlib/gridspec.py\", line 76, in set_height_ratios\r\n    raise ValueError('Expected the given number of height ratios to '\r\nValueError: Expected the given number of height ratios to match the number of rows of the grid\r\n```\r\n\r\n\r\n#### Reproducible Steps:\r\n* clone `pyani`\r\n* create virtualenv and install requirements\r\n* run `nosetests`\r\n\r\n#### pyani Version:\r\n0.2.1\r\n\r\n#### Python Version:\r\n3.6\r\n\r\n#### Operating System:\r\nOSX"},"comment":{"url":"https://api.github.com/repos/widdowquinn/pyani/issues/comments/275111024","html_url":"https://github.com/widdowquinn/pyani/issues/50#issuecomment-275111024","issue_url":"https://api.github.com/repos/widdowquinn/pyani/issues/50","id":275111024,"user":{"login":"widdowquinn","id":63981,"avatar_url":"https://avatars.githubusercontent.com/u/63981?v=3","gravatar_id":"","url":"https://api.github.com/users/widdowquinn","html_url":"https://github.com/widdowquinn","followers_url":"https://api.github.com/users/widdowquinn/followers","following_url":"https://api.github.com/users/widdowquinn/following{/other_user}","gists_url":"https://api.github.com/users/widdowquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/widdowquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widdowquinn/subscriptions","organizations_url":"https://api.github.com/users/widdowquinn/orgs","repos_url":"https://api.github.com/users/widdowquinn/repos","events_url":"https://api.github.com/users/widdowquinn/events{/privacy}","received_events_url":"https://api.github.com/users/widdowquinn/received_events","type":"User","site_admin":false},"created_at":"2017-01-25T13:45:20Z","updated_at":"2017-01-25T13:45:20Z","body":"Fix implemented in https://github.com/widdowquinn/pyani/commit/e46c7f5f27e4b44219bdab6a674b63bbf65f0767"}}
{"actor":{"display_login":"widdowquinn"}}