For instance, \legend in a pgfplots bar chart. But in general, it would help as well.
In this particular case because I'm trying to build a legend outside an axis environment.
I was hoping there'd be a better way than to go trawling through all of GitHubs folders.
\show\commandbut when I tried it with\legendit came up as undefined – JamesT May 11 '23 at 10:00