GitHub user 1ambda reopened a pull request:

    https://github.com/apache/zeppelin/pull/2510

    [ZEPPELIN-2756] Support ansi escape code for colorizing output in browser

    ### What is this PR for?
    
    Support ANSI escape code for colorizing output in browser using 
[ansi-up](https://github.com/drudru/ansi_up#license)
    
    This feature is written based on #2474 
    
    ### What type of PR is it?
    [Improvement]
    
    
    ### What is the Jira issue?
    
    [ZEPPELIN-2756](https://github.com/apache/zeppelin/pull/2474)
    
    ### How should this be tested?
    
     Setup ipython interpreter (or use any interpreter can return ansi escape 
code)
    
    ```
    %python.ipython
    
    import pandas as pd
    df = pd.DataFrame({'id':[1,2,3], 'name': ['a', 'b', 'c']})
    z.show(df)
    ```
    
    ### Screenshots (if appropriate)
    
    #### Before
    
    
![image](https://user-images.githubusercontent.com/4968473/28761648-1e2fcc6e-75eb-11e7-8fc6-bf7a07ccf23f.png)
    
    
    #### After
    
    
![image](https://user-images.githubusercontent.com/4968473/28761645-142d0074-75eb-11e7-903e-e0a79864ce80.png)
    
    ### Questions:
    * Does the licenses files need update? - YES, updated
    * Is there breaking changes for older versions? - YES, all outputs will be 
escaped 
    * Does this needs documentation? - NO


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/1ambda/zeppelin 
ZEPPELIN-2756/escape-ansi-code-in-browser

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/2510.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2510
    
----
commit 89ad7edcd566682800e34d23a320592e4169e118
Author: 1ambda <1am...@gmail.com>
Date:   2017-07-31T03:18:46Z

    feat: Escape ansi code

commit 143fbbb8b8e1b863e0944238c00f764a1165c9a9
Author: 1ambda <1am...@gmail.com>
Date:   2017-07-31T03:20:28Z

    chore: Add license notation for ansi up

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to