Don't crash when there is no data to plot