{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/4500","repository_url":"https://api.github.com/repos/astropy/astropy","labels_url":"https://api.github.com/repos/astropy/astropy/issues/4500/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/4500/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/4500/events","html_url":"https://github.com/astropy/astropy/issues/4500","id":127178659,"number":4500,"title":"ValueError from observing-example-2","user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"labels":[{"id":21499868,"url":"https://api.github.com/repos/astropy/astropy/labels/coordinates","name":"coordinates","color":"c7def8","default":false},{"id":3345090,"url":"https://api.github.com/repos/astropy/astropy/labels/Docs","name":"Docs","color":"02d7e1","default":false},{"id":181676,"url":"https://api.github.com/repos/astropy/astropy/labels/Upstream%20Fix%20Required","name":"Upstream Fix Required","color":"444444","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-01-18T08:43:57Z","updated_at":"2016-12-01T13:40:06Z","closed_at":"2016-12-01T07:57:45Z","body":"Locally I'm getting this error from the docs build for observing-example-2:\n\n```\n/Users/deil/code/astropy/docs/coordinates/observing-example.rst:108: WARNING: Exception occurred in plotting observing-example-2\n from /Users/deil/code/astropy/docs/coordinates/observing-example.rst:\nTraceback (most recent call last):\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/sphinxext/plot_directive.py\", line 517, in run_code\n    six.exec_(code, ns)\n  File \"<string>\", line 24, in <module>\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/pyplot.py\", line 2889, in fill_between\n    **kwargs)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/__init__.py\", line 1812, in inner\n    return func(ax, *args, **kwargs)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axes/_axes.py\", line 4670, in fill_between\n    X[0] = start\nValueError: setting an array element with a sequence.\n```\n\nDownloading [observing-example-2.py](http://astropy.readthedocs.org/en/latest/coordinates/observing-example-2.py) and running it reveals the line that causes the error:\n\n```\n$ python observing-example-2.py \nTraceback (most recent call last):\n  File \"observing-example-2.py\", line 24, in <module>\n    plt.fill_between(delta_midnight, 0, 90, sunaltazs.alt < -0*u.deg, color='0.5', zorder=0)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/pyplot.py\", line 2889, in fill_between\n    **kwargs)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/__init__.py\", line 1812, in inner\n    return func(ax, *args, **kwargs)\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/matplotlib/axes/_axes.py\", line 4670, in fill_between\n    X[0] = start\nValueError: setting an array element with a sequence.\n```\n\nIt's here: https://github.com/astropy/astropy/blame/master/docs/coordinates/observing-example.rst#L133\n\nThis is with matplotlib 1.5.1 and Astropy master, the Python version doesn't seem relevant (same error with Python 2.7, 3.4 and 3.5).\n\nThe error doesn't seem to occur on travis-ci currently:  https://travis-ci.org/astropy/astropy/jobs/102747115\n"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/264175292","html_url":"https://github.com/astropy/astropy/issues/4500#issuecomment-264175292","issue_url":"https://api.github.com/repos/astropy/astropy/issues/4500","id":264175292,"user":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars.githubusercontent.com/u/6788290?v=3","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T13:40:06Z","updated_at":"2016-12-01T13:40:06Z","body":"Very weird. I don't see any of the generated examples tested at all when running the tests locally. Did you do a simple ``python3.5 setup.py test``?\r\n\r\n```\r\n../docs/development/workflow/terminal_cast.rst .\r\n../docs/development/workflow/virtual_pythons.rst .\r\n../docs/development/workflow/virtualenv_detail.rst .\r\n../docs/io/misc.rst .\r\n../docs/io/registry.rst .\r\n../docs/io/unified.rst .\r\n../docs/io/ascii/base_classes.rst .\r\n../docs/io/ascii/extension_classes.rst .\r\n```"}}
{"actor":{"display_login":"bsipocz"}}