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 support for explicit Colorants #29

Merged
merged 2 commits into from
May 19, 2024

Conversation

timholy
Copy link
Contributor

@timholy timholy commented May 19, 2024

Allow residue colors to be specified by explicit Colorant values, e.g.,
RGBA(1, 0, 0, 0.5).

Allow residue colors to be specified by explicit Colorant values, e.g.,
`RGBA(1, 0, 0, 0.5)`.
@AntonOresten
Copy link
Member

Thanks for the pull request! I made some changes to reuse the rendering code by setting the colormap to be the colorant vector (overriding the colormap) + fixed an old issue with residue coloring.
Please note that the splines don't behave quite right at the ends of segments, so residue colors might not be aligned with the actual residue positions. See #30

@AntonOresten AntonOresten merged commit ab4312a into MurrellGroup:main May 19, 2024
1 check passed
@timholy timholy deleted the teh/colorant branch May 20, 2024 12:50
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