kde_map_grid = (ggplot() + geom_tile(df_grid,aes(x='long',y='lat',fill='kde'),size=0.1) + geom_map(js,fill='none',color='gray',size=0.3) + scale_fill_cmap(cmap_name='Spectral_r',name='kde_value', breaks=[0.05,0.10,0.15,0.2,0.25], )+ scale_x_continuous(breaks=[117,1...
scale_x/y_contimous()scale_x/y_log10()scale_x/y_sqrt()scale_x/y_reverse()scale_x/y_date()scale_x/y_datetime()scale_x/y_time() scale_x/y_discrete() colour:轮廓颜色度量 fill:填充颜色度量 scale_fill_cmap() scale_color/fill_continuous() sacle_fill_distiller() scale_color/fill_g...
'scale_colour_hue', 'scale_colour_identity', 'scale_colour_manual', 'scale_colour_ordinal', 'scale_fill_brewer', 'scale_fill_cmap', 'scale_fill_cmap_d', 'scale_fill_continuous', 'scale_fill_datetime', 'scale_fill_desaturate', 'scale_fill_discrete', 'scale_fill_distiller', 'scale_fi...
ax=plt.subplots(figsize=(6,4),dpi=130)cm=plt.cm.get_cmap('Spectral_r')vmin=nj_data["PM2.5"].min()vmax=nj_data["PM2.5"].max()js.plot(fc="none",ec="black",ax=ax,lw=.5,zorder=2)scatter=ax.scatter(nj_data['经度'],nj_data["纬度"]...