Uploaded image for project: ' Swift for TensorFlow'
  1. Swift for TensorFlow
  2. TF-183

if you enable display and then plot something in the same cell, it doesn't show up

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Component/s: Jupyter Kernel
    • Labels:
      None

      Description

      For example,

      %include "EnableIPythonDisplay.swift"
      let np = Python.import("numpy")
      let plt = Python.import("matplotlib.pyplot")
      IPythonDisplay.shell.enable_matplotlib("inline")
      plt.plot(np.arange(10))
      plt.show()
      

      If you run that a second time, then you get the plot.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            marcrasi Marc Rasi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: