-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add blit support and fix documentation #22
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22 +/- ##
==========================================
+ Coverage 52.07% 52.15% +0.07%
==========================================
Files 4 4
Lines 603 604 +1
==========================================
+ Hits 314 315 +1
Misses 289 289
Continue to review full report at Codecov.
|
* ``SI_LENGTH_RECIPROCAL``: scale bar showing 1/m, 1/cm, etc. | ||
* ``PIXEL_LENGTH``: scale bar showing px, kpx, Mpx, etc. | ||
* a ``matplotlib_scalebar.dimension._Dimension`` object | ||
* ``si-length``: scale bar showing km, m, cm, etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree this was confusing. SI_LENGTH actually refers to a module variable, which could have been imported along the ScaleBar class, but you are write I am sure most people uses the string.
Thanks for the review, your comments should have been addressed. |
I am looking at using
matplotlib-scalebar
inhyperspy
as a replacement of the current implementation of the scalebar and a few tweaks are needed to make it work.Using this scalebar is much simpler and nicer than the current implementation of the scalebar in hyperspy. It also fixed a few bugs.