How to make `barplot` in makie show different fill styles?

I want the bars in a barplot to have different fill styles instead of just being filled with a solid color. For example, I want to have grid-like stripes, zebra stripes with two alternating colors, and so on. How can I achieve this?

Thanks!

barplot(1:3, color = Pattern("/", background_color = :red, linecolor = :cyan))

But you need one barplot per pattern I think, I don’t think arrays are currently supported

1 Like

Nice! Thanks!