Open joelostblom opened 1 year ago
I think it its the other way around, alt.value
is a helper function for not needing to define alt.<encoding-channel>Value
. It is defined here as top-level function: https://github.com/altair-viz/altair/blob/master/altair/vegalite/v5/api.py#L285.
Using altair main repo the usage of value
also works fine for me in this example.
I am not sure my self about what the exact differences are here. Vega-Lite only has
value
as far as I know, so maybeColorValue
etc are just help classes in altair to show better docstrings? I must say that I don't find the docstrings overly useful though.The only example I know where there is a difference and we are required to use
ShapeValue
instead ofvalue
(to avoid aNotImplementedError
) is https://altair-viz.github.io/gallery/isotype_grid.html. @palewire I saw that you initially added that example, so maybe you know the answer to this question?