You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the possibility to label the first group of series differently than the second one, while still retaining the individual serie label.
If I add to the first group of series label="Production of " or to the second one label="Consumption of " this will be substituted to the one coming from the dataframe using group.
This proposal is to consider label as a prefix and concatenate it with the label coming from the dataframe when group is used.
Alternatively a label_suffix and/or a label_postfix attribute could be introduced.
The text was updated successfully, but these errors were encountered:
I can see how it's helpful in the current example, but not that it is a general functionality we need. It would be nice with a general design for how legends should work that considers all the possibilities, but this does not seem generally useful.
In the current example, you can just do label = ("Production of " * sort(unique(df[:product]))') to get the behaviour you want.
Hello, in Julia 0.6 this workaround doesn't work any more.. nor using reshape(sort(unique(df[:product])), (1, :)) works, as the object produced
(1×2 Base.ReshapedArray{String,2,DataArrays.DataArray{String,1},Tuple{}}) is not the one expected by plots..
Consider the following example:
This print (forget here the colour issue):
It would be nice to have the possibility to label the first group of series differently than the second one, while still retaining the individual serie label.
If I add to the first group of series
label="Production of "
or to the second onelabel="Consumption of "
this will be substituted to the one coming from the dataframe using group.This proposal is to consider label as a prefix and concatenate it with the label coming from the dataframe when
group
is used.Alternatively a
label_suffix
and/or alabel_postfix
attribute could be introduced.The text was updated successfully, but these errors were encountered: