Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix default formatter in ColorBar and update related test. Fix issue (bug ) #12618#14553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
shashank1225 wants to merge1 commit intobokeh:branch-3.9
base:branch-3.9
Choose a base branch
Loading
fromshashank1225:fix-colorbar-formatter-test

Conversation

@shashank1225
Copy link

This PR fixes an issue where ColorBar tick labels showed overly precise decimal values (like 0.7000000000000001) when no formatter was provided. To improve the default output, we added a NumeralTickFormatter(format="0.00") as the default formatter using the Override method in the ColorBar class. This ensures cleaner and more readable tick labels. As a result of this fix, the test test_ColorBar in test_annotations.py was failing since it expected the formatter to be "auto". The test was updated to assert that the default formatter is a NumeralTickFormatter and its format is "0.00".

@codecov
Copy link

codecovbot commentedJul 11, 2025
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Pleaseupload report for BASE (branch-3.8@ef3540c).Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff              @@##             branch-3.8   #14553   +/-   ##=============================================  Coverage              ?   93.24%           =============================================  Files                 ?      284             Lines                 ?    20240             Branches              ?        0           =============================================  Hits                  ?    18872             Misses                ?     1368             Partials              ?        0
🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mattpapmattpap changed the base branch frombranch-3.8 tobranch-3.9August 29, 2025 13:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@shashank1225

[8]ページ先頭

©2009-2025 Movatter.jp