-
Notifications
You must be signed in to change notification settings - Fork 795
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
Heatmap smoothing/interpolation in Altair #2047
Comments
This is not yet possible in Altair. The Vega-Lite feature request is here: vega/vega-lite#6043 |
@firasm You can do this outside of altair -- I followed an example here and by controlling the e.g. something along the lines of:
Then you can plot in altair your |
Great! Thanks @cgostic ! For anyone interested, here's what the final product looks like and the associated code:
You probably still want to mess around with the x and y-axes (switching them to :Q) does something funny (because of where the origin is I think). |
I'm trying to achieve an effect similar to
bicubic
interpolation in matlotlib.Here is the minimal code in matlotlib:
which produces:
And here is a starter code from the simple heat map Altair example:
P.S. there are other interpolation schemes as well and many of these will probably work for me, in case bicubic specifically isn't available.
The text was updated successfully, but these errors were encountered: