{"action":"created","issue":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/508","labels_url":"https://api.github.com/repos/mwaskom/seaborn/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/mwaskom/seaborn/issues/508/comments","events_url":"https://api.github.com/repos/mwaskom/seaborn/issues/508/events","html_url":"https://github.com/mwaskom/seaborn/issues/508","id":67626281,"number":508,"title":"seaborn.tsplot and matplotlib's \"Curve lines and axes parameters\" editor","user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-10T16:00:16Z","updated_at":"2015-05-06T21:00:27Z","closed_at":"2015-05-02T19:35:44Z","body":"Currently, trying to edit curve lines and axes parameters (the checkbox with a green tick on the matplotlib toolbar) for a `seaborn.tsplot` fails with the following traceback:\r\n```\r\n$ ipython --pylab\r\nPython 3.4.3 (default, Mar 25 2015, 17:13:50) \r\nType \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\nIPython 3.0.0 -- An enhanced Interactive Python.\r\n?         -> Introduction and overview of IPython's features.\r\n%quickref -> Quick reference.\r\nhelp      -> Python's own help system.\r\nobject?   -> Details about 'object', use 'object??' for extra details.\r\nromUsing matplotlib backend: Qt5Agg\r\nUsing matplotlib backend: Qt5Agg\r\n se\r\nIn [1]: from seaborn import *; tsplot([1, 2])\r\nOut[1]: <matplotlib.axes._subplots.AxesSubplot at 0x7f0262043d30>\r\n# <------ click on green tick\r\nIn [2]: Traceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/matplotlib/backends/backend_qt5.py\", line 653, in edit_parameters\r\n    figureoptions.figure_edit(axes, self)\r\n  File \"/usr/lib/python3.4/site-packages/matplotlib/backends/qt_editor/figureoptions.py\", line 146, in figure_edit\r\n    apply=apply_callback)\r\n  File \"/usr/lib/python3.4/site-packages/matplotlib/backends/qt_editor/formlayout.py\", line 510, in fedit\r\n    dialog = FormDialog(data, title, comment, icon, parent, apply)\r\n  File \"/usr/lib/python3.4/site-packages/matplotlib/backends/qt_editor/formlayout.py\", line 416, in __init__\r\n    parent=self)\r\n  File \"/usr/lib/python3.4/site-packages/matplotlib/backends/qt_editor/formlayout.py\", line 389, in __init__\r\n    if len(data[0]) == 3:\r\nIndexError: list index out of range\r\n\r\nIf you suspect this is an IPython bug, please report it at:\r\n    https://github.com/ipython/ipython/issues\r\nor send an email to the mailing list at ipython-dev@scipy.org\r\n\r\nYou can print a more detailed traceback right now with \"%tb\", or use \"%debug\"\r\nto interactively debug it.\r\n\r\nExtra-detailed tracebacks for bug-reporting purposes can be enabled via:\r\n    %config Application.verbose_crash=True\r\n```\r\n\r\nIt is not clear to me whether the issue is on matplotlib's side or on seaborn's side, so this is crossposted as matplotlib/matplotlib#4323.\r\n\r\n[Edit: Added full invocation trace, per @mwaskom comment below.]"},"comment":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/comments/99608792","html_url":"https://github.com/mwaskom/seaborn/issues/508#issuecomment-99608792","issue_url":"https://api.github.com/repos/mwaskom/seaborn/issues/508","id":99608792,"user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T21:00:27Z","updated_at":"2015-05-06T21:00:27Z","body":"No, even using the PR code, `tsplot([1, 2])` leads to the line not appearing in the parameter manager, whereas `tsplot([1, 2], condition=\"_line0\")` keeps the legend hidden but lets the line properties be edited."}}