PGFPlots does not correctly show the series in the legend with groupedbar from StatPlots.jl. The legend only shows black lines for each series instead of colored rectangles.
Code to reproduce:
using Plots, StatPlots
pgfplots()
groupedbar(rand(10,3), bar_position = :stack)
Output:

It appears pgfplots can do this (from the pgfplots manual)

Any ideas for how to implement this @pkofod ? :-)
Ill look later tonight.
Thank you very much!
Most helpful comment
Ill look later tonight.