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 keyword argument start_from to AnalysisCallback plot recipe #87

Merged
merged 3 commits into from
Feb 2, 2024

Conversation

JoshuaLampert
Copy link
Owner

This adds a kwarg start_from when plotting the integrals/errors of the AnalysisCallback, which can especially be useful when plotting loglog plots to exclude the first entry, which is usually zero.

Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ccb42cb) 96.12% compared to head (b2ee43e) 96.12%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #87   +/-   ##
=======================================
  Coverage   96.12%   96.12%           
=======================================
  Files          17       17           
  Lines        1110     1111    +1     
=======================================
+ Hits         1067     1068    +1     
  Misses         43       43           

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

@JoshuaLampert JoshuaLampert requested a review from ranocha February 1, 2024 18:56
Copy link
Collaborator

@ranocha ranocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea 👍

src/visualization.jl Show resolved Hide resolved
@JoshuaLampert JoshuaLampert enabled auto-merge (squash) February 2, 2024 08:47
@JoshuaLampert JoshuaLampert merged commit 0a9e9bc into main Feb 2, 2024
13 checks passed
@JoshuaLampert JoshuaLampert deleted the plot-error-start-from branch February 2, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants