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

Embedding Projector: fix tooltips #6325

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -625,17 +625,22 @@ export const template = html`
</paper-dialog>
</div>
<paper-checkbox id="normalize-data-checkbox" checked="{{normalizeData}}">
Sphereize data
<paper-icon-button icon="help" class="help-icon"></paper-icon-button>
<paper-tooltip
position="bottom"
animation-delay="0"
fit-to-visible-bounds
>
The data is normalized by shifting each point by the centroid and making
it unit norm.
</paper-tooltip>
Spherize data
</paper-checkbox>
<paper-icon-button
id="normalize-data-help"
icon="help"
class="help-icon"
></paper-icon-button>
<paper-tooltip
for="normalize-data-help"
position="bottom"
animation-delay="0"
fit-to-visible-bounds
>
The data is normalized by shifting each point by the centroid and making
it unit norm.
</paper-tooltip>
<div class="dirs">
<table>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,42 +142,30 @@ export const template = html`
<div id="main">
<div class="ink-panel-header">
<div class="ink-tab-group">
<div data-tab="umap" id="umap-tab" class="ink-tab projection-tab">
<div
data-tab="umap"
id="umap-tab"
class="ink-tab projection-tab"
title="Uniform manifold approximation and projection"
>
UMAP
</div>
<paper-tooltip
for="umap-tab"
position="bottom"
animation-delay="0"
fit-to-visible-bounds
<div
data-tab="tsne"
id="tsne-tab"
class="ink-tab projection-tab"
title="t-distributed stochastic neighbor embedding"
>
uniform manifold approximation and projection
</paper-tooltip>

<div data-tab="tsne" id="tsne-tab" class="ink-tab projection-tab">
t-SNE
</div>
<paper-tooltip
for="tsne-tab"
position="bottom"
animation-delay="0"
fit-to-visible-bounds
<div
data-tab="pca"
id="pca-tab"
class="ink-tab projection-tab"
title="Principal component analysis"
>
t-distributed stochastic neighbor embedding
</paper-tooltip>

<div data-tab="pca" id="pca-tab" class="ink-tab projection-tab">
PCA
</div>
<paper-tooltip
for="pca-tab"
position="bottom"
animation-delay="0"
fit-to-visible-bounds
>
Principal component analysis
</paper-tooltip>

<div
data-tab="custom"
id="custom-tab"
Expand All @@ -186,14 +174,6 @@ export const template = html`
>
Custom
</div>
<paper-tooltip
for="custom-tab"
position="bottom"
animation-delay="0"
fit-to-visible-bounds
>
Search for two vectors upon which to project all points.
</paper-tooltip>
</div>
</div>
<div class="container">
Expand Down