title: histogram breaks out of range
body: <p>I have the code below;</p>
  
  <p>breakPoints &lt;- seq(from = 0, to = 1500000, by = 10000)</p>
  
  <p>hist(movies$Votes, breaks = breakPoints, main = "Votes distribution", col = "pink", xlab = "Votes")</p>
  
  <p>and I get the error:</p>
  
  <p>Error in hist.default(movies$Votes, breaks = breakPoints, main = "Votes distribution",  : 
    some 'x' not counted; maybe 'breaks' do not span range of 'x'</p>
  
  <p><a href="https://i.stack.imgur.com/McsnR.png" rel="nofollow noreferrer">enter image description here</a></p>