MCPcopy Index your code
hub / github.com/plotly/plotly.js / fig

Function fig

test/jasmine/tests/colorscale_test.js:1102–1113  ·  view source on GitHub ↗
(mc)

Source from the content-addressed store, hash-verified

1100
1101 it('should update coloraxis cmin/cmax on color value changes', function(done) {
1102 function fig(mc) {
1103 return {
1104 data: [{
1105 mode: 'markers',
1106 y: [1, 2, 3],
1107 marker: {
1108 coloraxis: 'coloraxis',
1109 color: mc
1110 }
1111 }]
1112 };
1113 }
1114
1115 function _assert(msg, cmin, cmax) {
1116 return function() {

Callers 1

colorscale_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected