Added comments about possible alternate solutions
This commit is contained in:
parent
2013215ef2
commit
c9b1de33f6
@ -94,6 +94,8 @@ function attr!(axis::Axis, args...; kw...)
|
||||
for vi in v
|
||||
discrete_value!(axis, vi)
|
||||
end
|
||||
#could perhaps use TimeType here, as Date and DateTime are both subtypes of TimeType
|
||||
# or could perhaps check if dateformatter or datetimeformatter is in use
|
||||
elseif k == :lims && isa(v, Tuple{Date,Date})
|
||||
plotattributes[k] = (v[1].instant.periods.value, v[2].instant.periods.value)
|
||||
elseif k == :lims && isa(v, Tuple{DateTime,DateTime})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user