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

How to add plotting scale? #1247

Closed
hengcall0 opened this issue Dec 23, 2018 · 1 comment
Closed

How to add plotting scale? #1247

hengcall0 opened this issue Dec 23, 2018 · 1 comment

Comments

@hengcall0
Copy link

Description

Code to reproduce


Traceback


Full environment definition

Operating system

Cartopy version

conda list

pip list

@pelson
Copy link
Member

pelson commented Dec 26, 2018

Please see the GitHub suggestions for the best way to get help with this kind of question https://github.com/SciTools/cartopy/blob/master/.github/SUPPORT.md. Something like StackOverflow would be a far better medium for such a question. There are also several such questions available on the internet - the top two google hits for "cartopy scale bar" are https://stackoverflow.com/questions/32333870/how-can-i-show-a-km-ruler-on-a-cartopy-matplotlib-plot and #490.

Finally, I think it is pretty likely that cartopy will gain such functionality built-in. I have a prototype in a branch, with and example of usage in https://github.com/pelson/cartopy/blob/scalebar/lib/cartopy/examples/scalebar.py. (this requires installing cartopy from source, using my branch to test).

@pelson pelson closed this as completed Dec 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants