Open sbromberger opened 7 years ago
I think it comes from this line in PlotRecipes.jl/src/graphs.jl
:
markersize --> 10 + 100node_weights / sum(node_weights)
That markersize is an array. Then in pgf_marker
in Plots.jl/src/backends/pgfplots.jl
results in something like:
mark size = [21.6667,21.6667,21.6667],
but, PGFPlots can only take scalar mark size options. If you change the generated latex code to this:
mark size = 21.6667,
it works! Perhaps, we can change this line in Plots.jl/src/backends/pgfplots.jl
from:
mark size = $(0.5 * d[:markersize]),
to
mark size = $(0.5 * maximum(d[:markersize])),
That's a good solution - though I'd suggest mark size = $(0.5 * ignorenan_mean(d[:markersize]))
So many intertwined dependencies - not sure where to report this.
also