diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index c0c6e05e..4995feb5 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -149,8 +149,6 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend}) # treat segments segments = iter_segments(series) segment_opt = PGFPlotsX.Options() - # @show get_markerstrokecolor(opt, 1) - # @show get_markercolor(opt,1) for (i, rng) in enumerate(segments) seg_args = (arg[rng] for arg in args) segment_opt = merge( segment_opt, pgfx_linestyle(opt, i) ) diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index 7a8c320a..5ffd62c8 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -37,11 +37,10 @@ end axis = Plots.pgfx_axes(pl.o)[1] @test count( x->x isa PGFPlotsX.LegendEntry, axis.contents ) == 5 @test count( x->x isa PGFPlotsX.Plot, axis.contents ) == 104 # each marker is its own plot - marker = axis.contents[5] + marker = axis.contents[14] @test marker isa PGFPlotsX.Plot - @show marker.options.dict |> keys - @test marker.options["mark"] == "none" - @test marker.options["mark options"]["color"] == convert(RGBA{Float64}, colorant"green") + @test marker.options["mark"] == "*" + @test marker.options["mark options"]["color"] == RGBA{Float64}( colorant"green", 0.8) @test marker.options["mark options"]["line width"] == 1 # TODO: marker stroke color is incorrect