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 bounds check in expand_extrema #4718

Merged
merged 2 commits into from
Apr 11, 2023
Merged

Add bounds check in expand_extrema #4718

merged 2 commits into from
Apr 11, 2023

Conversation

ivan-boikov
Copy link
Contributor

@ivan-boikov ivan-boikov commented Apr 7, 2023

Description

Closes #4717
Theoretically could still fail since here data can be nothing and length(nothing) fails. Though it does not look like an isnothing check is required.

Attribution

@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9e683ed) 90.40% compared to head (0de85e1) 90.40%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4718   +/-   ##
=======================================
  Coverage   90.40%   90.40%           
=======================================
  Files          40       40           
  Lines        8726     8726           
=======================================
  Hits         7889     7889           
  Misses        837      837           
Impacted Files Coverage Δ
src/axes.jl 89.17% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@BeastyBlacksmith BeastyBlacksmith merged commit 0e0f117 into JuliaPlots:master Apr 11, 2023
@ivan-boikov ivan-boikov deleted the empty-vline branch April 11, 2023 20:47
BeastyBlacksmith pushed a commit that referenced this pull request Apr 17, 2023
* General annotation improvements, fixed 2D and added 3D annotations

* Generalize locate_annotation

* Thank you, reviewdog, very cool

* Formatting

* Formatting, again

* Bump peter-evans/create-pull-request from 4 to 5 (#4720)

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add bounds check in expand_extrema (#4718)

* Add bounds check in expand_extrema

* Stupid mistake

* Annotations in 3D, general annotation improvement

* Formatting

* Tuples for arrays of known length

Co-authored-by: t-bltg <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: t-bltg <[email protected]>
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.

vline! on empty vector gives BoundsError
2 participants