From 4456579577458d80bb82c59c23ec195e7f06b07d Mon Sep 17 00:00:00 2001 From: Benoit Pasquier Date: Mon, 24 Feb 2020 14:25:28 -0800 Subject: [PATCH] Fix histogram fix :) --- src/UnitfulRecipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnitfulRecipes.jl b/src/UnitfulRecipes.jl index a25c2a9..42b694e 100644 --- a/src/UnitfulRecipes.jl +++ b/src/UnitfulRecipes.jl @@ -16,7 +16,7 @@ key_unit(axis) = Symbol("xyz"[axis], "unit") function recipe!(attr, arr) fixscatterattributes!(attr) - if attr[:seriestype] == :histogram + if get(attr, :seriestype, nothing) == :histogram resolve_axis!(attr, arr, 1) else resolve_axis!(attr, arr, 2)