I was plotting the simplest of histograms (observations by year) in Stata 14 and finding that the histogram plot was lumping the last year (2016) into the next-to-last year (2015). For example, the following code generates the tabulation and histogram below. What is going on here?

clear all
set obs 200
set seed 10
gen year = floor(runiform(2010,2017))
tab year
histogram year, start(2010) width(1)

Array

Array