yitzchak / common-lisp-jupyter

A Common Lisp kernel for Jupyter along with a library for building Jupyter kernels.
https://yitzchak.github.io/common-lisp-jupyter
MIT License
218 stars 29 forks source link

inline-results changed? #80

Closed Symbolics closed 3 years ago

Symbolics commented 3 years ago

Did something change with inline-results recently? This code previously worked:

(defun clj-plot (spec)
  "Render a Vega-Lite specification, SPEC, in a Jupyter notebook"
  (let ((yason:*list-encoder* 'yason:encode-alist))
    (jupyter:inline-result
     (jsown:parse
      (yason:with-output-to-string* (:stream-symbol s)
    (yason:encode spec s)))
     "application/vnd.vegalite.v3+json")))

but now returns an error The value "https://vega.github.io/schema/vega-lite/v5.json" is not of type LIST, which looks a bit like a JSON processing error.

yitzchak commented 3 years ago

Answered over in #16