Fix bounds for Date plotting in years
Fix bounds for Date plotting in years

When plotting Dates in years, Gadfly previously chose x_max as the year of the maximum date.  This would truncate any data points that are in the most recent year after January 1.

This patch changes it to be the year of the maximum date plus a year less a day, retaining the current behavior for dates that fall exactly on January one, and choosing better bounds for all other dates.

joehuchette/Gadfly.jl,zhmz90/Gadfly.jl,peter1000/Gadfly.jl,spencerlyon2/Gadfly.jl,jiahao/Gadfly.jl,Roger-luo/Gadfly.jl,dcjones/Gadfly.jl,Godisemo/Gadfly.jl,maximsch2/Gadfly.jl,JuliaPackageMirrors/Gadfly.jl,kshramt/Gadfly.jl,tbreloff/Gadfly.jl