Skip to content

dep: fix deprecated function usage in examples - #112

Merged
sbillinge merged 11 commits into
diffpy:mainfrom
cadenmyers13:update-dep-funcs
Aug 12, 2026
Merged

dep: fix deprecated function usage in examples#112
sbillinge merged 11 commits into
diffpy:mainfrom
cadenmyers13:update-dep-funcs

Conversation

@cadenmyers13

@cadenmyers13 cadenmyers13 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

closes #103

Fixed all the deprecation warnings in the examples. Ran all examples and everything ran as expected.

Also updated pre-commit hooks to the latest

@cadenmyers13

Copy link
Copy Markdown
Contributor Author

@sbillinge ready for review. After this, can we do a minor release of cmi before the software fayre?

@sbillinge

Copy link
Copy Markdown
Contributor

Yes! Looks good but it is failing tests in CI. I remember this fair from before but I don't remember the fix

@cadenmyers13

Copy link
Copy Markdown
Contributor Author

@sbillinge ah me too. I'm heading home I can try to remember what is happening. Then we can try to push out a quick release!

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.63%. Comparing base (74e9d6c) to head (d72e765).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #112   +/-   ##
=======================================
  Coverage   93.63%   93.63%           
=======================================
  Files           4        4           
  Lines         220      220           
=======================================
  Hits          206      206           
  Misses         14       14           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbillinge
sbillinge merged commit 1c03e58 into diffpy:main Aug 12, 2026
7 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.

style: Update all examples to use the plot_recipe() method from FitRecipe

2 participants