diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index e2c08795..560b559a 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -364,7 +364,7 @@ end function pgfx_linestyle(plotattributes, i = 1) lw = pgfx_thickness_scaling(plotattributes) * get_linewidth(plotattributes, i) - lc = get_linecolor(plotattributes, i) + lc = single_color(get_linecolor(plotattributes, i)) la = get_linealpha(plotattributes, i) ls = get_linestyle(plotattributes, i) return pgfx_linestyle(lw, lc, la, ls) diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index 125ee529..a2a96681 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -111,6 +111,6 @@ end x + y end), color=:bluesreds, legend=false) plot(p1, p2) - # TODO: handle gradients as color + # TODO: questionable tiling end # testset end # testset