Skip to content

Fix powder chart y-axis range and clarify planning workflow#166

Merged
AndrewSazonov merged 3 commits intodevelopfrom
powder-chart-y-range
May 6, 2026
Merged

Fix powder chart y-axis range and clarify planning workflow#166
AndrewSazonov merged 3 commits intodevelopfrom
powder-chart-y-range

Conversation

@AndrewSazonov
Copy link
Copy Markdown
Member

This PR fixes powder diffraction charts that were being truncated on the
main intensity view by deriving the y-axis from the measured,
calculated, and background intensities with consistent padding, while
preserving the residual plot’s matched scaling.

@AndrewSazonov AndrewSazonov added the [scope] bug Bug report or fix (major.minor.PATCH) label May 6, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

❌ Patch coverage is 92.30769% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.52%. Comparing base (b955261) to head (52bc7fc).

Files with missing lines Patch % Lines
src/easydiffraction/display/plotters/plotly.py 92.30% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #166      +/-   ##
===========================================
+ Coverage    88.51%   88.52%   +0.01%     
===========================================
  Files          154      154              
  Lines         9435     9442       +7     
  Branches       979      981       +2     
===========================================
+ Hits          8351     8359       +8     
+ Misses         763      762       -1     
  Partials       321      321              
Flag Coverage Δ
integration 74.41% <7.69%> (-0.05%) ⬇️
unittests 80.44% <92.30%> (+0.02%) ⬆️

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 ca825c4 into develop May 6, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] bug Bug report or fix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant