title: matplotlib Basemap plotting lat/long coordinates incorrectly
body: <p>I am trying to learn matplotlib and the mapping function Basemap, and am trying to plot a simple list of lat/long coordinates on a map. However, the Basemap coordinate conversion to simple x/y coordinates are plotting points wildly off the map, and I can't work out why. My code is below:</p>
  
  <pre><code>locationData = parseFile(locationFile)
  
  fig = plt.figure(figsize=(8,8))
  m = Basemap(projection='merc', resolution='h',
              llcrnrlat=49, llcrnrlon=-13.5,
              urcrnrlat=59.5, urcrnrlon=4)
  m.drawcoastlines()
  m.drawmapboundary(fill_color='aqua')
  m.fillcontinents(color='green', lake_color='aqua')
  
  index=0
  for entry in locationData:
      lat = entry["latitudeE7"]/1E7
      long = entry["longitudeE7"]/1E7
      x,y = m(lat, long)
      print("Plotting {} {} to x{} y{}".format(lat,long,x,y))
      plt.plot(x,y, 'ok', markersize=20)
      # break at 30 points for testing
      if index&gt;30: break
      index+=1
  plt.show()
  </code></pre>
  
  <p>And here is the output I get from the print statement:</p>
  
  <pre><code>Plotting 52.------- 1.------- to x79364--.------- y-31476--.-------
  Plotting 52.------- 1.------- to x79368--.------- y-31475--.-------
  Plotting 52.------- 1.------- to x79362--.------- y-31471--.-------
  Plotting 52.------- 1.------- to x79361--.------- y-31472--.-------
  Plotting 52.------- 1.------- to x79360--.------- y-31475--.-------
  Plotting 52.------- 1.------- to x79365--.------- y-31476--.-------
  Plotting 52.------- 1.------- to x79361--.------- y-31476--.-------
  ...
  </code></pre>
  
  <p>I've censored the exact values for obvious reasons, but you can see that the intended values of 52°N 1°E which points to the UK are being placed wildly off chart, which is of the UK. Expanding the map to the whole globe reveals that it is plotting the points off the north coast of Madagascar.</p>
  
  <p>I am taking the coordinates from a Google Location History download, then dividing it by 10^7 as they are stored as integers. The print statement shows that these are being parsed correctly.</p>
  
  <p>I am new to matplotlib and basemap, and am running Python 3.6 on Windows 10. Any help?</p>
  
  <p>edit - posted my old code my mistake</p>