Skip to content

Commit 5fad1db

Browse files
mromanelli9Marco Romanelli
authored andcommitted
projector: fix label/color legend (tensorflow#5974)
## Motivation for features / changes Inside the projector plugin, a legend for labels/colors should appear when selecting a field from the "Color by" drop-down menu yet is not displayed. ## Technical description of changes The `dom-if` property is misconfigured for the `vz-projector-legend` template. Co-authored-by: Marco Romanelli <[email protected]>
1 parent 5b857a7 commit 5fad1db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorboard/plugins/projector/vz_projector/vz-projector-data-panel.html.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export const template = html`
347347
coloring by a given metadata field.
348348
</paper-tooltip>
349349
</div>
350-
<template dom-if="[[colorLegendRenderInfo]]">
350+
<template is="dom-if" if="[[colorLegendRenderInfo]]">
351351
<vz-projector-legend
352352
render-info="[[colorLegendRenderInfo]]"
353353
></vz-projector-legend>

0 commit comments

Comments
 (0)