According to the documentation, one should be able to set the linestyle in sanskey, but it generates an error. E.g., when running
import geopandas as gpd
import geoplot as gplt
import geoplot.crs as gcrs
import matplotlib.pyplot as plt
dc_roads = gpd.read_file(gplt.datasets.get_path('dc_roads'))
gplt.sankey(dc_roads,
projection=gcrs.AlbersEqualArea(),
color='black',
linestyle='-.'
)
plt.title("Streets in Washington DC by Average Daily Traffic, 2015")
I get
I also tried using the kwargs dictionary as suggested in the docs/help, but still get an error:
According to the documentation, one should be able to set the
linestyle
insanskey
, but it generates an error. E.g., when runningI get
I also tried using the
kwargs
dictionary as suggested in the docs/help, but still get an error:Did I misunderstand the documentation or is there something wrong? Any help would be appreciated.