metasoarous / oz

Data visualizations in Clojure and ClojureScript using Vega and Vega-lite
Eclipse Public License 1.0
829 stars 74 forks source link

Wrong paths in dev/user.clj #133

Open zackteo opened 4 years ago

zackteo commented 4 years ago

The relative file paths are wrong due to change in file structure like from

examples/contour-lines.vega.json to examples/vega/contour-lines.vega.json

Should I also fix the ones in the README.md?

Like (def contour-plot (oz/load "examples/contour-lines.vega.json")) to (def contour-plot (json/parse-string (slurp "resources/oz/examples/vega/contour-lines.vega.json"))) ?

metasoarous commented 4 years ago

Hi @zackteo. Thanks for pointing this out.

Yes, I'd greatly appreciate a PR to fix this. If you do though, please stick with the oz/load over -> slurp json/parse-string.

Thanks again!