`map.scatter` on basemap not displaying markers
问题 I have a map of Germany, and the coords of a few cities. plot displays the dots properly. I would like to use scatter instead, in order to be able to color the markets with respect to an other variable and then display a colorbar . The code runs in the console, but the dots are not visualized when I replace map.plot with map.scatter . from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt import numpy as np plt.figure(1) map = Basemap(projection='merc', resolution='l',