Skip to content

Commit

Permalink
allow for datetime as x axis type (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kafisatz authored and sglyon committed Oct 3, 2019
1 parent e212bd8 commit 1fb217a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traces_layouts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ abstract type AbstractShape <: AbstractLayoutAttribute end
kind(::AbstractPlotlyAttribute) = "PlotlyAttribute"

# TODO: maybe loosen some day
const _Scalar = Union{Date,Number,AbstractString,Symbol}
const _Scalar = Union{DateTime,Date,Number,AbstractString,Symbol}

# ------ #
# Shapes #
Expand Down

0 comments on commit 1fb217a

Please sign in to comment.