matplotlib-scalebar
matplotlib-scalebar copied to clipboard
Update scalebar.py
Formalizes the changes suggested by altanir84 in https://github.com/ppinard/matplotlib-scalebar/issues/39 to add support for bbox_to_anchor Additionally implements get_window_extent
Thank you @ilopata1 for the PR and my apologies I forgot that there was a pending PR. Some comments above.
Codecov Report
Merging #40 (43eac39) into master (4e4dfd0) will increase coverage by
0.24%. The diff coverage is100.00%.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@ Coverage Diff @@
## master #40 +/- ##
==========================================
+ Coverage 91.21% 91.46% +0.24%
==========================================
Files 3 3
Lines 410 422 +12
==========================================
+ Hits 374 386 +12
Misses 36 36
| Impacted Files | Coverage Δ | |
|---|---|---|
| matplotlib_scalebar/scalebar.py | 91.96% <100.00%> (+0.29%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
I've manually edited scalebar.py so I can get this functionality in the current release. Is there an ETA as to when this will be merged and available via pip? I note the issue was first reported in 2021.