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

Update a few cases where array indices are assumed #521

Merged
merged 3 commits into from
Dec 13, 2022
Merged

Update a few cases where array indices are assumed #521

merged 3 commits into from
Dec 13, 2022

Conversation

brenhinkeller
Copy link
Contributor

This may not be everything, but a few simple cases that were easy to update

@codecov
Copy link

codecov bot commented May 21, 2022

Codecov Report

Merging #521 (57a24b3) into master (b550b7b) will decrease coverage by 0.23%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #521      +/-   ##
==========================================
- Coverage   94.33%   94.09%   -0.24%     
==========================================
  Files           9        9              
  Lines        1270     1271       +1     
==========================================
- Hits         1198     1196       -2     
- Misses         72       75       +3     
Impacted Files Coverage Δ
src/colormaps.jl 96.87% <100.00%> (+0.02%) ⬆️
src/utilities.jl 95.23% <0.00%> (-1.10%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b550b7b...57a24b3. Read the comment docs.

@Roger-luo
Copy link
Contributor

@johnnychen94 should this be merged too?

@johnnychen94 johnnychen94 merged commit 638cefd into JuliaGraphics:master Dec 13, 2022
@brenhinkeller
Copy link
Contributor Author

Hooray!

johnnychen94 pushed a commit that referenced this pull request Dec 15, 2022
* Since `seed::AbstractVector`, don't assume array index

* Replace `1:length` with `eachindex` in for loop

* Fix index calculation in distinguishable_colors
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.

3 participants