Open annehulsey opened 1 year ago
I found the relevant code via search link but when I add it in my local package, I still get the same error.
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
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'.