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

Combine original and transformed scatter plots into a single plot #29

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

alesgenova
Copy link
Member

No description provided.

@alesgenova alesgenova force-pushed the scatter-plot-improvements branch from 6c17bae to 125edf5 Compare February 14, 2024 19:31
Copy link
Collaborator

@vicentebolea vicentebolea left a 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'
Copy link
Collaborator

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 []) :
Copy link
Collaborator

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'
Copy link
Collaborator

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.

Comment on lines +272 to +273
const range: Vector2<number> = [0, 1]
const scale = linearScale(colorMapDomain.value, range)
Copy link
Collaborator

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

@vicentebolea vicentebolea merged commit 4913c95 into main Feb 14, 2024
10 checks passed
@vicentebolea vicentebolea deleted the scatter-plot-improvements branch February 14, 2024 22:44
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