Skip to content

Improve chart and table display API#171

Merged
AndrewSazonov merged 10 commits into
developfrom
display-ux
May 14, 2026
Merged

Improve chart and table display API#171
AndrewSazonov merged 10 commits into
developfrom
display-ux

Conversation

@AndrewSazonov
Copy link
Copy Markdown
Member

This change makes display commands easier to discover and use in notebooks. Experiment patterns, parameter tables, fit reports, and Bayesian plots are grouped under project.display, while renderer settings move to project.rendering.

@AndrewSazonov AndrewSazonov added the [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) label May 14, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

❌ Patch coverage is 73.84988% with 108 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.29%. Comparing base (3467c72) to head (79b53fb).

Files with missing lines Patch % Lines
src/easydiffraction/project/display.py 70.85% 44 Missing and 21 partials ⚠️
src/easydiffraction/display/plotting.py 63.33% 18 Missing and 4 partials ⚠️
...iffraction/project/categories/rendering/default.py 88.05% 5 Missing and 3 partials ⚠️
src/easydiffraction/display/plotters/plotly.py 41.66% 6 Missing and 1 partial ⚠️
src/easydiffraction/display/plotters/ascii.py 0.00% 2 Missing and 1 partial ⚠️
src/easydiffraction/io/cif/serialize.py 71.42% 1 Missing and 1 partial ⚠️
src/easydiffraction/project/project_info.py 66.66% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #171      +/-   ##
===========================================
- Coverage    86.75%   86.29%   -0.46%     
===========================================
  Files          157      158       +1     
  Lines        11829    12138     +309     
  Branches      1347     1394      +47     
===========================================
+ Hits         10262    10475     +213     
- Misses        1082     1154      +72     
- Partials       485      509      +24     
Flag Coverage Δ
integration 70.68% <61.25%> (-0.41%) ⬇️
unittests 77.80% <71.18%> (-0.35%) ⬇️

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

Files with missing lines Coverage Δ
src/easydiffraction/__main__.py 83.33% <100.00%> (ø)
src/easydiffraction/analysis/analysis.py 86.89% <100.00%> (-0.20%) ⬇️
...raction/analysis/categories/constraints/default.py 98.41% <100.00%> (+0.33%) ⬆️
src/easydiffraction/display/plotters/base.py 96.82% <100.00%> (+0.05%) ⬆️
...ffraction/project/categories/rendering/__init__.py 100.00% <100.00%> (ø)
...iffraction/project/categories/rendering/factory.py 100.00% <100.00%> (ø)
src/easydiffraction/project/project.py 89.56% <100.00%> (+0.23%) ⬆️
src/easydiffraction/project/project_info.py 88.33% <66.66%> (+0.40%) ⬆️
src/easydiffraction/io/cif/serialize.py 84.44% <71.42%> (ø)
src/easydiffraction/display/plotters/ascii.py 79.77% <0.00%> (-0.46%) ⬇️
... and 4 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

[scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant