Skip to content

Improve Plotly powder plots with background and clearer hover details#164

Merged
AndrewSazonov merged 13 commits intodevelopfrom
chart-hover-labels
May 5, 2026
Merged

Improve Plotly powder plots with background and clearer hover details#164
AndrewSazonov merged 13 commits intodevelopfrom
chart-hover-labels

Conversation

@AndrewSazonov
Copy link
Copy Markdown
Member

Updates Plotly powder measured-vs-calculated plots with improved subplot sizing, matched residual scaling, clearer shared hover labels, explicit trace styling, and an optional background curve. The layout now handles Bragg tick rows more predictably while keeping the main chart easier to read.

@AndrewSazonov AndrewSazonov self-assigned this May 5, 2026
@AndrewSazonov AndrewSazonov added the [scope] enhancement Adds/improves features (major.MINOR.patch) label May 5, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

❌ Patch coverage is 98.14815% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.51%. Comparing base (edcdd91) to head (1e2d686).

Files with missing lines Patch % Lines
src/easydiffraction/display/plotters/plotly.py 97.95% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #164      +/-   ##
===========================================
+ Coverage    88.42%   88.51%   +0.08%     
===========================================
  Files          154      154              
  Lines         9364     9435      +71     
  Branches       972      979       +7     
===========================================
+ Hits          8280     8351      +71     
  Misses         763      763              
  Partials       321      321              
Flag Coverage Δ
integration 74.45% <38.88%> (-0.21%) ⬇️
unittests 80.42% <98.14%> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@AndrewSazonov AndrewSazonov merged commit 4839895 into develop May 5, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant