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

Standardize colors across API #283

Merged
merged 6 commits into from Aug 12, 2020
Merged

Conversation

skoudoro
Copy link
Contributor

@skoudoro skoudoro commented Aug 6, 2020

The goal of this PR is to standardize colors across the API [0 -1]

fix #271
fix #242
fix #243
supersede and fix #269

This PR should be merged after #282

@skoudoro skoudoro added the type:Bug Fix Something isn't working label Aug 6, 2020
@skoudoro skoudoro added this to the 0.6.1 milestone Aug 6, 2020
@codecov
Copy link

codecov bot commented Aug 6, 2020

Codecov Report

Merging #283 into master will decrease coverage by 0.15%.
The diff coverage is 77.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #283      +/-   ##
==========================================
- Coverage   88.90%   88.75%   -0.16%     
==========================================
  Files          19       19              
  Lines        4959     4827     -132     
  Branches      644      630      -14     
==========================================
- Hits         4409     4284     -125     
+ Misses        385      382       -3     
+ Partials      165      161       -4     
Impacted Files Coverage Δ
fury/window.py 78.42% <16.66%> (-0.96%) ⬇️
fury/actor.py 93.01% <100.00%> (ø)
fury/primitive.py 89.39% <100.00%> (+0.24%) ⬆️
fury/utils.py 85.86% <100.00%> (+0.22%) ⬆️
fury/ui.py 88.08% <0.00%> (-0.28%) ⬇️

fury/utils.py Outdated
colors: (Nx3) ndarray
N is equal to the number of lines. Every line is coloured with a
different RGB color.
colors: (Mx3) or (Mx4) ndarray
Copy link
Contributor

Choose a reason for hiding this comment

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

Nx3 or Nx4

@Garyfallidis Garyfallidis merged commit 670b5aa into fury-gl:master Aug 12, 2020
@skoudoro skoudoro deleted the normalize-colors branch August 12, 2020 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Bug Fix Something isn't working
Projects
None yet
2 participants