{"action":"created","issue":{"url":"https://api.github.com/repos/apache/zeppelin/issues/2510","repository_url":"https://api.github.com/repos/apache/zeppelin","labels_url":"https://api.github.com/repos/apache/zeppelin/issues/2510/labels{/name}","comments_url":"https://api.github.com/repos/apache/zeppelin/issues/2510/comments","events_url":"https://api.github.com/repos/apache/zeppelin/issues/2510/events","html_url":"https://github.com/apache/zeppelin/pull/2510","id":246635436,"number":2510,"title":"[ZEPPELIN-2756] Support ansi escape code for colorizing output in browser","user":{"login":"1ambda","id":4968473,"avatar_url":"https://avatars3.githubusercontent.com/u/4968473?v=4","gravatar_id":"","url":"https://api.github.com/users/1ambda","html_url":"https://github.com/1ambda","followers_url":"https://api.github.com/users/1ambda/followers","following_url":"https://api.github.com/users/1ambda/following{/other_user}","gists_url":"https://api.github.com/users/1ambda/gists{/gist_id}","starred_url":"https://api.github.com/users/1ambda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1ambda/subscriptions","organizations_url":"https://api.github.com/users/1ambda/orgs","repos_url":"https://api.github.com/users/1ambda/repos","events_url":"https://api.github.com/users/1ambda/events{/privacy}","received_events_url":"https://api.github.com/users/1ambda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-07-31T03:25:54Z","updated_at":"2017-08-31T09:00:03Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apache/zeppelin/pulls/2510","html_url":"https://github.com/apache/zeppelin/pull/2510","diff_url":"https://github.com/apache/zeppelin/pull/2510.diff","patch_url":"https://github.com/apache/zeppelin/pull/2510.patch"},"body":"### What is this PR for?\r\n\r\nSupport ANSI escape code for colorizing output in browser using [ansi-up](https://github.com/drudru/ansi_up#license)\r\n\r\nThis feature is written based on #2474 \r\n\r\n### What type of PR is it?\r\n[Improvement]\r\n\r\n\r\n### What is the Jira issue?\r\n\r\n[ZEPPELIN-2756](https://github.com/apache/zeppelin/pull/2474)\r\n\r\n### How should this be tested?\r\n\r\n Setup ipython interpreter (or use any interpreter can return ansi escape code)\r\n\r\n```\r\n%python.ipython\r\n\r\nimport pandas as pd\r\ndf = pd.DataFrame({'id':[1,2,3], 'name': ['a', 'b', 'c']})\r\nz.show(df)\r\n```\r\n\r\n### Screenshots (if appropriate)\r\n\r\n#### Before\r\n\r\n![image](https://user-images.githubusercontent.com/4968473/28761648-1e2fcc6e-75eb-11e7-8fc6-bf7a07ccf23f.png)\r\n\r\n\r\n#### After\r\n\r\n![image](https://user-images.githubusercontent.com/4968473/28761645-142d0074-75eb-11e7-903e-e0a79864ce80.png)\r\n\r\n### Questions:\r\n* Does the licenses files need update? - YES, updated\r\n* Is there breaking changes for older versions? - YES, all outputs will be escaped \r\n* Does this needs documentation? - NO\r\n"},"comment":{"url":"https://api.github.com/repos/apache/zeppelin/issues/comments/326235028","html_url":"https://github.com/apache/zeppelin/pull/2510#issuecomment-326235028","issue_url":"https://api.github.com/repos/apache/zeppelin/issues/2510","id":326235028,"user":{"login":"1ambda","id":4968473,"avatar_url":"https://avatars3.githubusercontent.com/u/4968473?v=4","gravatar_id":"","url":"https://api.github.com/users/1ambda","html_url":"https://github.com/1ambda","followers_url":"https://api.github.com/users/1ambda/followers","following_url":"https://api.github.com/users/1ambda/following{/other_user}","gists_url":"https://api.github.com/users/1ambda/gists{/gist_id}","starred_url":"https://api.github.com/users/1ambda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1ambda/subscriptions","organizations_url":"https://api.github.com/users/1ambda/orgs","repos_url":"https://api.github.com/users/1ambda/repos","events_url":"https://api.github.com/users/1ambda/events{/privacy}","received_events_url":"https://api.github.com/users/1ambda/received_events","type":"User","site_admin":false},"created_at":"2017-08-31T09:00:02Z","updated_at":"2017-08-31T09:00:02Z","author_association":"MEMBER","body":"CI passed. Merge if no more discussion."}}
{"actor":{"display_login":"1ambda"}}