Plots.jl: PGFPlots legend problem with groupedbar

Created on 31 Oct 2017  路  4Comments  路  Source: JuliaPlots/Plots.jl

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:
groupedbar

enhancement

Most helpful comment

Ill look later tonight.

All 4 comments

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

skaermbillede 2017-10-31 kl 16 06 54

Any ideas for how to implement this @pkofod ? :-)

Ill look later tonight.

Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ereday picture ereday  路  3Comments

GravityAssisted picture GravityAssisted  路  5Comments

jebej picture jebej  路  4Comments

apalugniok picture apalugniok  路  3Comments

lstagner picture lstagner  路  5Comments