Skip to content

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jul 1, 2025

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")?

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")`?
@codecov-commenter
Copy link

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

Codecov Report

Attention: Patch coverage is 83.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 89.62%. Comparing base (2c57173) to head (890dedf).
Report is 14 commits behind head on master.

Files with missing lines Patch % Lines
matplotlib_scalebar/scalebar.py 83.33% 6 Missing ⚠️

❗ 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.62%   -1.85%     
==========================================
  Files           3        3              
  Lines         422      482      +60     
==========================================
+ Hits          386      432      +46     
- Misses         36       50      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@anntzer
Copy link
Contributor Author

anntzer commented Aug 28, 2025

@ppinard Kindly bumping?

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

Successfully merging this pull request may close these issues.

Specify scalebar thickness in fixed units
2 participants