Using latex-view in barchart labels
louissmit opened this issue · comments
(plot/bar-chart [(latex-view "x_1") (latex-view "x_2")] [2 3]))
ends up with [object Object] as the labels.
Yes, that's unfortunate! The reason for this is that charts are rendered by the vega.js library, and it doesn't interoperate with the latex renderer. I don't think there's much we can do about it in Gorilla I'm afraid. The real, best solution would be to have a general rendering language for plots, as discussed in #167 . That would mean Gorilla would be doing the rendering all the way down to the bottom. But that's a ways off at the moment. So, I'm going to close this one as "wontfix" as I don't think there's much we can do about it directly.
Yeah, I figured it was something like that. Thanks for the reply and props on gorilla-repl, its pretty neat!
Thanks :-)