update comment

This commit is contained in:
Daniel Schwabeneder 2020-03-18 01:28:29 +01:00
parent 89e271bd91
commit b60007cde9

View File

@ -180,7 +180,7 @@ _apply_type_recipe(plotattributes, v) = RecipesBase.apply_recipe(plotattributes,
function _apply_type_recipe(plotattributes, v::AbstractArray) function _apply_type_recipe(plotattributes, v::AbstractArray)
# First we try to apply an array type recipe. # First we try to apply an array type recipe.
w = RecipesBase.apply_recipe(plotattributes, typeof(v), v)[1].args[1] w = RecipesBase.apply_recipe(plotattributes, typeof(v), v)[1].args[1]
# If the type did not change try it element-wise # If it did not change try it element-wise
if v == w if v == w
isempty(skipmissing(v)) && return Float64[] isempty(skipmissing(v)) && return Float64[]
x = first(skipmissing(v)) x = first(skipmissing(v))