adding min : 0 to query plot