Open jowens opened 6 months ago
Thanks for the report @jowens, glad to hear VegaFusion was been working well for you overall!
VegaFusion doesn't support Vega's regression transform yet. See https://github.com/vega/vegafusion/issues/401 for some notes on that.
I don't quite follow what you mean by there being a difference in the points being rasterized. This should be controlled by the embed_options
used when saving to html. See https://altair-viz.github.io/user_guide/saving_charts.html#html-format. Could you elaborate more?
OK, no regression transform support, got it. Good luck on further development!
In terms of "rasterized": The sharpness/quality of the points when I don't have the regression line:
https://owensgroup.github.io/gpustats/plots/Processing%20Power%20over%20Time.html
just looks way better than when I do:
https://owensgroup.github.io/gpustats/plots/Processing%20Power%20over%20Time_regressionline.html
but my guess is this has nothing to do with vf.
(Also it would be pretty cool if, when vf doesn't support a particular feature, it would print some sort of warning, even if that warning is behind a flag. Thanks for considering this.)
I've been using vf to cull big dataframes of unecessary data when saving Altair plots to HTML. This works splendidly.
I am comparing two plots of the same data. One is just a scatter plot. The second is the same scatter plot with a regression line added on top of it.
Altair code looks like:
Anyway, I note:
Screenshots of the rendered HTML below.
Don't know if either of these are from vf's influence. But neither was expected.
"Make a much much smaller example" is a perfectly cromulent response. :)