You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Charles Hedrick (JIRA)" <ji...@apache.org> on 2019/04/12 17:55:00 UTC

[jira] [Created] (ZEPPELIN-4122) matplotlib doesnt' work the first time.

Charles Hedrick created ZEPPELIN-4122:
-----------------------------------------

             Summary: matplotlib doesnt' work the first time.
                 Key: ZEPPELIN-4122
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4122
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.8.0
            Reporter: Charles Hedrick


In 0.8.0, with ipython, a script like

import matplotlib
import matplotlib.pyplot as plt

plt.figure()
x = [1,2,3,4,5,6,7,8]
y = [20,21,20.5,20.81,20.0,21.48,22.0,21.89]
plt.plot(x, y, linestyle='dashed', marker='o', color='red')



The first time you run it, it printsĀ [<matplotlib.lines.Line2D object at 0x7f02c22946a0>], but no actual output. If you try again, it works. This seems repeatable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)