matplotlib-scalebar icon indicating copy to clipboard operation
matplotlib-scalebar copied to clipboard

Better control of ScaleBar thickness.

Open anntzer opened this issue 6 months ago • 2 comments

Closes #69. There is a slight backwards incompatibility regarding the rcParams (I just brutally replace the scalebar.width_fraction entry by scalebar.thickness), which is rather annoying to make fully backcompatible. But I can try to improve on that if that's something you care about and if you agree about the rest of the general design.

Open questions:

  • Should width_fraction be deprecated?
  • Should length_fraction get the same treatment? If so, should fixed_value/fixed_units be rolled into length, e.g. as length=(1, "um")?

anntzer avatar Jul 01 '25 20:07 anntzer

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

:x: Patch coverage is 81.57895% with 7 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 89.35%. Comparing base (2c57173) to head (a319330). :warning: Report is 14 commits behind head on master.

Files with missing lines Patch % Lines
matplotlib_scalebar/scalebar.py 81.57% 7 Missing :warning:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   91.46%   89.35%   -2.12%     
==========================================
  Files           3        3              
  Lines         422      479      +57     
==========================================
+ Hits          386      428      +42     
- Misses         36       51      +15     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Jul 01 '25 20:07 codecov-commenter

@ppinard Kindly bumping?

anntzer avatar Aug 28 '25 15:08 anntzer