Skip to content

Correct way of using an existing palette in a plot #718

Closed Answered by DamianoPellegrini
DamianoPellegrini asked this question in Q&A
Discussion options

You must be logged in to vote

This seems to be a solution, I was missing the stroke: true in the palette function:

plot-style: i => (fill: none, ..cetz.plot.default-plot-style(i), ..tango(i, stroke: true)),

Not really clear from the documentation/manual, I had to read the source code and #repr results in order to find this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DamianoPellegrini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant