-
Notifications
You must be signed in to change notification settings - Fork 3
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
Combine original and transformed scatter plots into a single plot #29
Conversation
6c17bae
to
125edf5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, couple of comments
@@ -0,0 +1,37 @@ | |||
import type { Vector3, Vector4 } from '../types' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of warnings here.
name="UMAP", | ||
fit_features=self.features, | ||
features=transformation_features, | ||
dims=self.state.dimensionality, | ||
) | ||
|
||
self.state.points_transformations = points_transformations[ | ||
len(self.state.points_sources or []) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I undertsand this workaround, after merging this I will modify the dimension_reducer class to handle this.
} | ||
|
||
if (props.selectedPoints.indexOf(i) > -1) { | ||
return '#bdbdbd' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about returning the toHex(color)
rather than the hex.
const range: Vector2<number> = [0, 1] | ||
const scale = linearScale(colorMapDomain.value, range) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is repeated at line 44
No description provided.