Skip to content
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

Add residualplot! and lplot! for histogram single fits #2

Merged
merged 4 commits into from
Feb 20, 2025
Merged

Conversation

fhagemann
Copy link
Contributor

@fhagemann fhagemann commented Feb 20, 2025

This lplot! method allows to plot the report of a histogram single fit using LegendSpecFits:

using LegendMakie
using CairoMakie
using LegendSpecFits

result, report = LegendSpecFits.fit_single_trunc_gauss(randn(10000), (low = -4.0, high = 4.0, max = NaN))
lplot(report, xlabel = "x")

image

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.25%. Comparing base (34e0573) to head (6a40fad).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #2       +/-   ##
===========================================
+ Coverage   70.42%   84.25%   +13.83%     
===========================================
  Files           5        7        +2     
  Lines          71      108       +37     
===========================================
+ Hits           50       91       +41     
+ Misses         21       17        -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fhagemann fhagemann merged commit 7ac3a15 into main Feb 20, 2025
10 checks passed
@fhagemann fhagemann deleted the singlefits branch February 20, 2025 05:10
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.

1 participant