JonyEpsilon / gorilla-repl

A rich REPL for Clojure in the notebook style.
http://gorilla-repl.org
MIT License
888 stars 104 forks source link

Plotting: Title and Axes Labels #203

Open jguhlin opened 9 years ago

jguhlin commented 9 years ago

It would be very helpful to label both axes and give a title to the plot. Is that possible now and I haven't found it or is it possible to add? I can dig into the code but want to make sure it's not something I've missed.

JonyEpsilon commented 9 years ago

The plotting code is a very thin wrapper around Vega. I'm pretty sure Vega didn't support axis labels when I first wrote the plotting code, so there's no explicit support for them in gorilla-plot. Looking at the Vega repo, it looks as though there's been a bit of development lately (it had stalled for a long while) and I see that axis titles are mentioned on the wiki. But if I try them in there online demo thingy then they don't work. So I'm not sure what to think!

If Vega does support them it will be very easy to add them to gorilla-plot.

fwood commented 9 years ago

Axis labels would indeed be very handy.

podviaznikov commented 9 years ago

+1 for axis labels

JonyEpsilon commented 9 years ago

+1 from me too!