zero should not be used in min/max calculation
plot empty datasets without throwing exceptions