Screen Link:
https://app.dataquest.io/m/150/visualizing-geographic-data/8/customizing-the-plot-using-matplotlib
My Code:
# Add code here, before creating the Basemap instance.
fig, ax = plt.subplots(figsize= (20,15))
plt.title("Scaled Up Earth With Coastlines")
m = Basemap(projection='merc', llcrnrlat=-80, urcrnrlat=80, llcrnrlon=-180, urcrnrlon=180)
longitudes = airports["longitude"].tolist()
latitudes = airports["latitude"].tolist()
x, y = m(longitudes, latitudes)
m.scatter(x, y, s=1)
m.drawcoastlines()
plt.show()
What I expected to happen:
My answer to be accepted
What actually happened:
The answer was rejected:
Your 1st plot doesn't match what we expected
It seems the only differences between the plot I generated and the proposed one in the answer is the font-size of the tits (mine is slightly smaller). I am using the default font size.