changes from altair1 to altair2?
See original GitHub issueI’m taking altair1 code and trying to make it work with altair2 (also a switch to python3). Not asking anyone to debug my code, but chart.savechart fails with a vega-lite schema validation error I’ve never seen before.
Is there any sort of porting guide that says “if you did this in altair1, it doesn’t work any more, do this instead”?
chart.savechart(os.path.join(outputdir, name) + '.' + fileformat)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/altair/vegalite/v2/api.py", line 374, in savechart
return self.save(fp, format=None, **kwargs)
...
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/altair/utils/schemapi.py", line 237, in to_dict
raise SchemaValidationError(self, err)
altair.utils.schemapi.SchemaValidationError: Invalid specification
altair.vegalite.v2.schema.channels.Column, validating 'additionalProperties'
Additional properties are not allowed ('axis' was unexpected)
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
Altair1 - The Doom Wiki at DoomWiki.org
Chirko and released in August 1995. It had two sequels the following year, Altair2 and Altair3a.
Read more >Fuji Aluminum Frames - Bike Forums
Fuji Newest now has Fuji Altair 1 aluminum fames. I believe that Fuji Newest use to have Fuji Altair 2 aluminum frames.
Read more >Altair #1 - Lost in the mail. Who got Altair #2?
It is fairly well established that the first Altair built was lost in transit to Les Solomon back in October of 1974.
Read more >MITS ALTAIR #2 Restoration Page
The CPU and static RAM board work OK in Altair #1. ... I connected the drive to the controller with a short cable,...
Read more >Specifying Data in Altair — Altair 4.2.0 documentation
Importing Vega & Vega-Lite Versions · Displaying Altair Charts · Renderer API · Customizing Renderers · Data transformers. Release Notes. Altair Change Log....
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
Good timing. We just merged https://github.com/vega/vega-lite/pull/3943, which adds support for
header
. Once this is released and a new version of Altair is out, you can use it.(providing good APIs for the new transforms is probably the biggest part of the work)