Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot cast array data from dtype('S4') to dtype('float64') according to the rule 'safe' #1

Open
trungdtbk opened this issue Nov 12, 2017 · 0 comments

Comments

@trungdtbk
Copy link

I use basemap-1.1.0. I got this exception. I figure out it is probably because of these methods in PrintoMap():
self.wmap.drawcoastlines(linewidth = '0.75')
self.wmap.drawcountries(linewidth = '0.75')

When I remove the quote marks, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant