Mattijn van Hoek
Mattijn van Hoek
This PR can be tested using the following npm-test package - https://www.npmjs.com/package/vega-embed-mattijn - https://cdn.jsdelivr.net/npm/vega-embed-mattijn@6. Further section is copied from: https://github.com/altair-viz/altair/pull/2867 * * * Let me try to break this down....
This PR is an attempt to make pandas a soft dependency. I hope it can be used as inspiration, as I was not able to make the types happy. I've...
Opening this issue to discuss and collect insights. Currently we have an altair package that relies on a few hard dependencies: ```yaml dependencies = [ "typing_extensions>=4.0.1; python_version=3.0", "numpy", "pandas>=0.25", "toolz",...
It would be nice if we can expand our Example Gallery with a section of examples using the JupyterChart component. I'm aware that a true working example requires currently an...
I saw this tweet https://twitter.com/WoottonDylan/status/1603799316270718977?s=20&t=TA76W5lTMJvZmfPbEXfTMA. This can be reproduced in altair with: ```python import altair as alt from vega_datasets import data source = data.seattle_weather() color_rain = alt.param(value="#317bb4", bind=alt.binding(input='color', name='color rain'))...
As was shown by @jonmmease mease in this comment: https://github.com/altair-viz/altair/pull/3281#issuecomment-1904911865 it is possible to update a full dataset in place within the `alt.JupyterChart` class. Currently this is possible using a...
Questioned in [SO: How to create an altair condition with three or more choices [duplicate]](https://stackoverflow.com/questions/72190774/how-to-create-an-altair-condition-with-three-or-more-choices) and [SO: Combine hover and click selections in Altair](https://stackoverflow.com/questions/66108224/combine-hover-and-click-selections-in-altair) and surfaced in https://github.com/altair-viz/altair/pull/2756 It is...
In the Github Actions is appearing the following warning message: ``` =============================== warnings summary =============================== tests/test_jupyter_chart.py: 30 warnings /opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/traitlets/traitlets.py:869: DeprecationWarning: Deprecated in traitlets 4.1, use the instance .metadata dictionary directly,...
As was _originally posted by @mattijn in https://github.com/altair-viz/altair/issues/2732#issuecomment-1335673267_: There are more candidate aliases I think? ```python import requests as r import re vl_scheme = r.get('https://vega.github.io/schema/vega-lite/v5.json').json() scheme_str = str(vl_scheme['definitions']) col =...
Distilled from https://github.com/altair-viz/altair/pull/3081#issuecomment-1587291370: Currently we can export Altair specifications as such: - `.save(format=***)` - `.to_dict(format=***)` # defaults to `vega-lite` option for `vega` - `.to_json(format=***)` # defaults to `vega-lite` option for...