add .gitignore.
fix line plot binning and datetime treatment.