{"action":"created","issue":{"url":"https://api.github.com/repos/enthought/mayavi/issues/176","labels_url":"https://api.github.com/repos/enthought/mayavi/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/enthought/mayavi/issues/176/comments","events_url":"https://api.github.com/repos/enthought/mayavi/issues/176/events","html_url":"https://github.com/enthought/mayavi/issues/176","id":73320226,"number":176,"title":"Default value for the vtkPolyData.lines is shared between all objects","user":{"login":"itziakos","id":403930,"avatar_url":"https://avatars.githubusercontent.com/u/403930?v=3","gravatar_id":"","url":"https://api.github.com/users/itziakos","html_url":"https://github.com/itziakos","followers_url":"https://api.github.com/users/itziakos/followers","following_url":"https://api.github.com/users/itziakos/following{/other_user}","gists_url":"https://api.github.com/users/itziakos/gists{/gist_id}","starred_url":"https://api.github.com/users/itziakos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itziakos/subscriptions","organizations_url":"https://api.github.com/users/itziakos/orgs","repos_url":"https://api.github.com/users/itziakos/repos","events_url":"https://api.github.com/users/itziakos/events{/privacy}","received_events_url":"https://api.github.com/users/itziakos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/enthought/mayavi/labels/docs","name":"docs","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-05T13:48:19Z","updated_at":"2015-07-17T09:52:53Z","closed_at":null,"body":"The issue is demonstrated bellow\r\n\r\n```python\r\nIn [10]: from tvtk.api import tvtk\r\n\r\nIn [11]: data1 = tvtk.PolyData()\r\n\r\nIn [12]: data2 = tvtk.PolyData()\r\n\r\nIn [13]: data1.lines\r\nOut[13]: <tvtk.tvtk_classes.cell_array.CellArray at 0xe11e570>\r\n\r\nIn [14]: data2.lines\r\nOut[14]: <tvtk.tvtk_classes.cell_array.CellArray at 0xe11e570>\r\n```\r\n\r\nThe workaround is to provide a value for `lines` at initialization\r\n\r\n```python\r\nIn [15]: data1 = tvtk.PolyData(lines=[])\r\n\r\nIn [16]: data2 = tvtk.PolyData(lines=[])\r\n\r\nIn [17]: data1.lines\r\nOut[17]: <tvtk.tvtk_classes.cell_array.CellArray at 0xe0f19e8>\r\n\r\nIn [18]: data2.lines\r\nOut[18]: <tvtk.tvtk_classes.cell_array.CellArray at 0xe11eca8>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/enthought/mayavi/issues/comments/122232235","html_url":"https://github.com/enthought/mayavi/issues/176#issuecomment-122232235","issue_url":"https://api.github.com/repos/enthought/mayavi/issues/176","id":122232235,"user":{"login":"itziakos","id":403930,"avatar_url":"https://avatars.githubusercontent.com/u/403930?v=3","gravatar_id":"","url":"https://api.github.com/users/itziakos","html_url":"https://github.com/itziakos","followers_url":"https://api.github.com/users/itziakos/followers","following_url":"https://api.github.com/users/itziakos/following{/other_user}","gists_url":"https://api.github.com/users/itziakos/gists{/gist_id}","starred_url":"https://api.github.com/users/itziakos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itziakos/subscriptions","organizations_url":"https://api.github.com/users/itziakos/orgs","repos_url":"https://api.github.com/users/itziakos/repos","events_url":"https://api.github.com/users/itziakos/events{/privacy}","received_events_url":"https://api.github.com/users/itziakos/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T09:52:53Z","updated_at":"2015-07-17T09:52:53Z","body":"I reopened this issue as a `docs` related item"}}