MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / buildColorPalette

Function buildColorPalette

tensorboard/webapp/settings/testing.ts:49–63  ·  view source on GitHub ↗
(
  override: Partial<ColorPalette> = {}
)

Source from the content-addressed store, hash-verified

47}
48
49export function buildColorPalette(
50 override: Partial<ColorPalette> = {}
51): ColorPalette {
52 return {
53 id: 'testing',
54 name: 'Testing color',
55 colors: [
56 {name: 'color1', lightHex: '#000', darkHex: '#aaa'},
57 {name: 'color2', lightHex: '#111', darkHex: '#bbb'},
58 {name: 'color3', lightHex: '#222', darkHex: '#ccc'},
59 ],
60 inactive: {name: 'color4', lightHex: '#333', darkHex: '#ddd'},
61 ...override,
62 };
63}

Callers 3

createComponentFunction · 0.90
buildStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…