Mattijn van Hoek

Results 277 comments of Mattijn van Hoek
trafficstars

Thanks for raising this issue @wirhabenzeit! This is a very interesting issue you are raising. I can reproduce the issue you are describing, but I'm not sure exactly what is...

Yeah, The referenced VL issues are relevant here. But just to be complete, what is happening. Altair tries to sort the fields in your column ascending when defined as type...

Thanks for your response. You mean you can introduce this behavior without a `row`/`column` encoding channel included? Do you have an example of this? That seems more troublesome and indeed...

There seems something going on with polars too. First, if I do ```python import polars as pl import vega_datasets df = pl.DataFrame(vega_datasets.data.cars()).with_columns( pl.col("Origin", "Cylinders").cast(pl.String).cast(pl.Categorical("lexical")) ) ``` The order is correct...

I notice one thing what is different. If I define the dataframe as you suggested using a `lexical` option within the `pl.Categorical()` it is not persisted or included when compiling...

Thanks for adding more info on the table! But I'm not sure if I can read an answer in this already. Or can I understand from here that a categorical...

Pff, complicated. Altair assumes that the returned categories are in sorted order when it is defined as ordered, but this is an assumption that does not always hold. - Custom...

Not sure about anything anymore, but I think we have identified at least four issues/anomalies by now: 1. When using `row`/`column` encoding channel in combination with a `sort` parameter it...

With https://github.com/vega/altair/pull/3848 merged we had these jsdelivr CDN issues resolved within altair for datasources to be read by geopandas. But now this header issues are emerging elsewhere https://github.com/vega/vegafusion/issues/569. Its technically...

Thanks @manzt! I understand this can be frustrating. Is there anything we can do within the `JupyerChart` js code? We already have a `showError` function ([here](https://github.com/vega/altair/blob/main/altair/jupyter/js/index.js#L12)) that returns the javascript...