I feel as though I’m probably missing something obvious, but there don’t seem to be a lot of examples for bar plots in Makie that don’t point you back towards AoG. How can I get these bars to be properly dodged? Here is the code I wrote, and included is an example result. I just want one data set on the left and the other on the right. Nothing fancy. Any help is greatyly appreciated.
You need to set ndodge if the dodge vectors don’t all contain the largest index, because that’s what’s used by default. Barplot 1 sees a dodge group with ndodge=1 which is no dodge. Barplot 2 sees 2 as the highest value so that one’s dodged correctly. AoG sets this stuff based on the categorical scale it determines globally.