Skip to content

Colorbar tick fontsize reduction and scientific notation consistency#246

Merged
Jammy2211 merged 3 commits intomainfrom
feature/visualization_clean_up
Apr 2, 2026
Merged

Colorbar tick fontsize reduction and scientific notation consistency#246
Jammy2211 merged 3 commits intomainfrom
feature/visualization_clean_up

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • Reduce default colorbar tick label fontsize (22 → 18) across all package and workspace configs
  • Add _to_scientific() helper for Unicode ×10 notation (e.g. 4.3×10⁴) without LaTeX
  • Fix colorbar notation inconsistency: central tick no longer shows plain decimal when outer ticks show ×10 notation
  • Sync missing colormap, ticks, contour, colorbar config sections to workspace configs

Test plan

  • Pre-existing test failure (test__inversion_subplot_of_mapper) confirmed unrelated — fails on clean main too
  • Run python -m pytest test_autoarray/ -x -q and confirm no new failures
  • Visually inspect a colorbar spanning zero to confirm all three ticks use consistent notation

🤖 Generated with Claude Code

Jammy2211 and others added 3 commits April 2, 2026 09:34
- Reduce default colorbar tick labelsize from 22 → 18 (both single-figure and subplot)
- Add _to_scientific() helper for Unicode ×10 notation (e.g. 4.3×10⁴)
- Fix colorbar tick notation inconsistency: when any tick uses ×10 notation,
  all non-zero ticks are normalised to the same notation so the central tick
  never shows plain decimal while outer ticks show scientific

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 772294f into main Apr 2, 2026
0 of 8 checks passed
@Jammy2211 Jammy2211 deleted the feature/visualization_clean_up branch April 2, 2026 11:29
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.

1 participant