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

Visualization Timescale and color fix. #146

Merged
merged 3 commits into from
Jan 14, 2024
Merged

Conversation

RohanPankaj
Copy link
Contributor

Added a tick_interval field to the visualize() function to allow users to have more control over the time scale. This is particularly useful when the end time is less than one. A spinbox was also added to the timescale to make adjustment easier.

Now, users are also able to specify the color of materials by using the material_colors field in visualize(). To do this, pass in a dictionary of the form {"material name":RGB} where RGB values are a list.

@ilhamv
Copy link
Collaborator

ilhamv commented Jan 12, 2024

Hi @RohanPankaj, the black-style test failed. To make it pass, you can install black and then apply it to the script that you modify.

@RohanPankaj
Copy link
Contributor Author

RohanPankaj commented Jan 12, 2024

Hey @ilhamv just applied it. See 969072e

@ilhamv ilhamv merged commit 19d6e92 into CEMeNT-PSAAP:main Jan 14, 2024
8 checks passed
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.

2 participants