-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using JuliaDB/IndexedTables with Gadfly #94
Comments
This does work for VegaLite, though, which is nice. using VegaLite
t |> @vlplot(
:point,
x = :x,
y = :y) |
Support for Gadfly.jl hasn't survived the transition to julia 1.0, I'm afraid... I had a brief look how difficult it would be to reenable it, and the old strategy won't work anymore... I'll think a little how we could sort this out. I think in the meantime, what should work is to convert the JuliaDB table to a |
Yes, this is what I ended up doing: import IndexedTables
import Gadfly
Gadfly.plot(data_source::IndexedTables.IndexedTable,
elements::Union{Array{Gadfly.Layer,1}, Function, Gadfly.Element, Gadfly.Theme, Type}...;
mapping...) =
Gadfly.plot(data_source |> DataFrame, elements...; mapping...) |
So I'm just trying to get Gadfly to plot an IndexedTable I've produced with the JuliaDB.table function.
The IterableTables documentation claims to support JuliaDB tables as data sources and Gadfly as a sink, but I'm doing it wrong and/or it doesn't work for me
Complete example:
The text was updated successfully, but these errors were encountered: