diff --git a/.eslintrc b/.eslintrc index dffe72f974e..b852aafd41d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -55,6 +55,7 @@ "no-floating-decimal": [2], "space-infix-ops": [2, {"int32Hint": true}], "quotes": [2, "single"], + "quote-props": ["error", "as-needed"], "dot-notation": [2], "dot-location": [2, "property"], "operator-linebreak": [2, "after"], diff --git a/devtools/regl_codegen/server.js b/devtools/regl_codegen/server.js index 5a3f5975b62..e7b2c0e3f02 100644 --- a/devtools/regl_codegen/server.js +++ b/devtools/regl_codegen/server.js @@ -207,9 +207,17 @@ function handleCodegen(data) { var pathToReglCodegenSrc = constants.pathToReglCodegenSrc; var pathToReglPrecompiledSrc = path.join(constants.pathToSrc, 'traces', trace, 'regl_precompiled.js'); - var header = '\'use strict\';\n'; + var header = [ + '\'use strict\';', + '', + ].join('\n'); var imports = ''; - var exports = '\nmodule.exports = {\n'; + var exports = [ + '', + '/* eslint-disable quote-props */', + 'module.exports = {', + '', + ].join('\n'); var varId = 0; Object.entries(generated).forEach(function(kv) { diff --git a/lib/locales/.eslintrc b/lib/locales/.eslintrc new file mode 100644 index 00000000000..34cd337b564 --- /dev/null +++ b/lib/locales/.eslintrc @@ -0,0 +1,6 @@ +{ + "extends": "../.eslintrc", + "rules": { + "quote-props": ["error", "consistent"] + } +} diff --git a/src/components/annotations/draw_arrow_head.js b/src/components/annotations/draw_arrow_head.js index a1f4ab305ff..4dc94642328 100644 --- a/src/components/annotations/draw_arrow_head.js +++ b/src/components/annotations/draw_arrow_head.js @@ -127,7 +127,7 @@ module.exports = function drawArrowHead(el3, ends, options) { d3.select(el.parentNode).append('path') .attr({ - 'class': el3.attr('class'), + class: el3.attr('class'), d: arrowHeadStyle.path, transform: strTranslate(p.x, p.y) + diff --git a/src/components/calendars/index.js b/src/components/calendars/index.js index 5e04c04d665..21dbfbac2e2 100644 --- a/src/components/calendars/index.js +++ b/src/components/calendars/index.js @@ -97,23 +97,23 @@ var DFLTRANGE = { */ var UNKNOWN = '##'; var d3ToWorldCalendars = { - 'd': {'0': 'dd', '-': 'd'}, // 2-digit or unpadded day of month - 'e': {'0': 'd', '-': 'd'}, // alternate, always unpadded day of month - 'a': {'0': 'D', '-': 'D'}, // short weekday name - 'A': {'0': 'DD', '-': 'DD'}, // full weekday name - 'j': {'0': 'oo', '-': 'o'}, // 3-digit or unpadded day of the year - 'W': {'0': 'ww', '-': 'w'}, // 2-digit or unpadded week of the year (Monday first) - 'm': {'0': 'mm', '-': 'm'}, // 2-digit or unpadded month number - 'b': {'0': 'M', '-': 'M'}, // short month name - 'B': {'0': 'MM', '-': 'MM'}, // full month name - 'y': {'0': 'yy', '-': 'yy'}, // 2-digit year (map unpadded to zero-padded) - 'Y': {'0': 'yyyy', '-': 'yyyy'}, // 4-digit year (map unpadded to zero-padded) - 'U': UNKNOWN, // Sunday-first week of the year - 'w': UNKNOWN, // day of the week [0(sunday),6] + d: {0: 'dd', '-': 'd'}, // 2-digit or unpadded day of month + e: {0: 'd', '-': 'd'}, // alternate, always unpadded day of month + a: {0: 'D', '-': 'D'}, // short weekday name + A: {0: 'DD', '-': 'DD'}, // full weekday name + j: {0: 'oo', '-': 'o'}, // 3-digit or unpadded day of the year + W: {0: 'ww', '-': 'w'}, // 2-digit or unpadded week of the year (Monday first) + m: {0: 'mm', '-': 'm'}, // 2-digit or unpadded month number + b: {0: 'M', '-': 'M'}, // short month name + B: {0: 'MM', '-': 'MM'}, // full month name + y: {0: 'yy', '-': 'yy'}, // 2-digit year (map unpadded to zero-padded) + Y: {0: 'yyyy', '-': 'yyyy'}, // 4-digit year (map unpadded to zero-padded) + U: UNKNOWN, // Sunday-first week of the year + w: UNKNOWN, // day of the week [0(sunday),6] // combined format, we replace the date part with the world-calendar version // and the %X stays there for d3 to handle with time parts - 'c': {'0': 'D M d %X yyyy', '-': 'D M d %X yyyy'}, - 'x': {'0': 'mm/dd/yyyy', '-': 'mm/dd/yyyy'} + c: {0: 'D M d %X yyyy', '-': 'D M d %X yyyy'}, + x: {0: 'mm/dd/yyyy', '-': 'mm/dd/yyyy'} }; function worldCalFmt(fmt, x, calendar) { diff --git a/src/components/color/index.js b/src/components/color/index.js index c10ce0b1d4a..e114ae3b1a4 100644 --- a/src/components/color/index.js +++ b/src/components/color/index.js @@ -75,13 +75,13 @@ color.contrast = function(cstr, lightAmount, darkAmount) { color.stroke = function(s, c) { var tc = tinycolor(c); - s.style({'stroke': color.tinyRGB(tc), 'stroke-opacity': tc.getAlpha()}); + s.style({stroke: color.tinyRGB(tc), 'stroke-opacity': tc.getAlpha()}); }; color.fill = function(s, c) { var tc = tinycolor(c); s.style({ - 'fill': color.tinyRGB(tc), + fill: color.tinyRGB(tc), 'fill-opacity': tc.getAlpha() }); }; diff --git a/src/components/colorscale/scales.js b/src/components/colorscale/scales.js index 496687cce06..7230f458bc7 100644 --- a/src/components/colorscale/scales.js +++ b/src/components/colorscale/scales.js @@ -3,11 +3,11 @@ var tinycolor = require('tinycolor2'); var scales = { - 'Greys': [ + Greys: [ [0, 'rgb(0,0,0)'], [1, 'rgb(255,255,255)'] ], - 'YlGnBu': [ + YlGnBu: [ [0, 'rgb(8,29,88)'], [0.125, 'rgb(37,52,148)'], [0.25, 'rgb(34,94,168)'], [0.375, 'rgb(29,145,192)'], [0.5, 'rgb(65,182,196)'], [0.625, 'rgb(127,205,187)'], @@ -15,7 +15,7 @@ var scales = { [1, 'rgb(255,255,217)'] ], - 'Greens': [ + Greens: [ [0, 'rgb(0,68,27)'], [0.125, 'rgb(0,109,44)'], [0.25, 'rgb(35,139,69)'], [0.375, 'rgb(65,171,93)'], [0.5, 'rgb(116,196,118)'], [0.625, 'rgb(161,217,155)'], @@ -23,7 +23,7 @@ var scales = { [1, 'rgb(247,252,245)'] ], - 'YlOrRd': [ + YlOrRd: [ [0, 'rgb(128,0,38)'], [0.125, 'rgb(189,0,38)'], [0.25, 'rgb(227,26,28)'], [0.375, 'rgb(252,78,42)'], [0.5, 'rgb(253,141,60)'], [0.625, 'rgb(254,178,76)'], @@ -31,32 +31,32 @@ var scales = { [1, 'rgb(255,255,204)'] ], - 'Bluered': [ + Bluered: [ [0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)'] ], // modified RdBu based on // http://www.kennethmoreland.com/color-maps/ - 'RdBu': [ + RdBu: [ [0, 'rgb(5,10,172)'], [0.35, 'rgb(106,137,247)'], [0.5, 'rgb(190,190,190)'], [0.6, 'rgb(220,170,132)'], [0.7, 'rgb(230,145,90)'], [1, 'rgb(178,10,28)'] ], // Scale for non-negative numeric values - 'Reds': [ + Reds: [ [0, 'rgb(220,220,220)'], [0.2, 'rgb(245,195,157)'], [0.4, 'rgb(245,160,105)'], [1, 'rgb(178,10,28)'] ], // Scale for non-positive numeric values - 'Blues': [ + Blues: [ [0, 'rgb(5,10,172)'], [0.35, 'rgb(40,60,190)'], [0.5, 'rgb(70,100,245)'], [0.6, 'rgb(90,120,245)'], [0.7, 'rgb(106,137,247)'], [1, 'rgb(220,220,220)'] ], - 'Picnic': [ + Picnic: [ [0, 'rgb(0,0,255)'], [0.1, 'rgb(51,153,255)'], [0.2, 'rgb(102,204,255)'], [0.3, 'rgb(153,204,255)'], [0.4, 'rgb(204,204,255)'], [0.5, 'rgb(255,255,255)'], @@ -65,7 +65,7 @@ var scales = { [1, 'rgb(255,0,0)'] ], - 'Rainbow': [ + Rainbow: [ [0, 'rgb(150,0,90)'], [0.125, 'rgb(0,0,200)'], [0.25, 'rgb(0,25,255)'], [0.375, 'rgb(0,152,255)'], [0.5, 'rgb(44,255,150)'], [0.625, 'rgb(151,255,0)'], @@ -73,42 +73,42 @@ var scales = { [1, 'rgb(255,0,0)'] ], - 'Portland': [ + Portland: [ [0, 'rgb(12,51,131)'], [0.25, 'rgb(10,136,186)'], [0.5, 'rgb(242,211,56)'], [0.75, 'rgb(242,143,56)'], [1, 'rgb(217,30,30)'] ], - 'Jet': [ + Jet: [ [0, 'rgb(0,0,131)'], [0.125, 'rgb(0,60,170)'], [0.375, 'rgb(5,255,255)'], [0.625, 'rgb(255,255,0)'], [0.875, 'rgb(250,0,0)'], [1, 'rgb(128,0,0)'] ], - 'Hot': [ + Hot: [ [0, 'rgb(0,0,0)'], [0.3, 'rgb(230,0,0)'], [0.6, 'rgb(255,210,0)'], [1, 'rgb(255,255,255)'] ], - 'Blackbody': [ + Blackbody: [ [0, 'rgb(0,0,0)'], [0.2, 'rgb(230,0,0)'], [0.4, 'rgb(230,210,0)'], [0.7, 'rgb(255,255,255)'], [1, 'rgb(160,200,255)'] ], - 'Earth': [ + Earth: [ [0, 'rgb(0,0,130)'], [0.1, 'rgb(0,180,180)'], [0.2, 'rgb(40,210,40)'], [0.4, 'rgb(230,230,50)'], [0.6, 'rgb(120,70,20)'], [1, 'rgb(255,255,255)'] ], - 'Electric': [ + Electric: [ [0, 'rgb(0,0,0)'], [0.15, 'rgb(30,0,100)'], [0.4, 'rgb(120,0,100)'], [0.6, 'rgb(160,90,0)'], [0.8, 'rgb(230,200,0)'], [1, 'rgb(255,250,220)'] ], - 'Viridis': [ + Viridis: [ [0, '#440154'], [0.06274509803921569, '#48186a'], [0.12549019607843137, '#472d7b'], [0.18823529411764706, '#424086'], [0.25098039215686274, '#3b528b'], [0.3137254901960784, '#33638d'], @@ -120,7 +120,7 @@ var scales = { [1, '#fde725'] ], - 'Cividis': [ + Cividis: [ [0.000000, 'rgb(0,32,76)'], [0.058824, 'rgb(0,42,102)'], [0.117647, 'rgb(0,52,110)'], [0.176471, 'rgb(39,63,108)'], [0.235294, 'rgb(60,74,107)'], [0.294118, 'rgb(76,85,107)'], diff --git a/src/components/drawing/index.js b/src/components/drawing/index.js index 0472b7fc823..9e680f17999 100644 --- a/src/components/drawing/index.js +++ b/src/components/drawing/index.js @@ -428,9 +428,9 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, linewidth = solidity * size; patternTag = 'path'; patternAttrs = { - 'd': path, - 'opacity': opacity, - 'stroke': fgRGB, + d: path, + opacity: opacity, + stroke: fgRGB, 'stroke-width': linewidth + 'px' }; break; @@ -443,9 +443,9 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, linewidth = solidity * size; patternTag = 'path'; patternAttrs = { - 'd': path, - 'opacity': opacity, - 'stroke': fgRGB, + d: path, + opacity: opacity, + stroke: fgRGB, 'stroke-width': linewidth + 'px' }; break; @@ -461,9 +461,9 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, linewidth = size - size * Math.sqrt(1.0 - solidity); patternTag = 'path'; patternAttrs = { - 'd': path, - 'opacity': opacity, - 'stroke': fgRGB, + d: path, + opacity: opacity, + stroke: fgRGB, 'stroke-width': linewidth + 'px' }; break; @@ -475,9 +475,9 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, linewidth = solidity * size; patternTag = 'path'; patternAttrs = { - 'd': path, - 'opacity': opacity, - 'stroke': fgRGB, + d: path, + opacity: opacity, + stroke: fgRGB, 'stroke-width': linewidth + 'px' }; break; @@ -489,9 +489,9 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, linewidth = solidity * size; patternTag = 'path'; patternAttrs = { - 'd': path, - 'opacity': opacity, - 'stroke': fgRGB, + d: path, + opacity: opacity, + stroke: fgRGB, 'stroke-width': linewidth + 'px' }; break; @@ -504,9 +504,9 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, linewidth = size - size * Math.sqrt(1.0 - solidity); patternTag = 'path'; patternAttrs = { - 'd': path, - 'opacity': opacity, - 'stroke': fgRGB, + d: path, + opacity: opacity, + stroke: fgRGB, 'stroke-width': linewidth + 'px' }; break; @@ -520,11 +520,11 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, } patternTag = 'circle'; patternAttrs = { - 'cx': width / 2, - 'cy': height / 2, - 'r': radius, - 'opacity': opacity, - 'fill': fgRGB + cx: width / 2, + cy: height / 2, + r: radius, + opacity: opacity, + fill: fgRGB }; break; } @@ -549,12 +549,12 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, var el = d3.select(this); el.attr({ - 'id': fullID, - 'width': width + 'px', - 'height': height + 'px', - 'patternUnits': 'userSpaceOnUse', + id: fullID, + width: width + 'px', + height: height + 'px', + patternUnits: 'userSpaceOnUse', // for legends scale down patterns just a bit so that default size (i.e 8) nicely fit in small icons - 'patternTransform': isLegend ? 'scale(0.8)' : '' + patternTransform: isLegend ? 'scale(0.8)' : '' }); if(bgcolor) { @@ -567,9 +567,9 @@ drawing.pattern = function(sel, calledBy, gd, patternID, shape, size, solidity, rects.enter() .append('rect') .attr({ - 'width': width + 'px', - 'height': height + 'px', - 'fill': bgRGB, + width: width + 'px', + height: height + 'px', + fill: bgRGB, 'fill-opacity': bgAlpha, }); } diff --git a/src/components/drawing/symbol_defs.js b/src/components/drawing/symbol_defs.js index ce99d7c430d..a0be65ffb75 100644 --- a/src/components/drawing/symbol_defs.js +++ b/src/components/drawing/symbol_defs.js @@ -668,7 +668,7 @@ module.exports = { needLine: true, noDot: true }, - 'arrow': { + arrow: { n: 53, f: function(r, angle, standoff) { if(skipAngle(angle)) return emptyPath; diff --git a/src/components/rangeselector/draw.js b/src/components/rangeselector/draw.js index 45c6deae4a8..96fe99dc1b5 100644 --- a/src/components/rangeselector/draw.js +++ b/src/components/rangeselector/draw.js @@ -116,8 +116,8 @@ function drawButtonRect(button, selectorLayout, d) { }); rect.attr({ - 'rx': constants.rx, - 'ry': constants.ry + rx: constants.rx, + ry: constants.ry }); rect.call(Color.stroke, selectorLayout.bordercolor) diff --git a/src/components/rangeslider/attributes.js b/src/components/rangeslider/attributes.js index 768df022076..0dd0a25de7b 100644 --- a/src/components/rangeslider/attributes.js +++ b/src/components/rangeslider/attributes.js @@ -40,7 +40,7 @@ module.exports = { {valType: 'any', editType: 'calc', impliedEdits: {'^autorange': false}} ], editType: 'calc', - impliedEdits: {'autorange': false}, + impliedEdits: {autorange: false}, description: [ 'Sets the range of the range slider.', 'If not set, defaults to the full xaxis range.', diff --git a/src/components/selections/draw.js b/src/components/selections/draw.js index a58370985a2..2f03948c3d5 100644 --- a/src/components/selections/draw.js +++ b/src/components/selections/draw.js @@ -113,7 +113,7 @@ function drawOne(gd, index) { var editHelpers = arrayEditor(gd.layout, 'selections', options); path.style({ - 'cursor': 'move', + cursor: 'move', }); var dragOptions = { diff --git a/src/components/shapes/draw.js b/src/components/shapes/draw.js index 64eb3e16d13..03e42e92528 100644 --- a/src/components/shapes/draw.js +++ b/src/components/shapes/draw.js @@ -143,7 +143,7 @@ function drawOne(gd, index) { if(isActiveShape) { path.style({ - 'cursor': 'move', + cursor: 'move', }); var dragOptions = { @@ -244,7 +244,7 @@ function setupDragElement(gd, shapePath, shapeOptions, index, shapeLayer, editHe g.append('path') .attr('d', shapePath.attr('d')) .style({ - 'cursor': 'move', + cursor: 'move', 'stroke-width': sensoryWidth, 'stroke-opacity': '0' // ensure not visible }); @@ -258,9 +258,9 @@ function setupDragElement(gd, shapePath, shapeOptions, index, shapeLayer, editHe g.append('circle') .attr({ 'data-line-point': 'start-point', - 'cx': xPixelSized ? x2p(shapeOptions.xanchor) + shapeOptions.x0 : x2p(shapeOptions.x0), - 'cy': yPixelSized ? y2p(shapeOptions.yanchor) - shapeOptions.y0 : y2p(shapeOptions.y0), - 'r': circleRadius + cx: xPixelSized ? x2p(shapeOptions.xanchor) + shapeOptions.x0 : x2p(shapeOptions.x0), + cy: yPixelSized ? y2p(shapeOptions.yanchor) - shapeOptions.y0 : y2p(shapeOptions.y0), + r: circleRadius }) .style(circleStyle) .classed('cursor-grab', true); @@ -268,9 +268,9 @@ function setupDragElement(gd, shapePath, shapeOptions, index, shapeLayer, editHe g.append('circle') .attr({ 'data-line-point': 'end-point', - 'cx': xPixelSized ? x2p(shapeOptions.xanchor) + shapeOptions.x1 : x2p(shapeOptions.x1), - 'cy': yPixelSized ? y2p(shapeOptions.yanchor) - shapeOptions.y1 : y2p(shapeOptions.y1), - 'r': circleRadius + cx: xPixelSized ? x2p(shapeOptions.xanchor) + shapeOptions.x1 : x2p(shapeOptions.x1), + cy: yPixelSized ? y2p(shapeOptions.yanchor) - shapeOptions.y1 : y2p(shapeOptions.y1), + r: circleRadius }) .style(circleStyle) .classed('cursor-grab', true); @@ -513,9 +513,9 @@ function setupDragElement(gd, shapePath, shapeOptions, index, shapeLayer, editHe visualCues.enter() .append('path') .attr({ - 'fill': '#fff', + fill: '#fff', 'fill-rule': 'evenodd', - 'stroke': '#000', + stroke: '#000', 'stroke-width': strokeWidth }) .classed('visual-cue', true); diff --git a/src/components/updatemenus/scrollbox.js b/src/components/updatemenus/scrollbox.js index 1b116d3392f..f223960294f 100644 --- a/src/components/updatemenus/scrollbox.js +++ b/src/components/updatemenus/scrollbox.js @@ -160,12 +160,12 @@ ScrollBox.prototype.enable = function enable(position, translateX, translateY) { if(needsHorizontalScrollBar) { this.hbar = hbar.attr({ - 'rx': ScrollBox.barRadius, - 'ry': ScrollBox.barRadius, - 'x': hbarL, - 'y': hbarT, - 'width': hbarW, - 'height': hbarH + rx: ScrollBox.barRadius, + ry: ScrollBox.barRadius, + x: hbarL, + y: hbarT, + width: hbarW, + height: hbarH }); // hbar center moves between hbarXMin and hbarXMin + hbarTranslateMax @@ -200,12 +200,12 @@ ScrollBox.prototype.enable = function enable(position, translateX, translateY) { if(needsVerticalScrollBar) { this.vbar = vbar.attr({ - 'rx': ScrollBox.barRadius, - 'ry': ScrollBox.barRadius, - 'x': vbarL, - 'y': vbarT, - 'width': vbarW, - 'height': vbarH + rx: ScrollBox.barRadius, + ry: ScrollBox.barRadius, + x: vbarL, + y: vbarT, + width: vbarW, + height: vbarH }); // vbar center moves between vbarYMin and vbarYMin + vbarTranslateMax diff --git a/src/fonts/ploticon.js b/src/fonts/ploticon.js index 90d44457266..c19aa81a2f3 100644 --- a/src/fonts/ploticon.js +++ b/src/fonts/ploticon.js @@ -1,171 +1,171 @@ 'use strict'; module.exports = { - 'undo': { - 'width': 857.1, - 'height': 1000, - 'path': 'm857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'home': { - 'width': 928.6, - 'height': 1000, - 'path': 'm786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z', - 'transform': 'matrix(1 0 0 -1 0 850)' + undo: { + width: 857.1, + height: 1000, + path: 'm857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + home: { + width: 928.6, + height: 1000, + path: 'm786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z', + transform: 'matrix(1 0 0 -1 0 850)' }, 'camera-retro': { - 'width': 1000, - 'height': 1000, - 'path': 'm518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'zoombox': { - 'width': 1000, - 'height': 1000, - 'path': 'm1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'pan': { - 'width': 1000, - 'height': 1000, - 'path': 'm1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'zoom_plus': { - 'width': 875, - 'height': 1000, - 'path': 'm1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'zoom_minus': { - 'width': 875, - 'height': 1000, - 'path': 'm0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'autoscale': { - 'width': 1000, - 'height': 1000, - 'path': 'm250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'tooltip_basic': { - 'width': 1500, - 'height': 1000, - 'path': 'm375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'tooltip_compare': { - 'width': 1125, - 'height': 1000, - 'path': 'm187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'plotlylogo': { - 'width': 1542, - 'height': 1000, - 'path': 'm0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z', - 'transform': 'matrix(1 0 0 -1 0 850)' + width: 1000, + height: 1000, + path: 'm518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + zoombox: { + width: 1000, + height: 1000, + path: 'm1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + pan: { + width: 1000, + height: 1000, + path: 'm1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + zoom_plus: { + width: 875, + height: 1000, + path: 'm1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + zoom_minus: { + width: 875, + height: 1000, + path: 'm0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + autoscale: { + width: 1000, + height: 1000, + path: 'm250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + tooltip_basic: { + width: 1500, + height: 1000, + path: 'm375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + tooltip_compare: { + width: 1125, + height: 1000, + path: 'm187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + plotlylogo: { + width: 1542, + height: 1000, + path: 'm0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z', + transform: 'matrix(1 0 0 -1 0 850)' }, 'z-axis': { - 'width': 1000, - 'height': 1000, - 'path': 'm833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z', - 'transform': 'matrix(1 0 0 -1 0 850)' + width: 1000, + height: 1000, + path: 'm833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z', + transform: 'matrix(1 0 0 -1 0 850)' }, '3d_rotate': { - 'width': 1000, - 'height': 1000, - 'path': 'm922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'camera': { - 'width': 1000, - 'height': 1000, - 'path': 'm500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'movie': { - 'width': 1000, - 'height': 1000, - 'path': 'm938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'question': { - 'width': 857.1, - 'height': 1000, - 'path': 'm500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'disk': { - 'width': 857.1, - 'height': 1000, - 'path': 'm214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'drawopenpath': { - 'width': 70, - 'height': 70, - 'path': 'M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z', - 'transform': 'matrix(1 0 0 1 -15 -15)' - }, - 'drawclosedpath': { - 'width': 90, - 'height': 90, - 'path': 'M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z', - 'transform': 'matrix(1 0 0 1 -5 -5)' - }, - 'lasso': { - 'width': 1031, - 'height': 1000, - 'path': 'm1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'selectbox': { - 'width': 1000, - 'height': 1000, - 'path': 'm0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z', - 'transform': 'matrix(1 0 0 -1 0 850)' - }, - 'drawline': { - 'width': 70, - 'height': 70, - 'path': 'M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z', - 'transform': 'matrix(1 0 0 1 -15 -15)' - }, - 'drawrect': { - 'width': 80, - 'height': 80, - 'path': 'M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z', - 'transform': 'matrix(1 0 0 1 -10 -10)' - }, - 'drawcircle': { - 'width': 80, - 'height': 80, - 'path': 'M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z', - 'transform': 'matrix(1 0 0 1 -10 -10)' - }, - 'eraseshape': { - 'width': 80, - 'height': 80, - 'path': 'M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z', - 'transform': 'matrix(1 0 0 1 -10 -10)' - }, - 'spikeline': { - 'width': 1000, - 'height': 1000, - 'path': 'M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z', - 'transform': 'matrix(1.5 0 0 -1.5 0 850)' - }, - 'pencil': { - 'width': 1792, - 'height': 1792, - 'path': 'M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z', - 'transform': 'matrix(1 0 0 1 0 1)' - }, - 'newplotlylogo': { - 'name': 'newplotlylogo', - 'svg': [ + width: 1000, + height: 1000, + path: 'm922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + camera: { + width: 1000, + height: 1000, + path: 'm500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + movie: { + width: 1000, + height: 1000, + path: 'm938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + question: { + width: 857.1, + height: 1000, + path: 'm500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + disk: { + width: 857.1, + height: 1000, + path: 'm214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + drawopenpath: { + width: 70, + height: 70, + path: 'M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z', + transform: 'matrix(1 0 0 1 -15 -15)' + }, + drawclosedpath: { + width: 90, + height: 90, + path: 'M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z', + transform: 'matrix(1 0 0 1 -5 -5)' + }, + lasso: { + width: 1031, + height: 1000, + path: 'm1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + selectbox: { + width: 1000, + height: 1000, + path: 'm0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z', + transform: 'matrix(1 0 0 -1 0 850)' + }, + drawline: { + width: 70, + height: 70, + path: 'M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z', + transform: 'matrix(1 0 0 1 -15 -15)' + }, + drawrect: { + width: 80, + height: 80, + path: 'M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z', + transform: 'matrix(1 0 0 1 -10 -10)' + }, + drawcircle: { + width: 80, + height: 80, + path: 'M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z', + transform: 'matrix(1 0 0 1 -10 -10)' + }, + eraseshape: { + width: 80, + height: 80, + path: 'M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z', + transform: 'matrix(1 0 0 1 -10 -10)' + }, + spikeline: { + width: 1000, + height: 1000, + path: 'M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z', + transform: 'matrix(1.5 0 0 -1.5 0 850)' + }, + pencil: { + width: 1792, + height: 1792, + path: 'M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z', + transform: 'matrix(1 0 0 1 0 1)' + }, + newplotlylogo: { + name: 'newplotlylogo', + svg: [ '', '', '