{"action":"created","issue":{"url":"https://api.github.com/repos/maartenbreddels/ipyvolume/issues/209","repository_url":"https://api.github.com/repos/maartenbreddels/ipyvolume","labels_url":"https://api.github.com/repos/maartenbreddels/ipyvolume/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/maartenbreddels/ipyvolume/issues/209/comments","events_url":"https://api.github.com/repos/maartenbreddels/ipyvolume/issues/209/events","html_url":"https://github.com/maartenbreddels/ipyvolume/pull/209","id":384388502,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjAyNzEz","number":209,"title":"Removes traitlets DeprecationWarning","user":{"login":"glyg","id":1426279,"node_id":"MDQ6VXNlcjE0MjYyNzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1426279?v=4","gravatar_id":"","url":"https://api.github.com/users/glyg","html_url":"https://github.com/glyg","followers_url":"https://api.github.com/users/glyg/followers","following_url":"https://api.github.com/users/glyg/following{/other_user}","gists_url":"https://api.github.com/users/glyg/gists{/gist_id}","starred_url":"https://api.github.com/users/glyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyg/subscriptions","organizations_url":"https://api.github.com/users/glyg/orgs","repos_url":"https://api.github.com/users/glyg/repos","events_url":"https://api.github.com/users/glyg/events{/privacy}","received_events_url":"https://api.github.com/users/glyg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-26T15:43:08Z","updated_at":"2018-11-29T10:30:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/maartenbreddels/ipyvolume/pulls/209","html_url":"https://github.com/maartenbreddels/ipyvolume/pull/209","diff_url":"https://github.com/maartenbreddels/ipyvolume/pull/209.diff","patch_url":"https://github.com/maartenbreddels/ipyvolume/pull/209.patch"},"body":"Traitlets raises a DeprecationWarning about the way to pass datatypes as arguments:\r\n\r\n```python-traceback\r\nhome/travis/miniconda/envs/tyssue/lib/python3.7/site-packages/ipyvolume/transferfunction.py:46\r\n  /home/travis/miniconda/envs/tyssue/lib/python3.7/site-packages/ipyvolume/transferfunction.py:46: DeprecationWarning: Traits should be given as instances, not types (for example, `Int()`, not `Int`). Passing types is deprecated in traitlets 4.1.\r\n    levels = traitlets.List(traitlets.CFloat, default_value=[0.1, 0.5, 0.8]).tag(sync=True)\r\n```\r\n\r\nThis PR fixes the related code.\r\n "},"comment":{"url":"https://api.github.com/repos/maartenbreddels/ipyvolume/issues/comments/442784548","html_url":"https://github.com/maartenbreddels/ipyvolume/pull/209#issuecomment-442784548","issue_url":"https://api.github.com/repos/maartenbreddels/ipyvolume/issues/209","id":442784548,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjc4NDU0OA==","user":{"login":"maartenbreddels","id":1765949,"node_id":"MDQ6VXNlcjE3NjU5NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1765949?v=4","gravatar_id":"","url":"https://api.github.com/users/maartenbreddels","html_url":"https://github.com/maartenbreddels","followers_url":"https://api.github.com/users/maartenbreddels/followers","following_url":"https://api.github.com/users/maartenbreddels/following{/other_user}","gists_url":"https://api.github.com/users/maartenbreddels/gists{/gist_id}","starred_url":"https://api.github.com/users/maartenbreddels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maartenbreddels/subscriptions","organizations_url":"https://api.github.com/users/maartenbreddels/orgs","repos_url":"https://api.github.com/users/maartenbreddels/repos","events_url":"https://api.github.com/users/maartenbreddels/events{/privacy}","received_events_url":"https://api.github.com/users/maartenbreddels/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T10:30:50Z","updated_at":"2018-11-29T10:30:50Z","author_association":"OWNER","body":"Great, thanks!"}}
{"actor":{"display_login":"maartenbreddels"}}