Skip to content
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

Very slow to create one figure #42

Open
mfouesneau opened this issue Feb 28, 2022 · 0 comments
Open

Very slow to create one figure #42

mfouesneau opened this issue Feb 28, 2022 · 0 comments

Comments

@mfouesneau
Copy link

I have the issue that even the examples are very slow to run (multiple minutes)

#include "xvega/xvega.hpp"
using namespace xv;
auto df = url_data().url("https://vega.github.io/vega-datasets/data/cars.json");

auto x_enc = X().field("Miles_per_Gallon").type("quantitative");
auto y_enc = Y().field("Horsepower").type("quantitative");
auto enc = Encodings().x(x_enc).y(y_enc);

auto mp = mark_point();
auto fig = Chart().data(df).mark(mp).encoding(enc).title("Simple 2D Chart").width(400).height(300);
fig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant