Skip to content

Conversation

@cvanelteren
Copy link
Collaborator

Summary

  • Reapply the log formatter when log scales are set and rc["formatter.log"] is enabled.
  • Ensure ax.format(yscale="log") and ax.set_yscale("log") keep the log formatter.
  • Add a focused test for the new behavior.

Testing

  • pytest ultraplot/tests/test_plot.py::test_format_log_scale_preserves_log_formatter

Closes #436

@codecov
Copy link

codecov bot commented Dec 29, 2025

Codecov Report

❌ Patch coverage is 95.45455% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ultraplot/axes/cartesian.py 92.00% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@cvanelteren cvanelteren requested a review from beckermr December 29, 2025 23:19
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: formatter.log=True not respected in ax.format

1 participant