Added comments about possible alternate solutions
This commit is contained in:
parent
e9e6750481
commit
9ab4c31d5c
@ -94,6 +94,8 @@ function attr!(axis::Axis, args...; kw...)
|
|||||||
for vi in v
|
for vi in v
|
||||||
discrete_value!(axis, vi)
|
discrete_value!(axis, vi)
|
||||||
end
|
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})
|
elseif k == :lims && isa(v, Tuple{Date,Date})
|
||||||
plotattributes[k] = (v[1].instant.periods.value, v[2].instant.periods.value)
|
plotattributes[k] = (v[1].instant.periods.value, v[2].instant.periods.value)
|
||||||
elseif k == :lims && isa(v, Tuple{DateTime,DateTime})
|
elseif k == :lims && isa(v, Tuple{DateTime,DateTime})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user