Skip to content

Conversation

tectin0
Copy link
Contributor

@tectin0 tectin0 commented Aug 8, 2023

Hey there!

I noticed that someone had raised an issue regarding the removal of impl Color for f64 in a previous version (#141). I also had this issue and to be honest, I don't even know how one would use the colorscales with a scatter plot without being able to use a reference vector.

I went ahead and created a very simple pull request to reimplement it, along with impl Color for other types (f32, i64, i32, ...).

Additionally, I expanded the 3d_charts example to include a plot that showcases the now working colorscales.
I also fixed the customized_scatter3d_plot() where colorscales were not working because of this.

If there is any reason why this wouldn't just work like this please let me know.

newplot (1)

newplot (2)

@andrei-ng andrei-ng self-assigned this Jun 12, 2024
@andrei-ng
Copy link
Collaborator

andrei-ng commented Jun 19, 2024

Thanks for the PR! Will merge it.

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