use a larger tick if data is constant
fixes #72
Merge pull request #73 from ncanceill/patch-constant_data

[Improvement] Use a larger tick if data is constant