Weng, Chia-Ling
Weng, Chia-Ling
Update: This [example](https://vega.github.io/editor/#/url/vega-lite/N4IgJghgLhIFygK4CcA28QAspQA4Gc4B6IgYzADsA6AK3zAFNUBLAN2SooaiItwFsirBgHMIAWkgx83fAAFWARioAmAJxUADESkQiifOMWb+tfAHsKIADQgAZueT9o8UHYbQUDDPhhQG+DYgUACeuN5wwea45nSWIAC+CbZ2EKTcriDI5gDumXbMTGAYANYMIUGh4RgU5vzMFBDoSbb44aSZzsglmVURICIM5viYENW2UObmqFDMuPBQyIgMySAMFKTmYA0imZuojvmFqMWRrE3LlWH9AI6IEBSzfmzeqyNjEW7HpwNDV9WRQaxCxWVaTaazeYIezfDDnVCXCbXDB3B5PaAvRKrTAMZgibDwYyaWy4bI0BikWbxaF9DBNABGDGQ+AAqvhYGDkA98A4nPAANqgA7mEqIKEgZjFFLZfiZXSZFDoSLYPCEEjkah0Rgsdicbi8ARCUQSXQyKDyJSqDTaXREGK4RCoDGWAD66xEDQYTPwLswKGQzFIDwCVFI+FYiVsZQqkUlQQKRUCcH5IHtjudVls7s93qCfuQAaDXECAF0Wm5pqcU2mnVTM2sKB6uLnbPnC8HS8khVNReK49K6nLoLBoYqMCqCMQyJQzNq2BwuDw+IJhGJJMOzRblOotDph-pDMZTHF67znFBesjIpMYif4x4oF4fH4Alio+UMHHVhAk79zIky1sZAAmmYRMnwINUE+EB9kOWMKEYcIEPWC8kgSIA) works. My assumption is: the geometry data is somehow cannot be selected and transformed to geojson even assigned mark as geoshape, so i call the us-10m data...
Hi @joelostblom, yes, my workaround is to create another lookup transform. For this bug , I think data signal is push from here https://github.com/vega/vega-lite/blob/5b7f963f52dd3483687d0608a045cd0f5aa4cbdb/src/compile/projection/parse.ts#L69, and the name child_main is generated...
Hi @joelostblom, I switch the 2 data source position and find [this](https://vega.github.io/editor/#/url/vega-lite/N4IgJghgLhIFygK4CcA28QAspQA4Gc4B6IgYzADsA6AK3zAFNUBLAN2SooaiItwFsirBgHMIAWkgx83fAAFWARioAmAJxUADESkQiuAPa5EqaMwMUA+gwojmXBsnyXMKZM1IQu+KqXysQAF8AGhAAMwhSbnhQZAMAdxjw5iYwDABrBgBPEFCoLNwGDAoDfnsIdECQkHxC0iTMBmYRbHhFTU085C98MINkfngAbVA+1DS4IZBDY1MocwpckBs7Bycl12R3T28QAF0Q0FQDA3TEXAxmNNCwuMGEcGhYB5R0OEeYIkR8cXb+WnwFiWfQG0CS+UKGCgRgMdCBNwY0BQRXe+BgUAY+CC1UyOXeVyCoQgWPeIgYBiCe1CuDiNAYpHmQIeEJRIAqACNHPgAKr4WDVfgQZDpDBkgz4TAQSGhGykAxgewiJISqUo0Ypcai8lLFla2GAxbVOXHZBJMIaiYgVgVRBFPIFVkAR0QXnm6LYRSq1WQmIMqGEys8qDVIGN-UuFEYhUjNig2MCQA) can work. I'm a little confused now, but I'll see if I can help on this. ```json {...
I think this issue is solved at v5.16.3
Thanks for your feedback @mattijn ! I never thought to use `y2` channel and `layer-repeat` operator here, I'll spend some time to study if I can help at the vega...
I think using `xOffset` channel can solve this, original discussion from [here](https://github.com/vega/vega-lite/issues/4703), another discrete category example with altair can be found [here](https://altair-viz.github.io/gallery/grouped_bar_chart2.html) ``` import pandas as pd import numpy as...
Not sure if this is what you want, but remove the `bin` encoding would work: ``` import pandas as pd import numpy as np import altair as alt # Generate...
@joelostblom Thanks for your suggestion! I will try to find if there's more general change for this.
Not sure if this is strict enough, but from this [discussion](https://stackoverflow.com/questions/43748991/how-to-check-if-a-variable-is-either-a-python-list-numpy-array-or-pandas-series), I found pd.api.types.is_list_like() may be useful. 
Hi @robml , I reproduce this issue using Altair version 5.1.2: ``` df = pd.DataFrame({"device_type": ["Android", "iOS", "iOS", "iOS", "iOS", "iOS", "iOS", "iOS"]}) color_scale = alt.Scale( domain=["Android","iOS"], range=["#9F7F9F","#31AFD4"] ) base...