Open HathewayWill opened 1 week ago
This code used to work prior to 5.1.1
feature = cfeature.NaturalEarthFeature( category=category, scale=scale, facecolor=facecolor, edgecolor=edgecolor, linewidth=linewidth, name=name, zorder=zorder, alpha=alpha, ) ax.add_feature(feature) # List of features to add features = [("physical", "10m", cfeature.COLORS["land"], "black", 0.50, "minor_islands"), ("physical", "10m", "none", "black", 0.50, "coastline"), ("physical", "10m", cfeature.COLORS["water"], None, None, "ocean_scale_rank", 2), ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes"), ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_lake_centerlines"), ("cultural", "10m", "none", "grey", 1.00, "admin_1_states_provinces", None, 0.70), ("cultural", "10m", "none", "black", 1.00, "admin_0_countries"), ("cultural", "10m", "none", "black", 0.60, "admin_2_counties", None, 0.50), ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_north_america", None, 0.75), ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_australia", None, 0.75), ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_europe", None, 0.75), ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes_north_america", None, 0.75), ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes_australia", None, 0.75), ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes_europe", None, 0.75)]
But now the 10m states and provinces cannot be found by cfeature.NaturalEarthFeature. I think there is a link or something missing. Because the website can direct download it but the cfeature cannot.
It can find the 50m states and provinces though
This code used to work prior to 5.1.1
But now the 10m states and provinces cannot be found by cfeature.NaturalEarthFeature. I think there is a link or something missing. Because the website can direct download it but the cfeature cannot.
It can find the 50m states and provinces though