From 5d3ae1de3104458b8edb5cdb33c4489fff7452f3 Mon Sep 17 00:00:00 2001 From: Lakshya Khatri Date: Tue, 28 Jul 2020 21:23:10 +0530 Subject: [PATCH] Add recipe for pixel seriestype --- src/recipes.jl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/recipes.jl b/src/recipes.jl index cfcb9390..f9c1b744 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -174,6 +174,14 @@ end end @deps scatterpath path scatter +@recipe function f(::Type{Val{:pixel}}, x, y, z) + x := x + y := y + markersize := 1 + markerstrokewidth := 0 + seriestype := :scatter + () +end # --------------------------------------------------------------------------- # steps