make it even more descriptive

This commit is contained in:
Daniel Schwabeneder 2017-09-02 23:19:29 +02:00
parent b3f5939689
commit ae6c1c0c66

View File

@ -1276,7 +1276,8 @@ end
# -----------------------------------------------------------------------------
has_black_border_for_default(st) = error("The seriestype attribute only accepts Symbols, you passed $st.")
has_black_border_for_default(st) = error("The seriestype attribute only accepts Symbols, you passed the $(typeof(st)) $st.")
has_black_border_for_default(st::Function) = error("The seriestype attribute only accepts Symbols, you passed the function $st.")
function has_black_border_for_default(st::Symbol)
like_histogram(st) || st in (:hexbin, :bar, :shape)
end