https://github.com/vega/vl-convert/tree/main/vl-convert-python#convert-altair-chart-to-svg-png-and-vega still uses Altair 4.