I solved it like this:
x,y=map(Clon,Clat) [ax.annotate(s=nme,xy=(xp,yp),color="gray",alpha=0.5,fontsize=6) for nme,xp,yp in zip(Cname,x,y)
but I still donβt understand why I need to convert the x and y coordinates with the map (Clon, Clat), because actually Clon and Clat should represent llcrnrlon Lower left angular geographic longitude and llcrnrlat Geographic latitude values ββof the lower left corner, if I following the syntax of the basemap method:
mpl_toolkits.basemap.Basemap (llcrnrlon = None, llcrnrlat = No, urcrnrlon = None, urcrnrlat = None, llcrnrx = None, llcrnry = None, urcrnrx = None, urcrnry = None, width = None, width = None width = resolution = c, area_thresh = None, rsphere = 6370997.0, ellps = None, lat_ts = None, lat_1 = None, lat_2 = None, lat_0 = None, lon_0 = None, lon_1 = None, lon_2 = None, o_lon_p = None, o_lat_p = None, k_0 = No, no_rot = False, suppress_ticks = True, satellite_height = 35786000, boundinglat = None, fix_aspect = True, anchor = C, celestial = False, round = False, epsg = None, ax = None)
but I did not do this with:
Clat=Form_Cities["lat"].values Clon=Form_Cities["lon"].values
or I'm wrong?
Can anyone explain this to me?