'top': [(minx, maxy), (maxx, maxy)],}
return sgeom.LineString(points[side])
def lambert_xticks...(ax, ticks):
"""Draw ticks on the bottom x-axis of a Lambert Conformal projection."""...lambda t, n, b: np.vstack((np.zeros(n) + t, np.linspace(b[2], b[3], n))).T
xticks, xticklabels = _lambert_ticks...lambda t, n, b: np.vstack((np.linspace(b[0], b[1], n), np.zeros(n) + t)).T
yticks, yticklabels = _lambert_ticks...(ax, xticks)
lambert_yticks(ax, yticks)
# 叠加shp
ax.add_geometries(Reader(shp_path).geometries