You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, one should be able to set the linestyle in sanskey, but it generates an error. E.g., when running
importgeopandasasgpdimportgeoplotasgpltimportgeoplot.crsasgcrsimportmatplotlib.pyplotaspltdc_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.
The text was updated successfully, but these errors were encountered: