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

bbox_to_anchor keyword #57

Open
annehulsey opened this issue Sep 20, 2023 · 2 comments
Open

bbox_to_anchor keyword #57

annehulsey opened this issue Sep 20, 2023 · 2 comments

Comments

@annehulsey
Copy link

annehulsey commented Sep 20, 2023

This package is exactly what I've been looking for years, for use with geopandas. Thanks you!

Would it be possible to add the bbox_to_anchor, in addition to location? The documentation looks like it works but I got the following error: TypeError: ScaleBar.init() got an unexpected keyword argument 'bbox_to_anchor'.

@annehulsey
Copy link
Author

annehulsey commented Sep 20, 2023

I found the relevant code via search link but when I add it in my local package, I still get the same error.

@moss-xyz
Copy link

For anyone else stuck on this: seems that pip package isn't updated yet, but if you want to use the bbox keywords, you can install directly from git using this code:

pip install git+https://github.com/ppinard/matplotlib-scalebar.git

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

2 participants