Skip to content

Set custom tooltip for plotly and other fixes #323

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2025
Merged

Set custom tooltip for plotly and other fixes #323

merged 1 commit into from
Aug 16, 2025

Conversation

aloctavodia
Copy link
Contributor

@aloctavodia aloctavodia commented Aug 15, 2025

closes #318

  • Customize tooltips to improve readability: 1) use two significant digits, 2) y value in a new line
  • Fix tooltip for (sqrt transformation) rootogram, now correctly shows the values for the data in the original scale.
  • remove borders from hspan and vspan
  • fix missing band in plot_compare when using plotly backend.

📚 Documentation preview 📚: https://arviz-plots--323.org.readthedocs.build/en/323/

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.03%. Comparing base (c6c4f2f) to head (afcfc69).

Files with missing lines Patch % Lines
src/arviz_plots/backend/plotly/__init__.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
- Coverage   88.07%   88.03%   -0.05%     
==========================================
  Files          46       46              
  Lines        5659     5673      +14     
==========================================
+ Hits         4984     4994      +10     
- Misses        675      679       +4     

☔ 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.

@aloctavodia aloctavodia requested a review from OriolAbril August 15, 2025 08:07
@aloctavodia aloctavodia merged commit c16be99 into main Aug 16, 2025
4 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.

reduce the default number of decimal places for plotly tooltips
3 participants