BUG: alt.datum does not support nested properties
See original GitHub issueand those nested properties are typical for topojson/geojson objects; consider example:
boundaries = alt.topo_feature(map_url, 'area')
alt.Chart(boundaries).transform_filter(alt.datum.properties['area_type'] == 'neighborhood').mark_geoshape(fill='red').encode(color='area_id:N').project(
type="mercator",
center=[-73.99,40.72]
).properties(width=500,height=300)
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Encodings — Altair 4.2.0 documentation
An object defining properties of axis's gridlines, ticks and labels. If null , the axis for the encoding channel will be removed.
Read more >'int' is a primitive and doesn't support nested properties: Azure ...
Where varInputFolderName = String = abcde as per this sample. Here is the pipeline JSON payload for this sample. You can play around...
Read more >typeerror: cannot read properties of undefined (reading 'dark') - You ...
Since you are accessing the nested value from the array, there may be some cases, the value might not be presented. You can...
Read more >Chapter 14 PLAN SHEET PRODUCTION
14A.4.b Nested References in Drawing Models and Sheet Models . ... from the Civil Plan Mode, this Mode does not require an Alignment...
Read more >Subtemplate - Racket Documentation
The expression splicing-lists are not recognised by templates, and it is not possible for a template to produce a “splicing syntax object” (instead,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
had to workaround with
You can pass any string to a getitem, e.g.