Uploaded image for project: 'Livy (READ-ONLY)'
  1. Livy (READ-ONLY)
  2. LIVY-304

matplotlib doesn't work in livy pyspark interpreter

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.3
    • Fix Version/s: None
    • Component/s: Interpreter
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              zjffdu zjffdu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: