Skip to content

Conversation

@cvanelteren
Copy link
Collaborator

@cvanelteren cvanelteren commented Sep 15, 2025

Closes #345

This PR sanitizes the labelpad/size params or x and y axis.

Changes:

  • explicitly sanitize the ticklen, ticklabelpad, tickwidth, labelsize, ticklabelsize within the loop of Cartesian axes.
  • Add unittest for setting labelpad and or size

@cvanelteren cvanelteren changed the title sanitize and add tests Sanitize pad and len formatters on Cartesian Axes Sep 15, 2025
@cvanelteren cvanelteren requested a review from Copilot September 15, 2025 07:17

This comment was marked as resolved.

@codecov
Copy link

codecov bot commented Sep 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cvanelteren cvanelteren enabled auto-merge (squash) September 19, 2025 10:38
@cvanelteren
Copy link
Collaborator Author

Going ahead an merging this as it is minor enough.

@cvanelteren cvanelteren merged commit 73838c0 into Ultraplot:main Sep 19, 2025
25 checks passed
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.

Bug when setting pad length with unit

1 participant