MCPcopy Index your code
hub / github.com/bqplot/bqplot / get_color

Method get_color

js/src/MarketMap.ts:921–923  ·  view source on GitHub ↗
(index, length)

Source from the content-addressed store, hash-verified

919 }
920
921 get_color(index, length) {
922 return this.colors[index % length];
923 }
924
925 set_row_limits() {
926 const step = Math.floor(this.num_rows / this.row_groups);

Callers 1

update_dataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected