Skip to content

Commit e39da0b

Browse files
committed
Set default autoRender to false
1 parent 5cf104b commit e39da0b

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

lib/node_modules/@stdlib/plot/components/svg/rug/examples/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ var rug = require( './../lib' );
2424
// Create a new rug component:
2525
var opts = {
2626
'data': [ 0.10, 0.50, 0.90 ],
27-
'orientation': 'bottom'
27+
'orientation': 'bottom',
28+
'autoRender': true
2829
};
2930
var r = rug( opts );
3031

lib/node_modules/@stdlib/plot/components/svg/rug/lib/defaults.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"autoRender": true,
2+
"autoRender": false,
33
"color": "#aaa",
44
"data": [],
55
"isDefined": null,

lib/node_modules/@stdlib/plot/components/svg/rug/lib/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var PRIVATE_PROPS = [
5757
*
5858
* @constructor
5959
* @param {Options} [options] - constructor options
60-
* @param {boolean} [options.autoRender=true] - indicates whether to re-render on a change event
60+
* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
6161
* @param {(string|Function)} [options.color="#aaa"] - color
6262
* @param {ArrayLike} [options.data=[]] - data
6363
* @param {Function} [options.isDefined] - predicate function indicating whether a datum is defined
@@ -165,7 +165,7 @@ inherit( Rug, EventEmitter );
165165
* @memberof Rug.prototype
166166
* @type {boolean}
167167
* @throws {TypeError} must be a boolean primitive
168-
* @default true
168+
* @default false
169169
*
170170
* @example
171171
* var node = new Rug({

lib/node_modules/@stdlib/plot/components/svg/symbols/examples/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ var symbols = require( './../lib' );
2525
var sym = symbols({
2626
'x': [0.10, 0.50, 0.90],
2727
'y': [0.43, 0.37, 0.53],
28-
'symbol': 'open-circle'
28+
'symbol': 'open-circle',
29+
'autoRender': true
2930
});
3031

3132
// Render as a virtual DOM tree:

lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"autoRender": true,
2+
"autoRender": false,
33
"color": "#000",
44
"isDefined": null,
55
"label": "",

lib/node_modules/@stdlib/plot/components/svg/symbols/lib/symbols.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ var PRIVATE_PROPS = [
6969
* @param {(string|Function)} [options.color] - color
7070
* @param {(string|Function)} [options.label] - label
7171
* @param {(NonNegativeInteger|Function)} [options.size=6] - symbol size
72-
* @param {boolean} [options.autoRender=true] - indicates whether to re-render on a change event
72+
* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
7373
* @throws {TypeError} must provide valid options
7474
* @returns {Symbols} Symbols instance
7575
*
@@ -420,7 +420,7 @@ Object.defineProperty( Symbols.prototype, 'label', {
420420
* @memberof Symbols.prototype
421421
* @type {boolean}
422422
* @throws {TypeError} must be a boolean primitive
423-
* @default true
423+
* @default false
424424
*
425425
* @example
426426
* var symbols = new Symbols({

0 commit comments

Comments
 (0)