Mattijn van Hoek

Results 279 comments of Mattijn van Hoek

Yes, it is unfortunate we cannot do something about this here. I think the behavior of the tooltip is quite confusing and even though it is already prioritized as P1...

Hi @MarcoBaroncini! Excellent feature request. The following is an example spec that will render successfully with both a locale format and time-format in a notebook: ```python import altair as alt...

That makes very much sense. I just realized there is the possibility to set this setting when saving to html, see https://github.com/altair-viz/altair/blob/main/altair/utils/save.py#L159. But it's not connected to the `alt.renderers.set_embed_options`. I...

I see already: https://github.com/altair-viz/altair/blob/main/altair/utils/html.py#L158, the `embed_options` are directly set on vega-embed. So it seems there are two routes to accomplish this. I think I've read some discussions where is argued...

Documentation of this feature request is here: https://altair-viz.github.io/user_guide/customization.html#localization

I think that you would need a custom Altair list instead of using a python `list` to control this behaviour in the predicate. You could add a custom magic method...

Awesome that you have a working example @cpsievert! I'm not so much in favour of supporting a general `jchart.observe(callback, "selections")`, since we are in reality observing params in Vega-lite. `jchart.params.observe(callback,...

Ah great! Thanks @cpsievert! Another way how we can make this more convenient is to accept an `alt.Parameter` in the observe instead of only a `str`. This avoids double bookkeeping...

Hi @shawnhu444! Thanks for commenting. I'm not a Shiny user myself, but I'm trying to understand this further. Could you explain why you would expect that `jchart.observe(callback, "selections")` should trigger...