prevents negative axis limits in case of log scale for plotwitherror