Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-304

matplotlib doesn't work in livy pyspark interpreter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.3
    • 0.9.0
    • Interpreter
    • None

    Description

      import matplotlib.pyplot as plt
      plt.plot([1, 2, 3])
      

      Response (It also should return the image data, so that the frontend can render the image)

      {
        "total_statements": 1,
        "statements": [
          {
            "id": 0,
            "state": "available",
            "output": {
              "status": "ok",
              "execution_count": 0,
              "data": {
                "text/plain": "[<matplotlib.lines.Line2D object at 0x10f521d10>]"
              }
            }
          }
        ]
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            zjffdu Jeff Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: