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

Fixing uniform_coloring in scil_visualize_bunldes.py #672

Merged
merged 2 commits into from
Mar 6, 2023

Conversation

karanphil
Copy link
Contributor

Just a quick fix of the uniform_coloring option in scil_visualize_bunldes.py. The color was given in RGB (in range [0, 255]) but the viewer used range [0, 1], so I kept the 0 to 255 as input and divided by 255 before feeding it to the viewer. @AntoineTheb

@arnaudbore arnaudbore self-requested a review January 31, 2023 16:01
@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

@AntoineTheb AntoineTheb self-requested a review January 31, 2023 18:44
Copy link
Contributor

@AntoineTheb AntoineTheb left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @karanphil, LGTM

@frheault
Copy link
Member

@karanphil Can you update this code with master and then check if everything runs normally.
The master is now up to 3.10 (but should run in 3.8/3.9), so you may have to create a new venv.

@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

@karanphil
Copy link
Contributor Author

Works fine with python 3.10!

@arnaudbore arnaudbore merged commit a9ef1f2 into scilus:master Mar 6, 2023
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.

4 participants