disable plotting of xtics if more than 50
allowing plot_histogram of empty datasets