Hi,
First of all, huge thank you for this amazing package!
Here is a simple example that illustrates my issue. I'm plotting two lines in the following way:
pgfplotsx()
default(legendfonthalign = :left,
xtickfontsize = 18,
ytickfontsize = 18,
legendfontsize = 18,
xlabelfontsize = 18,
ylabelfontsize = 18,
markersize = 10,
linewidth = 3,
size = (600, 400))
y = rand(100,2)
plot(y, legend=:topright)
Sometimes my legendfontsize needs to be large, but then the labels start overlaping with each other. In Tikz one can fix this by increasing the gap between the labels by adding {row sep={2.5pt}} inside legend style set of options. This can be easily done in my previous example with
plot(y, legend=:topright, legend_style = PGFPlotsX.Options("row sep" =>"2.5pt"),extra_kwargs = :subplot)
Now, when I save my tikz figure I do see the new option. The problem is that
legend_style = PGFPlotsX.Options("row sep" =>"2.5pt"),extra_kwargs = :subplot
deletes all my legend options (the default ones by Tikz and the ones I specify in default()). It'd be great if there was a way to just add an option, while keeping the default ones.
Thanks again!