Skip to content

Commit

Permalink
Support AbstractVectors as NumericalAesthetics
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcaine committed Jul 9, 2019
1 parent d58343a commit 7fa1eee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/aesthetics.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
const NumericalOrCategoricalAesthetic =
Union{Nothing, Vector, IndirectArray}

const CategoricalAesthetic =
Union{Nothing, IndirectArray}

const NumericalAesthetic =
Union{Nothing, Matrix, Vector}
Union{Nothing, AbstractMatrix, AbstractVector}

const NumericalOrCategoricalAesthetic =
Union{CategoricalAesthetic, NumericalAesthetic}

@varset Aesthetics begin
x, Union{NumericalOrCategoricalAesthetic, Distribution}
Expand Down

0 comments on commit 7fa1eee

Please sign in to comment.