From f39cbbdcf587938bfb8a2221521b357f8c96cb94 Mon Sep 17 00:00:00 2001 From: Lakshya Khatri Date: Wed, 29 Jul 2020 16:57:12 +0530 Subject: [PATCH] Update @deps for :pixel series type --- src/backends/pyplot.jl | 6 +++++- src/recipes.jl | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 92e4fef4..09f296dd 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -480,7 +480,11 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series) end if st == :pixel - handle = ax."plot"(x, y, ",") + handle = ax."plot"(x, y, + py_marker(:pixel), + label = series[:label], + zorder = series[:series_plotindex], + ) push!(handles, handle) end diff --git a/src/recipes.jl b/src/recipes.jl index 9b6a07cd..33e345f1 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -185,6 +185,7 @@ end markerstrokewidth --> 0 () end +@deps pixel scatter # --------------------------------------------------------------------------- # steps