-
I get an error when trying to run:
as follows
How can I render this chart to png? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This appears to be an bug somewhere in the I've raised an issue against Haven't read this fully, but this conversation seems related. It seems the problem is with the specific line
which comes from this line of the template spec. By removing this line from the spec, the chart will render correctly: The line is at: So to write out the chart we can run: (Splink 3.9.2 onwards)
(Prior to Splink 3.9.1 )
|
Beta Was this translation helpful? Give feedback.
This appears to be an bug somewhere in the
vl_convert
package since the spec does not produce an error in the vega editor.I've raised an issue against
vl-convert-python
so hopefully this will be fixed (or they'll let me know if we're doing something wrong in Splink)Haven't read this fully, but this conversation seems related.
It seems the problem is with the specific line
which comes from this line of the template spec.
By removing this line from the spec, the chart will render correctly:
The line is at:
spec.layer[0].layer[1].encoding.x.axis.labelExpr
So to write out the chart we can run:
(Splink …