GitHub user bustios opened a pull request:

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

    Fix bug in z.show for Python interpreter

    ### What is this PR for?
    Currently, height parameter for z.show implementation to display PNG images 
in Python interpreter is not working. This PR fix that bug.
    
    ### What type of PR is it?
    Bug Fix
    
    ### What is the Jira issue?
    [ZEPPELIN-1327](https://issues.apache.org/jira/browse/ZEPPELIN-1327)
    
    ### How should this be tested?
    ```python
    import matplotlib.pyplot as plt
    
    x = [1,2,3,4,5]
    y = [6,7,8,9,0]
    
    plt.plot(x, y, marker="o")
    z.show(plt, height="200px")
    plt.close()
    ```
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    


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

    $ git pull https://github.com/bustios/zeppelin ZEPPELIN-1327

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

    https://github.com/apache/zeppelin/pull/1352.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 #1352
    
----
commit 1a78a37d0f9dc2eb92081eb89945863950bb397d
Author: Paul Bustios <pbust...@gmail.com>
Date:   2016-08-22T21:19:29Z

    Fix bug in z.show for Python interpreter

----


---
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