Would be good to have reproducible test case, I've been plotting dates in Gadfly quite happily.
On Friday, October 17, 2014 6:09:52 PM UTC-4, Dan Luu wrote: > > I independently ran into this. I was just doing exploratory stuff and > didn't care if my plot looked good, so I just converted dates to unix > times and plotted against those. That might not be so great if you > care about having a pretty plot, though. > > On Tue, Oct 7, 2014 at 7:56 PM, Arshak Navruzyan <[email protected] > <javascript:>> wrote: > > I am getting an error trying to plot a date type. I've tried both Dates > > package and Datetime > > > > > > df[:datetime] > > > > 31371-element DataArray{DateTime{ISOCalendar,Zone109},1}: > > 2014-10-06T22:40:00 PDT > > 2014-10-06T22:40:01 PDT > > 2014-10-06T22:40:02 PDT > > > > > > p3 = plot(df, > > layer(x=:datetime, y=:left, Geom.line, color=:state) > > ) > > > > > > `one` has no method matching one(::Type{DateTime{ISOCalendar,Zone109}}) > > > > in optimize_ticks_typed at > > /Users/arshakn/.julia/v0.3/Gadfly/src/ticks.jl:67 > > in optimize_ticks at /Users/arshakn/.julia/v0.3/Gadfly/src/ticks.jl:62 > > in apply_statistic at > > /Users/arshakn/.julia/v0.3/Gadfly/src/statistics.jl:615 > > in apply_statistics at > > /Users/arshakn/.julia/v0.3/Gadfly/src/statistics.jl:37 > > in render at /Users/arshakn/.julia/v0.3/Gadfly/src/Gadfly.jl:673 > > in writemime at /Users/arshakn/.julia/v0.3/Gadfly/src/Gadfly.jl:802 > > in sprint at iostream.jl:229 > > in display_dict at > > /Users/arshakn/.julia/v0.3/IJulia/src/execute_request.jl:31 > > > > >
