diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/README.md b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/README.md
new file mode 100644
index 000000000000..f3fcb712152c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/README.md
@@ -0,0 +1,119 @@
+
+
+# isLineStyle
+
+> Test if an input value is a supported [line style][@stdlib/plot/base/line-styles].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isLineStyle = require( '@stdlib/plot/base/assert/is-line-style' );
+```
+
+#### isLineStyle( value )
+
+Tests if an input value is a supported [line style][@stdlib/plot/base/line-styles].
+
+```javascript
+var bool = isLineStyle( '-' );
+// returns true
+
+bool = isLineStyle( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isLineStyle = require( '@stdlib/plot/base/assert/is-line-style' );
+
+var bool = isLineStyle( '-' );
+// returns true
+
+bool = isLineStyle( '--' );
+// returns true
+
+bool = isLineStyle( '' );
+// returns false
+
+bool = isLineStyle( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/base/line-styles]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/base/line-styles
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/benchmark/benchmark.js
new file mode 100644
index 000000000000..b4512dadf40f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isLineStyle = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ '-',
+ '--',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isLineStyle( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/repl.txt b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/repl.txt
new file mode 100644
index 000000000000..dae3e0188fb8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported line style.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported line style.
+
+ Examples
+ --------
+ > var bool = {{alias}}( '-' )
+ true
+ > bool = {{alias}}( '--' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/types/index.d.ts
new file mode 100644
index 000000000000..7194e496caa8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported line style.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported line style
+*
+* @example
+* var bool = isLineStyle( '-' );
+* // returns true
+*
+* bool = isLineStyle( '--' );
+* // returns true
+*
+* bool = isLineStyle( 'bar' );
+* // returns false
+*
+* bool = isLineStyle( 'foo' );
+* // returns false
+*/
+declare function isLineStyle( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isLineStyle;
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/types/test.ts b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/types/test.ts
new file mode 100644
index 000000000000..d1104a1c7fc4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isLineStyle = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isLineStyle( '--' ); // $ExpectType boolean
+ isLineStyle( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isLineStyle(); // $ExpectError
+ isLineStyle( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/examples/index.js b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/examples/index.js
new file mode 100644
index 000000000000..5bfb90c96c8e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isLineStyle = require( './../lib' );
+
+var bool = isLineStyle( '-' );
+console.log( bool );
+// => true
+
+bool = isLineStyle( '--' );
+console.log( bool );
+// => true
+
+bool = isLineStyle( '' );
+console.log( bool );
+// => false
+
+bool = isLineStyle( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/lib/index.js b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/lib/index.js
new file mode 100644
index 000000000000..fbdde753976f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported line style.
+*
+* @module @stdlib/plot/base/assert/is-line-style
+*
+* @example
+* var isLineStyle = require( '@stdlib/plot/base/assert/is-line-style' );
+*
+* var bool = isLineStyle( '-' );
+* // returns true
+*
+* bool = isLineStyle( '--' );
+* // returns true
+*
+* bool = isLineStyle( 'bar' );
+* // returns false
+*
+* bool = isLineStyle( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/lib/main.js b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/lib/main.js
new file mode 100644
index 000000000000..ac5006f4fb74
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var lineStyles = require( '@stdlib/plot/base/line-styles' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported line style.
+*
+* @name isLineStyle
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported line style
+*
+* @example
+* var bool = isLineStyle( '-' );
+* // returns true
+*
+* bool = isLineStyle( '--' );
+* // returns true
+*
+* bool = isLineStyle( 'bar' );
+* // returns false
+*
+* bool = isLineStyle( 'foo' );
+* // returns false
+*/
+var isLineStyle = contains( lineStyles() );
+
+
+// EXPORTS //
+
+module.exports = isLineStyle;
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/package.json b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/package.json
new file mode 100644
index 000000000000..e48fc323b614
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/package.json
@@ -0,0 +1,71 @@
+{
+ "name": "@stdlib/plot/base/assert/is-line-style",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported line style.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "linestyle",
+ "line-style",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/base/assert/is-line-style/test/test.js b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/test/test.js
new file mode 100644
index 000000000000..cf7d3802571a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/assert/is-line-style/test/test.js
@@ -0,0 +1,79 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isLineStyle = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isLineStyle, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported line style', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '-',
+ '--',
+ ':',
+ '-.'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isLineStyle( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported line style', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isLineStyle( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/examples/index.js b/lib/node_modules/@stdlib/plot/base/ctor/examples/index.js
deleted file mode 100644
index 2cc86a1a5e6d..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/examples/index.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var Plot = require( './../lib' );
-
-// Create a new plot:
-var plot = new Plot({
- 'width': 600,
- 'height': 480,
- 'xScale': 'time',
- 'xTickFormat': '%H:%M',
- 'renderFormat': 'html'
-});
-
-console.log( plot.toString() );
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/defaults.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/defaults.js
deleted file mode 100644
index 4d0e929a11c3..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/defaults.js
+++ /dev/null
@@ -1,139 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNodeREPL = require( '@stdlib/assert/is-node-repl' );
-
-
-// MAIN //
-
-/**
-* Returns default options.
-*
-* @private
-* @returns {Object} default options
-*/
-function defaults() {
- var isREPL;
- var o;
-
- isREPL = isNodeREPL();
- o = {};
-
- // Boolean indicating whether to re-render on a change event:
- o.autoRender = false;
-
- // Boolean indicating whether to generate an updated view on a render event:
- o.autoView = false;
-
- // Plot description:
- o.description = '';
-
- // Rendering engine:
- o.engine = 'svg';
-
- // Plot height:
- o.height = 400; // px
-
- // Data labels:
- o.labels = [];
-
- // Line opacity:
- o.lineOpacity = 0.9; // [0,1]
-
- // Line style:
- o.lineStyle = '-';
-
- // Data line width(s):
- o.lineWidth = 2; // px
-
- // FIXME: padding props depend on orientation (may require using `null` to flag)
-
- // Bottom padding:
- o.paddingBottom = 80; // px
-
- // Left padding:
- o.paddingLeft = 90; // px
-
- // Right padding:
- o.paddingRight = 20; // px
-
- // Top padding:
- o.paddingTop = 80; // px
-
- // Render format:
- o.renderFormat = 'vdom';
-
- // Plot title:
- o.title = '';
-
- // Plot viewer:
- if ( isREPL ) {
- o.viewer = 'window';
- } else {
- o.viewer = 'none';
- }
- // Plot width:
- o.width = 400; // px
-
- // x-axis orientation:
- o.xAxisOrient = 'bottom';
-
- // x-axis label:
- o.xLabel = 'x';
-
- // Maximum value of x-axis domain:
- o.xMax = null;
-
- // Minimum value of x-axis domain:
- o.xMin = null;
-
- // Number of x-axis tick marks:
- o.xNumTicks = 5;
-
- // x-axis tick format:
- o.xTickFormat = null;
-
- // y-axis orientation:
- o.yAxisOrient = 'left';
-
- // y-axis label:
- o.yLabel = 'y';
-
- // Maximum value of y-axis domain:
- o.yMax = null;
-
- // Minimum value of y-axis domain:
- o.yMin = null;
-
- // Number of y-axis tick marks:
- o.yNumTicks = 5;
-
- // y-axis tick format:
- o.yTickFormat = null;
-
- return o;
-}
-
-
-// EXPORTS //
-
-module.exports = defaults;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/index.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/index.js
deleted file mode 100644
index 3ca3c3fc3a9f..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Base constructor for a 2-dimensional plot.
-*
-* @module @stdlib/plot/base/ctor
-*
-* @example
-* var Plot = require( '@stdlib/plot/base/ctor' );
-*
-* var plot = new Plot();
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/main.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/main.js
deleted file mode 100644
index d06d83cb323c..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/main.js
+++ /dev/null
@@ -1,1251 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var objectKeys = require( '@stdlib/utils/keys' );
-var inherit = require( '@stdlib/utils/inherit' );
-var copy = require( '@stdlib/utils/copy' );
-var mergeFcn = require( '@stdlib/utils/merge' ).factory;
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var minstd = require( '@stdlib/random/base/minstd' );
-var format = require( '@stdlib/string/format' );
-var defaults = require( './defaults.js' );
-var view = require( './view' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var setAutoView = require( './props/auto-view/set.js' );
-var getAutoView = require( './props/auto-view/get.js' );
-var setDescription = require( './props/description/set.js' );
-var getDescription = require( './props/description/get.js' );
-var setEngine = require( './props/engine/set.js' );
-var getEngine = require( './props/engine/get.js' );
-var getGraphHeight = require( './props/graph-height/get.js' );
-var getGraphWidth = require( './props/graph-width/get.js' );
-var setHeight = require( './props/height/set.js' );
-var getHeight = require( './props/height/get.js' );
-var setLabels = require( './props/labels/set.js' );
-var getLabels = require( './props/labels/get.js' );
-var setLineOpacity = require( './props/line-opacity/set.js' );
-var getLineOpacity = require( './props/line-opacity/get.js' );
-var setLineStyle = require( './props/line-style/set.js' );
-var getLineStyle = require( './props/line-style/get.js' );
-var setLineWidth = require( './props/line-width/set.js' );
-var getLineWidth = require( './props/line-width/get.js' );
-var setPaddingBottom = require( './props/padding-bottom/set.js' );
-var getPaddingBottom = require( './props/padding-bottom/get.js' );
-var setPaddingLeft = require( './props/padding-left/set.js' );
-var getPaddingLeft = require( './props/padding-left/get.js' );
-var setPaddingRight = require( './props/padding-right/set.js' );
-var getPaddingRight = require( './props/padding-right/get.js' );
-var setPaddingTop = require( './props/padding-top/set.js' );
-var getPaddingTop = require( './props/padding-top/get.js' );
-var render = require( './render' );
-var stub = require( './render/stub.js' );
-var setRenderFormat = require( './props/render-format/set.js' );
-var getRenderFormat = require( './props/render-format/get.js' );
-var setTitle = require( './props/title/set.js' );
-var getTitle = require( './props/title/get.js' );
-var setViewer = require( './props/viewer/set.js' );
-var getViewer = require( './props/viewer/get.js' );
-var setWidth = require( './props/width/set.js' );
-var getWidth = require( './props/width/get.js' );
-var setXAxisOrient = require( './props/x-axis-orient/set.js' );
-var getXAxisOrient = require( './props/x-axis-orient/get.js' );
-var getXDomain = require( './props/x-domain/get.js' );
-var setXLabel = require( './props/x-label/set.js' );
-var getXLabel = require( './props/x-label/get.js' );
-var setXNumTicks = require( './props/x-num-ticks/set.js' );
-var getXNumTicks = require( './props/x-num-ticks/get.js' );
-var getXPos = require( './props/x-pos/get.js' );
-var getXRange = require( './props/x-range/get.js' );
-var setXTickFormat = require( './props/x-tick-format/set.js' );
-var getXTickFormat = require( './props/x-tick-format/get.js' );
-var setYAxisOrient = require( './props/y-axis-orient/set.js' );
-var getYAxisOrient = require( './props/y-axis-orient/get.js' );
-var getYDomain = require( './props/y-domain/get.js' );
-var setYLabel = require( './props/y-label/set.js' );
-var getYLabel = require( './props/y-label/get.js' );
-var setYNumTicks = require( './props/y-num-ticks/set.js' );
-var getYNumTicks = require( './props/y-num-ticks/get.js' );
-var getYPos = require( './props/y-pos/get.js' );
-var getYRange = require( './props/y-range/get.js' );
-var setYTickFormat = require( './props/y-tick-format/set.js' );
-var getYTickFormat = require( './props/y-tick-format/get.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:main' );
-var PRIVATE_PROPS = [
- '_autoRender',
- '_autoView',
- '_description',
- '_engine',
- '_height',
- '_isDefined',
- '_labels',
- '_lineOpacity',
- '_lineStyle',
- '_lineWidth',
- '_paddingBottom',
- '_paddingLeft',
- '_paddingRight',
- '_paddingTop',
- '_renderFormat',
- '_title',
- '_viewer',
- '_width',
- '_xAxisOrient',
- '_xData',
- '_xLabel',
- '_xMax',
- '_xMin',
- '_xNumTicks',
- '_xScale',
- '_xTickFormat',
- '_yAxisOrient',
- '_yData',
- '_yLabel',
- '_yMax',
- '_yMin',
- '_yNumTicks',
- '_yScale',
- '_yTickFormat'
-];
-
-
-// FUNCTIONS //
-
-var merge = mergeFcn({
- 'extend': false
-});
-
-
-// MAIN //
-
-/**
-* Base plot constructor.
-*
-* @constructor
-* @param {Array} [x] - x values
-* @param {Array} [y] - y values
-* @param {Options} [options] - constructor options
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @param {boolean} [options.autoView=false] - indicates whether to generate an updated view on a render event
-* @param {string} [options.description=''] - description
-* @param {string} [options.engine='svg'] - render engine
-* @param {PositiveNumber} [options.height=400] - plot height
-* @param {(StringArray|EmptyArray)} [options.labels] - data labels
-* @param {(number|NumberArray)} [options.lineOpacity=0.9] - line opacity
-* @param {(string|StringArray)} [options.lineStyle='-'] - line style(s)
-* @param {(NonNegativeInteger|Array)} [options.lineWidth=2] - line width(s)
-* @param {NonNegativeInteger} [options.paddingBottom=80] - bottom padding
-* @param {NonNegativeInteger} [options.paddingLeft=90] - left padding
-* @param {NonNegativeInteger} [options.paddingRight=20] - right padding
-* @param {NonNegativeInteger} [options.paddingTop=80] - top padding
-* @param {string} [options.renderFormat='vdom'] - render format
-* @param {string} [options.title=''] - title
-* @param {string} [options.viewer='none'] - viewer
-* @param {PositiveNumber} [options.width=400] - plot width
-* @param {string} [options.xAxisOrient='bottom'] - x-axis orientation
-* @param {string} [options.xLabel='x'] - x-axis label
-* @param {(Date|FiniteNumber|null)} [options.xMax=null] - maximum value of x-axis domain
-* @param {(Date|FiniteNumber|null)} [options.xMin=null] - minimum value of x-axis domain
-* @param {(NonNegativeInteger|null)} [options.xNumTicks=5] - number of x-axis tick marks
-* @param {(string|null)} [options.xTickFormat=null] - x-axis tick format
-* @param {string} [options.yAxisOrient='left'] - y-axis orientation
-* @param {string} [options.yLabel='y'] - y-axis label
-* @param {(FiniteNumber|null)} [options.yMax=null] - maximum value of y-axis domain
-* @param {(FiniteNumber|null)} [options.yMin=null] - minimum value of y-axis domain
-* @param {(NonNegativeInteger|null)} [options.yNumTicks=5] - number of y-axis tick marks
-* @param {(string|null)} [options.yTickFormat=null] - y-axis tick format
-* @throws {TypeError} must provide valid options
-* @returns {Plot} Plot instance
-*
-* @example
-* var plot = new Plot();
-*/
-function Plot() {
- var options;
- var nargs;
- var keys;
- var self;
- var opts;
- var key;
- var i;
-
- nargs = arguments.length;
- if ( !(this instanceof Plot) ) {
- if ( nargs === 0 ) {
- return new Plot();
- }
- if ( nargs === 1 ) {
- return new Plot( arguments[0] );
- }
- if ( nargs === 2 ) {
- return new Plot( arguments[0], arguments[1] );
- }
- return new Plot( arguments[0], arguments[1], arguments[2] );
- }
- self = this;
-
- opts = defaults();
- if ( nargs === 0 ) {
- options = {};
- } else if ( nargs === 1 ) {
- options = arguments[ 0 ];
- if ( !isObject( options ) ) {
- throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- } else if ( nargs === 2 ) {
- options = {};
- } else if ( nargs > 2 ) {
- if ( !isObject( arguments[ 2 ] ) ) {
- throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', arguments[2] ) );
- }
- options = copy( arguments[ 2 ] ); // avoid mutation
- }
- opts = merge( opts, options );
-
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- for ( i = 0; i < PRIVATE_PROPS.length; i++ ) {
- defineProperty( this, PRIVATE_PROPS[i], {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': null
- });
- }
- // Set a clipping path id:
- defineProperty( this, '_clipPathId', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': false,
- 'value': minstd().toString() // TODO: uuid
- });
-
- // Initialize an internal cache for renderers...
- defineProperty( this, '$', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': false,
- 'value': {}
- });
- defineProperty( this.$, 'svg', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': false,
- 'value': {}
- });
-
- // Set options...
- keys = objectKeys( opts );
- for ( i = 0; i < keys.length; i++ ) {
- key = keys[ i ];
- this[ key ] = opts[ key ];
- }
-
- // Add event listeners:
- this.on( 'change', onChange );
- this.on( 'render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- /* eslint-disable no-underscore-dangle */
- debug( 'Received a change event.' );
- if ( self._autoRender ) {
- self.render();
- }
- }
-
- /**
- * Callback invoked upon receiving a render event.
- *
- * @private
- * @param {*} plot - rendered plot
- */
- function onRender( plot ) {
- /* eslint-disable no-underscore-dangle */
- debug( 'Received a render event.' );
- if ( self._autoView ) {
- debug( 'Viewer: %s.', self._viewer );
- debug( 'Generating view...' );
- view( self, self._viewer, plot );
- }
- }
-}
-
-/*
-* Inherit from the `EventEmitter` prototype.
-*/
-inherit( Plot, EventEmitter );
-
-/**
-* Rendering mode.
-*
-* ## Notes
-*
-* - If `true`, an instance re-renders on each `'change'` event.
-*
-* @name autoRender
-* @memberof Plot.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default true
-*
-* @example
-* var plot = new Plot({
-* 'autoRender': true
-* });
-*
-* var mode = plot.autoRender;
-* // returns true
-*/
-defineProperty( Plot.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Viewer mode.
-*
-* ## Notes
-*
-* - If `true`, an instance generates an updated view on each render event.
-*
-* @name autoView
-* @memberof Plot.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var plot = new Plot({
-* 'autoView': false
-* });
-*
-* var mode = plot.autoView;
-* // returns false
-*/
-defineProperty( Plot.prototype, 'autoView', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoView,
- 'get': getAutoView
-});
-
-/**
-* Plot description.
-*
-* @name description
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-* @default ''
-*
-* @example
-* var plot = new Plot();
-* plot.description = 'A plot description.';
-*
-* @example
-* var plot = new Plot({
-* 'description': 'A plot description.'
-* });
-* var desc = plot.description;
-* // returns 'A plot description.'
-*/
-defineProperty( Plot.prototype, 'description', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setDescription,
- 'get': getDescription
-});
-
-/**
-* Render engine.
-*
-* @name engine
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be a recognized engine
-* @default 'svg'
-*
-* @example
-* var plot = new Plot();
-* plot.engine = 'svg';
-*
-* @example
-* var plot = new Plot({
-* 'engine': 'svg'
-* });
-* var engine = plot.engine;
-* // returns 'svg'
-*/
-defineProperty( Plot.prototype, 'engine', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setEngine,
- 'get': getEngine
-});
-
-/**
-* Expected graph height.
-*
-* @name graphHeight
-* @memberof Plot.prototype
-* @type {number}
-*
-* @example
-* var plot = new Plot({
-* 'height': 100,
-* 'paddingTop': 10,
-* 'paddingBottom': 20
-* });
-* var height = plot.graphHeight;
-* // returns 70
-*/
-defineProperty( Plot.prototype, 'graphHeight', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getGraphHeight
-});
-
-/**
-* Expected graph width.
-*
-* @name graphWidth
-* @memberof Plot.prototype
-* @type {number}
-*
-* @example
-* var plot = new Plot({
-* 'width': 100,
-* 'paddingLeft': 10,
-* 'paddingRight': 10
-* });
-* var width = plot.graphWidth;
-* // returns 80
-*/
-defineProperty( Plot.prototype, 'graphWidth', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getGraphWidth
-});
-
-/**
-* Plot height.
-*
-* @name height
-* @memberof Plot.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400 (px)
-*
-* @example
-* var plot = new Plot();
-* plot.height = 100;
-*
-* @example
-* var plot = new Plot({
-* 'height': 360
-* });
-* var height = plot.height;
-* // returns 360
-*/
-defineProperty( Plot.prototype, 'height', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setHeight,
- 'get': getHeight
-});
-
-/**
-* Data labels.
-*
-* @name labels
-* @memberof Plot.prototype
-* @type {(StringArray|EmptyArray)}
-* @throws {TypeError} must be either an array of strings or an empty array
-* @default []
-*
-* @example
-* var plot = new Plot();
-* plot.labels = [ 'beep', 'boop' ];
-*
-* @example
-* var plot = new Plot({
-* 'labels': [ 'beep', 'boop' ]
-* });
-* var labels = plot.labels;
-* // returns [ 'beep', 'boop' ]
-*/
-defineProperty( Plot.prototype, 'labels', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLabels,
- 'get': getLabels
-});
-
-/**
-* Line opacity.
-*
-* ## Notes
-*
-* - When retrieved, the returned value is always an `array`.
-*
-* @name lineOpacity
-* @memberof Plot.prototype
-* @type {(number|NumberArray)}
-* @throws {TypeError} must be a number or number array
-* @throws {RangeError} must be a number on the interval `[0,1]`
-* @default '0.9'
-*
-* @example
-* var plot = new Plot();
-* plot.lineOpacity = [ 1.0, 0.5 ];
-*
-* @example
-* var plot = new Plot({
-* 'lineOpacity': 0.5
-* });
-* var opacity = plot.lineOpacity;
-* // returns [ 0.5 ]
-*/
-defineProperty( Plot.prototype, 'lineOpacity', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLineOpacity,
- 'get': getLineOpacity
-});
-
-/**
-* Line style(s).
-*
-* ## Notes
-*
-* - When retrieved, the returned value is always an `array`.
-*
-* @name lineStyle
-* @memberof Plot.prototype
-* @type {(string|StringArray)}
-* @throws {TypeError} must be a string or string array
-* @throws {Error} must be a supported line style
-* @default '-'
-*
-* @example
-* var plot = new Plot();
-* plot.lineStyle = [ '-', 'none' ];
-*
-* @example
-* var plot = new Plot({
-* 'lineStyle': 'none'
-* });
-* var lineStyle = plot.lineStyle;
-* // returns [ 'none' ]
-*/
-defineProperty( Plot.prototype, 'lineStyle', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLineStyle,
- 'get': getLineStyle
-});
-
-/**
-* Line width.
-*
-* ## Notes
-*
-* - When retrieved, the returned value is always an `array`.
-*
-* @name lineWidth
-* @memberof Plot.prototype
-* @type {(NonNegativeInteger|NonNegativeIntegerArray)}
-* @throws {TypeError} must be a nonnegative integer or nonnegative integer array
-* @default 2
-*
-* @example
-* var plot = new Plot();
-* plot.lineWidth = 1;
-*
-* @example
-* var plot = new Plot({
-* 'lineWidth': [ 1, 3 ]
-* });
-* var width = plot.lineWidth;
-* // returns [ 1, 3 ]
-*/
-defineProperty( Plot.prototype, 'lineWidth', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLineWidth,
- 'get': getLineWidth
-});
-
-/**
-* Plot bottom padding.
-*
-* ## Notes
-*
-* - Typically used to create space for a bottom-oriented y-axis.
-*
-* @name paddingBottom
-* @memberof Plot.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 80 (px)
-*
-* @example
-* var plot = new Plot();
-* plot.paddingBottom = 100;
-*
-* @example
-* var plot = new Plot({
-* 'paddingBottom': 100
-* });
-* var padding = plot.paddingBottom;
-* // returns 100
-*/
-defineProperty( Plot.prototype, 'paddingBottom', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setPaddingBottom,
- 'get': getPaddingBottom
-});
-
-/**
-* Plot left padding.
-*
-* ## Notes
-*
-* - Typically used to create space for a left-oriented y-axis.
-*
-* @name paddingLeft
-* @memberof Plot.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 90 (px)
-*
-* @example
-* var plot = new Plot();
-* plot.paddingLeft = 100;
-*
-* @example
-* var plot = new Plot({
-* 'paddingLeft': 100
-* });
-* var padding = plot.paddingLeft;
-* // returns 100
-*/
-defineProperty( Plot.prototype, 'paddingLeft', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setPaddingLeft,
- 'get': getPaddingLeft
-});
-
-/**
-* Plot right padding.
-*
-* ## Notes
-*
-* - Typically used to create space for a right-oriented y-axis.
-*
-* @name paddingRight
-* @memberof Plot.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 20 (px)
-*
-* @example
-* var plot = new Plot();
-* plot.paddingRight = 100;
-*
-* @example
-* var plot = new Plot({
-* 'paddingRight': 100
-* });
-* var padding = plot.paddingRight;
-* // returns 100
-*/
-defineProperty( Plot.prototype, 'paddingRight', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setPaddingRight,
- 'get': getPaddingRight
-});
-
-/**
-* Plot top padding.
-*
-* ## Notes
-*
-* - Typically used to create space for a title or top-oriented x-axis.
-*
-* @name paddingTop
-* @memberof Plot.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 80 (px)
-*
-* @example
-* var plot = new Plot();
-* plot.paddingTop = 100;
-*
-* @example
-* var plot = new Plot({
-* 'paddingTop': 100
-* });
-* var padding = plot.paddingTop;
-* // returns 100
-*/
-defineProperty( Plot.prototype, 'paddingTop', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setPaddingTop,
- 'get': getPaddingTop
-});
-
-/**
-* Renders a plot.
-*
-* @name render
-* @memberof Plot.prototype
-* @type {Function}
-* @param {string} [format] - render format
-* @throws {TypeError} must provide a recognized format
-* @returns {(VTree|string)} virtual tree or string
-*
-* @example
-* var plot = new Plot();
-* var out = plot.render();
-*
-* @example
-* var plot = new Plot();
-* var out = plot.render( 'html' );
-*/
-setReadOnly( Plot.prototype, 'render', render );
-
-/**
-* Renders a plot.
-*
-* ## Notes
-*
-* - This method **should** be implemented by descendants.
-*
-* @private
-* @name _render
-* @memberof Plot.prototype
-* @type {Function}
-* @param {string} format - render format
-* @returns {(VTree|string)} rendered plot
-*/
-setReadOnly( Plot.prototype, '_render', stub );
-
-/**
-* Render format.
-*
-* @name renderFormat
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be a recognized format
-* @default 'vdom'
-*
-* @example
-* var plot = new Plot();
-* plot.renderFormat = 'vdom';
-*
-* @example
-* var plot = new Plot({
-* 'renderFormat': 'html'
-* });
-* var fmt = plot.renderFormat;
-* // returns 'html'
-*/
-defineProperty( Plot.prototype, 'renderFormat', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setRenderFormat,
- 'get': getRenderFormat
-});
-
-/**
-* Plot title.
-*
-* @name title
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-* @default ''
-*
-* @example
-* var plot = new Plot();
-* plot.title = 'Plot';
-*
-* @example
-* var plot = new Plot({
-* 'title': 'Plot'
-* });
-* var t = plot.title;
-* // returns 'Plot'
-*/
-defineProperty( Plot.prototype, 'title', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setTitle,
- 'get': getTitle
-});
-
-/**
-* Plot viewer.
-*
-* @name viewer
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be a recognized viewer
-* @default 'none'
-*
-* @example
-* var plot = new Plot();
-* plot.viewer = 'none';
-*
-* @example
-* var plot = new Plot({
-* 'viewer': 'none'
-* });
-* var viewer = plot.viewer;
-* // returns 'none'
-*/
-defineProperty( Plot.prototype, 'viewer', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setViewer,
- 'get': getViewer
-});
-
-/**
-* Plot width.
-*
-* @name width
-* @memberof Plot.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400 (px)
-*
-* @example
-* var plot = new Plot();
-* plot.width = 100;
-*
-* @example
-* var plot = new Plot({
-* 'width': 480
-* });
-* var width = plot.width;
-* // returns 480
-*/
-defineProperty( Plot.prototype, 'width', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setWidth,
- 'get': getWidth
-});
-
-/**
-* x-axis orientation.
-*
-* @name xAxisOrient
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be either `'top'` or `'bottom'`
-* @default 'bottom'
-*
-* @example
-* var plot = new Plot();
-* plot.xAxisOrient = 'bottom';
-*
-* @example
-* var plot = new Plot({
-* 'xAxisOrient': 'bottom'
-* });
-* var orientation = plot.xAxisOrient;
-* // returns 'bottom'
-*/
-defineProperty( Plot.prototype, 'xAxisOrient', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setXAxisOrient,
- 'get': getXAxisOrient
-});
-
-/**
-* x-axis domain.
-*
-* @name xDomain
-* @memberof Plot.prototype
-* @type {Array}
-*
-* @example
-* var plot = new Plot({
-* 'xMin': 0,
-* 'xMax': 100
-* });
-* var domain = plot.xDomain;
-* // returns [ 0, 100 ]
-*/
-defineProperty( Plot.prototype, 'xDomain', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getXDomain
-});
-
-/**
-* x-axis label.
-*
-* @name xLabel
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-* @default 'x'
-*
-* @example
-* var plot = new Plot();
-* plot.xLabel = 'time';
-*
-* @example
-* var plot = new Plot({
-* 'xLabel': 'time'
-* });
-* var xLabel = plot.xLabel;
-* // returns 'time'
-*/
-defineProperty( Plot.prototype, 'xLabel', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setXLabel,
- 'get': getXLabel
-});
-
-/**
-* Number of x-axis tick marks.
-*
-* @name xNumTicks
-* @memberof Plot.prototype
-* @type {(NonNegativeInteger|null)}
-* @throws {TypeError} must be a nonnegative integer or null
-* @default 5
-*
-* @example
-* var plot = new Plot();
-* plot.xNumTicks = 10;
-*
-* @example
-* var plot = new Plot({
-* 'xNumTicks': 10
-* });
-* var ticks = plot.xNumTicks;
-* // returns 10
-*/
-defineProperty( Plot.prototype, 'xNumTicks', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setXNumTicks,
- 'get': getXNumTicks
-});
-
-/**
-* Function to map values to x-axis coordinate values.
-*
-* @name xPos
-* @memberof Plot.prototype
-* @type {Function}
-*
-* @example
-* var plot = new Plot();
-* var xPos = plot.xPos;
-* // returns
-*/
-defineProperty( Plot.prototype, 'xPos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getXPos
-});
-
-/**
-* x-axis range.
-*
-* @name xRange
-* @memberof Plot.prototype
-* @type {NumberArray}
-*
-* @example
-* var plot = new Plot({
-* 'width': 100,
-* 'paddingLeft': 10,
-* 'paddingRight': 10
-* });
-* var range = plot.xRange;
-* // returns [ 0, 80 ]
-*/
-defineProperty( Plot.prototype, 'xRange', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getXRange
-});
-
-/**
-* x-axis tick format.
-*
-* ## Notes
-*
-* - When retrieved, if the value is not `null`, the returned value is a formatting function.
-*
-* @name xTickFormat
-* @memberof Plot.prototype
-* @type {(string|null)}
-* @throws {TypeError} must be a string or null
-* @default null
-*
-* @example
-* var plot = new Plot();
-* plot.xScale = 'time';
-* plot.xTickFormat = '%H:%M';
-*
-* @example
-* var plot = new Plot({
-* 'xScale': 'time',
-* 'xTickFormat': '%H:%M'
-* });
-* var fmt = plot.xTickFormat;
-* // returns
-*/
-defineProperty( Plot.prototype, 'xTickFormat', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setXTickFormat,
- 'get': getXTickFormat
-});
-
-/**
-* y-axis orientation.
-*
-* @name yAxisOrient
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be either `'left'` or `'right'`
-* @default 'left'
-*
-* @example
-* var plot = new Plot();
-* plot.yAxisOrient = 'left';
-*
-* @example
-* var plot = new Plot({
-* 'yAxisOrient': 'left'
-* });
-* var orientation = plot.yAxisOrient;
-* // returns 'left'
-*/
-defineProperty( Plot.prototype, 'yAxisOrient', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setYAxisOrient,
- 'get': getYAxisOrient
-});
-
-/**
-* y-axis domain.
-*
-* @name yDomain
-* @memberof Plot.prototype
-* @type {Array}
-*
-* @example
-* var plot = new Plot({
-* 'yMin': 0,
-* 'yMax': 100
-* });
-* var domain = plot.yDomain;
-* // returns [ 0, 100 ]
-*/
-defineProperty( Plot.prototype, 'yDomain', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getYDomain
-});
-
-/**
-* y-axis label.
-*
-* @name yLabel
-* @memberof Plot.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-* @default 'y'
-*
-* @example
-* var plot = new Plot();
-* plot.yLabel = 'value';
-*
-* @example
-* var plot = new Plot({
-* 'yLabel': 'value'
-* });
-* var yLabel = plot.yLabel;
-* // returns 'value'
-*/
-defineProperty( Plot.prototype, 'yLabel', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setYLabel,
- 'get': getYLabel
-});
-
-/**
-* Number of y-axis tick marks.
-*
-* @name yNumTicks
-* @memberof Plot.prototype
-* @type {(NonNegativeInteger|null)}
-* @throws {TypeError} must be a nonnegative integer or null
-* @default 5
-*
-* @example
-* var plot = new Plot();
-* plot.yNumTicks = 10;
-*
-* @example
-* var plot = new Plot({
-* 'yNumTicks': 10
-* });
-* var ticks = plot.yNumTicks;
-* // returns 10
-*/
-defineProperty( Plot.prototype, 'yNumTicks', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setYNumTicks,
- 'get': getYNumTicks
-});
-
-/**
-* Function to map values to y-axis coordinate values.
-*
-* @name yPos
-* @memberof Plot.prototype
-* @type {Function}
-*
-* @example
-* var plot = new Plot();
-* var yPos = plot.yPos;
-* // returns
-*/
-defineProperty( Plot.prototype, 'yPos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getYPos
-});
-
-/**
-* y-axis range.
-*
-* @name yRange
-* @memberof Plot.prototype
-* @type {NumberArray}
-*
-* @example
-* var plot = new Plot({
-* 'height': 100,
-* 'paddingTop': 10,
-* 'paddingBottom': 20
-* });
-* var range = plot.yRange;
-* // returns [ 70, 0 ]
-*/
-defineProperty( Plot.prototype, 'yRange', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getYRange
-});
-
-/**
-* y-axis tick format.
-*
-* ## Notes
-*
-* - If the value is not `null`, when retrieved, the returned value is a formatting function.
-*
-* @name yTickFormat
-* @memberof Plot.prototype
-* @type {(string|null)}
-* @throws {TypeError} must be a string or null
-* @default null
-*
-* @example
-* var plot = new Plot();
-* plot.yTickFormat = '.0%';
-*
-* @example
-* var plot = new Plot({
-* 'yTickFormat': '.0%'
-* });
-* var fmt = plot.yTickFormat;
-* // returns
-*/
-defineProperty( Plot.prototype, 'yTickFormat', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setYTickFormat,
- 'get': getYTickFormat
-});
-
-/**
-* Generates a plot view.
-*
-* @name view
-* @memberof Plot.prototype
-* @type {Function}
-* @param {string} [viewer] - viewer
-* @throws {TypeError} must provide a recognized viewer
-*
-* @example
-* var plot = new Plot();
-* plot.x = [ [ 1, 2, 3 ] ];
-* plot.view( 'stdout' );
-*/
-setReadOnly( Plot.prototype, 'view', view );
-
-
-// EXPORTS //
-
-module.exports = Plot;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-render/set.js
deleted file mode 100644
index de3b2bd4c002..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:auto-render' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a boolean
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- if ( !isBoolean( bool ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', bool ) );
- }
- if ( bool !== this._autoRender ) {
- debug( 'Current value: %s.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %s.', this._autoRender );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-view/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-view/get.js
deleted file mode 100644
index 5b414b91ed3b..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-view/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the viewing mode.
-*
-* @private
-* @returns {boolean} viewing mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoView;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-view/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-view/set.js
deleted file mode 100644
index 3200d9164ffa..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/auto-view/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:auto-view' );
-
-
-// MAIN //
-
-/**
-* Sets the viewing mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to generate an updated view on a render event
-* @throws {TypeError} must be a boolean
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- if ( !isBoolean( bool ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoView', bool ) );
- }
- if ( bool !== this._autoView ) {
- debug( 'Current value: %s.', this._autoView );
-
- this._autoView = bool;
- debug( 'New Value: %s.', this._autoView );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/description/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/description/get.js
deleted file mode 100644
index d67c978f180b..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/description/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the description.
-*
-* @private
-* @returns {string} description
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._description;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/description/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/description/set.js
deleted file mode 100644
index 1f20f569d930..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/description/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:description' );
-
-
-// MAIN //
-
-/**
-* Sets the description.
-*
-* @private
-* @param {string} str - description
-* @throws {TypeError} must be a string
-*/
-function set( str ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( str ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'description', str ) );
- }
- if ( str !== this._description ) {
- debug( 'Current value: %s.', this._description );
-
- this._description = str;
- debug( 'New value: %s.', this._description );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/engines.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/engines.json
deleted file mode 100644
index 00a90ebbc0fc..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/engines.json
+++ /dev/null
@@ -1,3 +0,0 @@
-[
- "svg"
-]
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/get.js
deleted file mode 100644
index adcb427d9065..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the render engine.
-*
-* @private
-* @returns {string} engine
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._engine;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/set.js
deleted file mode 100644
index a830f484c6a5..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/engine/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var contains = require( '@stdlib/assert/contains' );
-var format = require( '@stdlib/string/format' );
-var ENGINES = require( './engines.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:engine' );
-
-
-// MAIN //
-
-/**
-* Sets the engine.
-*
-* @private
-* @param {string} engine - engine
-* @throws {TypeError} must be a recognized engine
-*/
-function set( engine ) {
- /* eslint-disable no-invalid-this */
- if ( !contains( ENGINES, engine ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', 'engine', ENGINES.join( '", "' ), engine ) );
- }
- if ( engine !== this._engine ) {
- debug( 'Current value: %s.', this._engine );
-
- this._engine = engine;
- debug( 'New value: %s.', this._engine );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/graph-height/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/graph-height/get.js
deleted file mode 100644
index a3da4e01eb4d..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/graph-height/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the expected graph height.
-*
-* @private
-* @returns {number} graph height
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._height - this._paddingTop - this._paddingBottom;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/graph-width/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/graph-width/get.js
deleted file mode 100644
index 21a60f9fb9d3..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/graph-width/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the expected graph width.
-*
-* @private
-* @returns {number} graph width
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._width - this._paddingLeft - this._paddingRight;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/height/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/height/get.js
deleted file mode 100644
index 64bcb891b201..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/height/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the height.
-*
-* @private
-* @returns {number} height
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._height;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/height/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/height/set.js
deleted file mode 100644
index d965f9dbd6c8..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/height/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:height' );
-
-
-// MAIN //
-
-/**
-* Sets the height.
-*
-* @private
-* @param {PositiveNumber} height - height
-* @throws {TypeError} must be a positive number
-*/
-function set( height ) {
- /* eslint-disable no-invalid-this */
- if ( !isPositiveNumber( height ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'height', height ) );
- }
- if ( height !== this._height ) {
- debug( 'Current value: %d.', this._height );
-
- this._height = height;
- debug( 'New Value: %d.', this._height );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/labels/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/labels/get.js
deleted file mode 100644
index 8188d4f4916d..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/labels/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the data labels.
-*
-* @private
-* @returns {(EmptyArray|StringArray)} labels
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._labels.slice();
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/labels/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/labels/set.js
deleted file mode 100644
index 6d680d56c97c..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/labels/set.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isEmptyArray = require( '@stdlib/assert/is-empty-array' );
-var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:labels' );
-
-
-// MAIN //
-
-/**
-* Sets the data labels.
-*
-* @private
-* @param {(StringArray|EmptyArray)} labels - data labels
-* @throws {TypeError} must be either an array of strings or an empty array
-*/
-function set( labels ) {
- /* eslint-disable no-invalid-this */
- if ( !isEmptyArray( labels ) && !isStringArray( labels ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be an array of strings or an empty array. Value: `%s`.', 'labels', labels ) );
- }
- debug( 'Current value: %s.', JSON.stringify( this._labels ) );
-
- this._labels = labels.slice();
- debug( 'New Value: %s.', JSON.stringify( this._labels ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-opacity/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-opacity/get.js
deleted file mode 100644
index b6793668e589..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-opacity/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the line opacity.
-*
-* @private
-* @returns {NumberArray} line opacity
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._lineOpacity.slice();
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-opacity/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-opacity/set.js
deleted file mode 100644
index 35abfb4677ad..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-opacity/set.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
-var isNumberArray = require( '@stdlib/assert/is-number-array' ).primitives;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:line-opacity' );
-
-
-// MAIN //
-
-/**
-* Sets the line opacity.
-*
-* @private
-* @param {(number|NumberArray)} v - opacity
-* @throws {TypeError} must be a number or number array
-* @throws {RangeError} must be a number on the interval `[0,1]`
-*/
-function set( v ) {
- /* eslint-disable no-invalid-this */
- var isNum = isNumber( v );
- var i;
- if ( !isNum && !isNumberArray( v ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a number or an array of numbers. Value: `%s`.', 'lineOpacity', v ) );
- }
- if ( isNum ) {
- v = [ v ];
- } else {
- v = v.slice();
- }
- for ( i = 0; i < v.length; i++ ) {
- if ( v[ i ] < 0.0 || v[ i ] > 1.0 ) {
- throw new RangeError( format( 'invalid assignment. A `%s` must be a number on the interval: [0, 1]. Value: `%f`.', 'lineOpacity', v[i] ) );
- }
- }
- debug( 'Current value: %s.', JSON.stringify( this._lineOpacity ) );
-
- this._lineOpacity = v;
- debug( 'New Value: %s.', JSON.stringify( this._lineOpacity ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/get.js
deleted file mode 100644
index 61d078c0c175..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the line style(s).
-*
-* @private
-* @returns {StringArray} line style(s)
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._lineStyle.slice();
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/line_styles.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/line_styles.json
deleted file mode 100644
index 94d97ef15ffa..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/line_styles.json
+++ /dev/null
@@ -1,7 +0,0 @@
-[
- "-",
- "--",
- ":",
- "-.",
- "none"
-]
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/set.js
deleted file mode 100644
index f539119d5af0..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-style/set.js
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
-var format = require( '@stdlib/string/format' );
-var indexOf = require( '@stdlib/utils/index-of' );
-var LINESTYLES = require( './line_styles.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:line-style' );
-
-
-// MAIN //
-
-/**
-* Sets the line style(s).
-*
-* @private
-* @param {(string|StringArray)} v - line style(s)
-* @throws {TypeError} must be a string or string array
-* @throws {Error} must be a supported line style
-*/
-function set( v ) {
- /* eslint-disable no-invalid-this */
- var isStr = isString( v );
- var i;
- if ( !isStr && !isStringArray( v ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or an array of strings. Value: `%s`.', 'lineStyle', v ) );
- }
- if ( isStr ) {
- v = [ v ];
- } else {
- v = v.slice();
- }
- for ( i = 0; i < v.length; i++ ) {
- if ( indexOf( LINESTYLES, v[i] ) === -1 ) {
- throw new Error( format( 'invalid assignment. Unsupported/unrecognized line style. Must be one of the following: "%s". Value: `%s`.', LINESTYLES.join( '", "' ), v[i] ) );
- }
- }
- debug( 'Current value: %s.', JSON.stringify( this._lineStyle ) );
-
- this._lineStyle = v;
- debug( 'New Value: %s.', JSON.stringify( this._lineStyle ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-width/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-width/get.js
deleted file mode 100644
index 4a4469808504..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-width/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the line width.
-*
-* @private
-* @returns {Array} line width(s)
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._lineWidth.slice();
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-width/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-width/set.js
deleted file mode 100644
index 54fbe80c7e13..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/line-width/set.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var isNonNegativeIntegerArray = require( '@stdlib/assert/is-nonnegative-integer-array' ).primitives;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:line-width' );
-
-
-// MAIN //
-
-/**
-* Sets the line width(s).
-*
-* @private
-* @param {(NonNegativeInteger|Array)} v - width
-* @throws {TypeError} must be a nonnegative integer or nonnegative integer array
-*/
-function set( v ) {
- /* eslint-disable no-invalid-this */
- var isInt = isNonNegativeInteger( v );
- if ( !isInt && !isNonNegativeIntegerArray( v ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer or an array of nonnegative integers. Value: `%s`.', 'lineWidth', v ) );
- }
- if ( isInt ) {
- v = [ v ];
- } else {
- v = v.slice();
- }
- debug( 'Current value: %s.', JSON.stringify( this._lineWidth ) );
-
- this._lineWidth = v;
- debug( 'New Value: %s.', JSON.stringify( this._lineWidth ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-bottom/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-bottom/get.js
deleted file mode 100644
index af214a0d0f90..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-bottom/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the bottom padding.
-*
-* @private
-* @returns {number} padding
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._paddingBottom;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-bottom/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-bottom/set.js
deleted file mode 100644
index fa8027b39122..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-bottom/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:padding-bottom' );
-
-
-// MAIN //
-
-/**
-* Sets the bottom padding.
-*
-* @private
-* @param {NonNegativeInteger} padding - padding
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( padding ) {
- /* eslint-disable no-invalid-this */
- if ( !isNonNegativeInteger( padding ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'paddingBottom', padding ) );
- }
- if ( padding !== this._paddingBottom ) {
- debug( 'Current value: %d.', this._paddingBottom );
-
- this._paddingBottom = padding;
- debug( 'New value: %d.', this._paddingBottom );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-left/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-left/get.js
deleted file mode 100644
index 162c41b11c0a..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-left/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the left padding.
-*
-* @private
-* @returns {number} padding
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._paddingLeft;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-left/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-left/set.js
deleted file mode 100644
index 1de72a88c30d..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-left/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:padding-left' );
-
-
-// MAIN //
-
-/**
-* Sets the left padding.
-*
-* @private
-* @param {NonNegativeInteger} padding - padding
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( padding ) {
- /* eslint-disable no-invalid-this */
- if ( !isNonNegativeInteger( padding ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'paddingLeft', padding ) );
- }
- if ( padding !== this._paddingLeft ) {
- debug( 'Current value: %d.', this._paddingLeft );
-
- this._paddingLeft = padding;
- debug( 'New value: %d.', this._paddingLeft );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-right/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-right/get.js
deleted file mode 100644
index 3da30d190e78..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-right/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the right padding.
-*
-* @private
-* @returns {number} padding
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._paddingRight;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-right/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-right/set.js
deleted file mode 100644
index 82ae5a627ef7..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-right/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:padding-right' );
-
-
-// MAIN //
-
-/**
-* Sets the right padding.
-*
-* @private
-* @param {NonNegativeInteger} padding - padding
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( padding ) {
- /* eslint-disable no-invalid-this */
- if ( !isNonNegativeInteger( padding ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'paddingRight', padding ) );
- }
- if ( padding !== this._paddingRight ) {
- debug( 'Current value: %d.', this._paddingRight );
-
- this._paddingRight = padding;
- debug( 'New value: %d.', this._paddingRight );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-top/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-top/get.js
deleted file mode 100644
index 4afa6177a7b1..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-top/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the top padding.
-*
-* @private
-* @returns {number} padding
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._paddingTop;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-top/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-top/set.js
deleted file mode 100644
index c20f63e677cc..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/padding-top/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:padding-top' );
-
-
-// MAIN //
-
-/**
-* Sets the top padding.
-*
-* @private
-* @param {NonNegativeInteger} padding - padding
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( padding ) {
- /* eslint-disable no-invalid-this */
- if ( !isNonNegativeInteger( padding ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'paddingTop', padding ) );
- }
- if ( padding !== this._paddingTop ) {
- debug( 'Current value: %d.', this._paddingTop );
-
- this._paddingTop = padding;
- debug( 'New value: %d.', this._paddingTop );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/formats.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/formats.json
deleted file mode 100644
index 7479e772e50e..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/formats.json
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- "vdom",
- "html"
-]
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/get.js
deleted file mode 100644
index 8b424640115e..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the render format.
-*
-* @private
-* @returns {string} format
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._renderFormat;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/set.js
deleted file mode 100644
index 9eb41a1fd6c5..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/render-format/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var indexOf = require( '@stdlib/utils/index-of' );
-var format = require( '@stdlib/string/format' );
-var FORMATS = require( './formats.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:render-format' );
-
-
-// MAIN //
-
-/**
-* Sets the render format.
-*
-* @private
-* @param {string} fmt - format
-* @throws {TypeError} must be a recognized render format
-*/
-function set( fmt ) {
- /* eslint-disable no-invalid-this */
- if ( indexOf( FORMATS, fmt ) === -1 ) {
- throw new TypeError( format( 'invalid assignment. Unrecognized/unsupported `%s`. Must be one of the following: "%s". Value: `%s`.', 'format', FORMATS.join( '", "' ), fmt ) );
- }
- if ( fmt !== this._renderFormat ) {
- debug( 'Current value: %s.', this._renderFormat );
-
- this._renderFormat = fmt;
- debug( 'New value: %s.', this._renderFormat );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/title/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/title/get.js
deleted file mode 100644
index 9417faaac109..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/title/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the title.
-*
-* @private
-* @returns {string} title
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._title;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/title/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/title/set.js
deleted file mode 100644
index fcb285de8ecc..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/title/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:title' );
-
-
-// MAIN //
-
-/**
-* Sets the title.
-*
-* @private
-* @param {string} str - title
-* @throws {TypeError} must be a string
-*/
-function set( str ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( str ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'title', str ) );
- }
- if ( str !== this._title ) {
- debug( 'Current value: %s.', this._title );
-
- this._title = str;
- debug( 'New value: %s.', this._title );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/get.js
deleted file mode 100644
index a8044cae0cef..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the plot viewer.
-*
-* @private
-* @returns {string} viewer
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._viewer;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/set.js
deleted file mode 100644
index fd2fb24798c5..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var indexOf = require( '@stdlib/utils/index-of' );
-var format = require( '@stdlib/string/format' );
-var VIEWERS = require( './viewers.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:viewer' );
-
-
-// MAIN //
-
-/**
-* Sets the viewer.
-*
-* @private
-* @param {string} viewer - viewer
-* @throws {TypeError} must be a recognized viewer
-*/
-function set( viewer ) {
- /* eslint-disable no-invalid-this */
- if ( indexOf( VIEWERS, viewer ) === -1 ) {
- throw new TypeError( format( 'invalid assignment. Unrecognized/unsupported `%s`. Value: `%s`.', 'viewer', viewer ) );
- }
- if ( viewer !== this._viewer ) {
- debug( 'Current value: %s.', this._viewer );
-
- this._viewer = viewer;
- debug( 'New value: %s.', this._viewer );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/viewers.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/viewers.json
deleted file mode 100644
index f515292564fb..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/viewer/viewers.json
+++ /dev/null
@@ -1,7 +0,0 @@
-[
- "none",
- "browser",
- "terminal",
- "stdout",
- "window"
-]
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/width/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/width/get.js
deleted file mode 100644
index cfa5f0e70adf..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/width/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the width.
-*
-* @private
-* @returns {number} width
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._width;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/width/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/width/set.js
deleted file mode 100644
index 1368f5e1aa31..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/width/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:width' );
-
-
-// MAIN //
-
-/**
-* Sets the width.
-*
-* @private
-* @param {PositiveNumber} width - width
-* @throws {TypeError} must be a positive number
-*/
-function set( width ) {
- /* eslint-disable no-invalid-this */
- if ( !isPositiveNumber( width ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'width', width ) );
- }
- if ( width !== this._width ) {
- debug( 'Current value: %d.', this._width );
-
- this._width = width;
- debug( 'New value: %d.', this._width );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/get.js
deleted file mode 100644
index a96e518039c6..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the x-axis orientation.
-*
-* @private
-* @returns {string} orientation
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xAxisOrient;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/orientations.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/orientations.json
deleted file mode 100644
index 1e375c31f6f7..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/orientations.json
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- "bottom",
- "top"
-]
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/set.js
deleted file mode 100644
index 23cfa4f40195..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-axis-orient/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var indexOf = require( '@stdlib/utils/index-of' );
-var format = require( '@stdlib/string/format' );
-var ORIENTATIONS = require( './orientations.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:x-axis-orient' );
-
-
-// MAIN //
-
-/**
-* Sets the x-axis orientation.
-*
-* @private
-* @param {string} orientation - axis orientation
-* @throws {TypeError} must be either `'bottom'` or `'top'`
-*/
-function set( orientation ) {
- /* eslint-disable no-invalid-this */
- if ( indexOf( ORIENTATIONS, orientation ) === -1 ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', 'xAxisOrient', ORIENTATIONS.join( '", "' ), orientation ) );
- }
- if ( orientation !== this._xAxisOrient ) {
- debug( 'Current value: %s.', this._xAxisOrient );
-
- this._xAxisOrient = orientation;
- debug( 'New value: %s.', this._xAxisOrient );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-domain/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-domain/get.js
deleted file mode 100644
index 44e571f78fd4..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-domain/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the x-axis domain.
-*
-* @private
-* @returns {Array} domain
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return [ this.xMin, this.xMax ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-label/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-label/get.js
deleted file mode 100644
index eeec342fbd86..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-label/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the x-axis label.
-*
-* @private
-* @returns {string} label
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xLabel;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-label/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-label/set.js
deleted file mode 100644
index 1774448ab5b6..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-label/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:x-label' );
-
-
-// MAIN //
-
-/**
-* Sets the x-axis label.
-*
-* @private
-* @param {string} label - axis label
-* @throws {TypeError} must be a string
-*/
-function set( label ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( label ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'xLabel', label ) );
- }
- if ( label !== this._xLabel ) {
- debug( 'Current value: %s.', this._xLabel );
-
- this._xLabel = label;
- debug( 'New value: %s.', this._xLabel );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-num-ticks/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-num-ticks/get.js
deleted file mode 100644
index 02dc4efd718c..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-num-ticks/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the number of x-axis tick marks.
-*
-* @private
-* @returns {(NonNegativeInteger|null)} number of ticks
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xNumTicks;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-num-ticks/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-num-ticks/set.js
deleted file mode 100644
index dffc6f437321..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-num-ticks/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNull = require( '@stdlib/assert/is-null' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:x-num-ticks' );
-
-
-// MAIN //
-
-/**
-* Sets the number of x-axis tick marks.
-*
-* @private
-* @param {(NonNegativeInteger|null)} ticks - number of ticks
-* @throws {TypeError} must be a nonnegative integer or null
-*/
-function set( ticks ) {
- /* eslint-disable no-invalid-this */
- if ( !isNull( ticks ) && !isNonNegativeInteger( ticks ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer or null. Value: `%s`.', 'xNumTicks', ticks ) );
- }
- if ( ticks !== this._xNumTicks ) {
- debug( 'Current value: %d.', this._xNumTicks );
-
- this._xNumTicks = ticks;
- debug( 'New value: %d.', this._xNumTicks );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-pos/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-pos/get.js
deleted file mode 100644
index f231fc5db30b..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:x-pos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to x-axis coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.xScale;
- return xPos;
-
- /**
- * Maps a value to a x-axis coordinate value.
- *
- * @private
- * @param {number} d - datum
- * @returns {number} pixel value
- */
- function xPos( d ) {
- var px = scale( d );
- debug( 'Value: %d => Pixel: %d.', d, px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-range/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-range/get.js
deleted file mode 100644
index 15069e3c8c1a..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-range/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the x-axis range.
-*
-* @private
-* @returns {NumberArray} range
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return [ 0, this.graphWidth ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-tick-format/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-tick-format/get.js
deleted file mode 100644
index 8a6fc705016f..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-tick-format/get.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var format = require( 'd3-format' ).format; // TODO: remove
-var timeFormat = require( 'd3-time-format' ).timeFormat; // TODO: remove
-var isNull = require( '@stdlib/assert/is-null' );
-
-
-// MAIN //
-
-/**
-* Returns the x-axis tick format.
-*
-* @private
-* @returns {(Function|null)} format function or null
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- if ( isNull( this._xTickFormat ) ) {
- return this._xTickFormat;
- }
- if ( this._xScale === 'time' ) {
- return timeFormat( this._xTickFormat );
- }
- return format( this._xTickFormat );
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-tick-format/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-tick-format/set.js
deleted file mode 100644
index 15106476fbec..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/x-tick-format/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNull = require( '@stdlib/assert/is-null' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:x-tick-format' );
-
-
-// MAIN //
-
-/**
-* Sets the x-axis tick format.
-*
-* @private
-* @param {(string|null)} fmt - axis tick format
-* @throws {TypeError} must be a string
-*/
-function set( fmt ) {
- /* eslint-disable no-invalid-this */
- if ( !isNull( fmt ) && !isString( fmt ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or null. Value: `%s`.', 'xTickFormat', fmt ) );
- }
- if ( fmt !== this._xTickFormat ) {
- debug( 'Current value: %s.', this._xTickFormat );
-
- this._xTickFormat = fmt;
- debug( 'New value: %s.', this._xTickFormat );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/get.js
deleted file mode 100644
index 599ea8ed8fab..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the y-axis orientation.
-*
-* @private
-* @returns {string} orientation
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yAxisOrient;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/orientations.json b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/orientations.json
deleted file mode 100644
index d2d3df74d8c8..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/orientations.json
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- "left",
- "right"
-]
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/set.js
deleted file mode 100644
index 7e2defe9c2b3..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-axis-orient/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var indexOf = require( '@stdlib/utils/index-of' );
-var format = require( '@stdlib/string/format' );
-var ORIENTATIONS = require( './orientations.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:y-axis-orient' );
-
-
-// MAIN //
-
-/**
-* Sets the y-axis orientation.
-*
-* @private
-* @param {string} orientation - axis orientation
-* @throws {TypeError} must be either `'left'` or `'right'`
-*/
-function set( orientation ) {
- /* eslint-disable no-invalid-this */
- if ( indexOf( ORIENTATIONS, orientation ) === -1 ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', 'yAxisOrient', ORIENTATIONS.join( '", "' ), orientation ) );
- }
- if ( orientation !== this._yAxisOrient ) {
- debug( 'Current value: %s.', this._yAxisOrient );
-
- this._yAxisOrient = orientation;
- debug( 'New value: %s.', this._yAxisOrient );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-domain/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-domain/get.js
deleted file mode 100644
index cf17fe4d171a..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-domain/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the y-axis domain.
-*
-* @private
-* @returns {Array} domain
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return [ this.yMin, this.yMax ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-label/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-label/get.js
deleted file mode 100644
index 4b36a06ee061..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-label/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the y-axis label.
-*
-* @private
-* @returns {string} label
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yLabel;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-label/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-label/set.js
deleted file mode 100644
index e8fdab47fbd4..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-label/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:y-label' );
-
-
-// MAIN //
-
-/**
-* Sets the y-axis label.
-*
-* @private
-* @param {string} label - axis label
-* @throws {TypeError} must be a string
-*/
-function set( label ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( label ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'yLabel', label ) );
- }
- if ( label !== this._yLabel ) {
- debug( 'Current value: %s.', this._yLabel );
-
- this._yLabel = label;
- debug( 'New value: %s.', this._yLabel );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-num-ticks/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-num-ticks/get.js
deleted file mode 100644
index 5aec4efb05eb..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-num-ticks/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the number of y-axis tick marks.
-*
-* @private
-* @returns {(NonNegativeInteger|null)} number of ticks
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yNumTicks;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-num-ticks/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-num-ticks/set.js
deleted file mode 100644
index b8eb61522630..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-num-ticks/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNull = require( '@stdlib/assert/is-null' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:y-num-ticks' );
-
-
-// MAIN //
-
-/**
-* Sets the number of y-axis tick marks.
-*
-* @private
-* @param {(NonNegativeInteger|null)} ticks - number of ticks
-* @throws {TypeError} must be a nonnegative integer or null
-*/
-function set( ticks ) {
- /* eslint-disable no-invalid-this */
- if ( !isNull( ticks ) && !isNonNegativeInteger( ticks ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer or null. Value: `%s`.', 'yNumTicks', ticks ) );
- }
- if ( ticks !== this._yNumTicks ) {
- debug( 'Current value: %d.', this._yNumTicks );
-
- this._yNumTicks = ticks;
- debug( 'New value: %d.', this._yNumTicks );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-pos/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-pos/get.js
deleted file mode 100644
index 1a0ff92cbec2..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:y-pos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to y-axis coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.yScale;
- return yPos;
-
- /**
- * Maps a value to a y-axis coordinate value.
- *
- * @private
- * @param {number} d - datum
- * @returns {number} pixel value
- */
- function yPos( d ) {
- var px = scale( d );
- debug( 'Value: %d => Pixel: %d.', d, px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-range/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-range/get.js
deleted file mode 100644
index 8bf31ee69185..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-range/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the y-axis range.
-*
-* @private
-* @returns {NumberArray} range
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return [ this.graphHeight, 0 ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-tick-format/get.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-tick-format/get.js
deleted file mode 100644
index 2490f0a38d06..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-tick-format/get.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var format = require( 'd3-format' ).format; // TODO: remove
-var isNull = require( '@stdlib/assert/is-null' );
-
-
-// MAIN //
-
-/**
-* Returns the y-axis tick format.
-*
-* @private
-* @returns {(Function|null)} format function or null
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- if ( isNull( this._yTickFormat ) ) {
- return this._yTickFormat;
- }
- return format( this._yTickFormat );
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-tick-format/set.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-tick-format/set.js
deleted file mode 100644
index 85640da51fe3..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/props/y-tick-format/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNull = require( '@stdlib/assert/is-null' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:set:y-tick-format' );
-
-
-// MAIN //
-
-/**
-* Sets the y-axis tick format.
-*
-* @private
-* @param {(string|null)} fmt - axis tick format
-* @throws {TypeError} must be a string or null
-*/
-function set( fmt ) {
- /* eslint-disable no-invalid-this */
- if ( !isNull( fmt ) && !isString( fmt ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or null. Value: `%s`.', 'yTickFormat', fmt ) );
- }
- if ( fmt !== this._yTickFormat ) {
- debug( 'Current value: %s.', this._yTickFormat );
-
- this._yTickFormat = fmt;
- debug( 'New value: %s.', this._yTickFormat );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/render/index.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/render/index.js
deleted file mode 100644
index 66ed0ae82de2..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/render/index.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:render' );
-
-
-// MAIN //
-
-/**
-* Renders a plot.
-*
-* @private
-* @param {string} [format] - render format
-* @returns {(VTree|string)} virtual tree or a string
-*/
-function render( format ) {
- /* eslint-disable no-invalid-this */
- var out;
- var tmp;
- var fmt;
-
- tmp = this.renderFormat;
- if ( arguments.length ) {
- // Temporarily set the render format:
- this.renderFormat = format;
- fmt = format;
- } else {
- fmt = tmp;
- }
- debug( 'Render format: %s.', this.renderFormat );
-
- debug( 'Rendering...' );
- out = this._render( fmt );
- this.emit( 'render', out );
-
- if ( arguments.length ) {
- // Restore the render format:
- this.renderFormat = tmp;
- }
- return out;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/render/stub.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/render/stub.js
deleted file mode 100644
index d7046a7a6463..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/render/stub.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Placeholder `render` function.
-*
-* @private
-* @param {string} fmt - render format
-* @throws {Error} must be implemented by descendant classes
-*/
-function render() {
- throw new Error( 'not implemented' );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/browser/index.html b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/browser/index.html
deleted file mode 100644
index 79dc0c842de1..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/browser/index.html
+++ /dev/null
@@ -1,708 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{plot}}
-
-
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/browser/index.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/browser/index.js
deleted file mode 100644
index f47b382bac42..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/browser/index.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var path = require( 'path' );
-var toHTML = require( 'vdom-to-html' );
-var readFileSync = require( '@stdlib/fs/read-file' ).sync;
-var httpServer = require( '@stdlib/net/disposable-http-server' );
-
-
-// MAIN //
-
-/**
-* Opens a plot in a browser window.
-*
-* @private
-* @param {VTree} vtree - virtual DOM tree
-*/
-function view( vtree ) {
- var index;
- var html;
-
- // Transform the virtual DOM tree to HTML:
- html = toHTML( vtree );
-
- // Inject the HTML:
- index = path.join( __dirname, 'index.html' );
- index = readFileSync( index, {
- 'encoding': 'utf8'
- });
-
- index = index.replace( /\{\{plot\}\}/, html );
-
- // Create a disposable HTTP server:
- httpServer({
- 'html': index,
- 'open': true
- });
-}
-
-
-// EXPORTS //
-
-module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/styles.css b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/styles.css
deleted file mode 100644
index ed86f1a33289..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/styles.css
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-.canvas {
- display: block;
- margin: 0 auto;
-}
-
-.graph .hidden {
- opacity: 0;
-}
-
-/*.annotation .marker {
- cursor: pointer;
- opacity: 0.2;
- fill: #ff0000;
- stroke: none;
-}
-
-.annotation .vline {
- stroke: #000;
- stroke-opacity: 0.2;
-}*/
-
-.annotations .title {
- display: block;
- /*font-size: 2em;*/
- line-height: 2em;
- padding: 0 10px;
- /*background-color: #474747;*/
- /*color: #ffffff;*/
- font-size: 1.5em;
- color: #474747;
-}
-
-.legend {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 60px;
-}
-
-.legend .entry {
- cursor: pointer;
- margin-bottom: 10px;
-}
-
-.legend .symbol {
- display: inline-block;
- height: 4px;
- width: 10px;
- line-height: 0.3em;
-}
-
-.legend .label {
- margin-left: 10px;
-}
-
-.legend .hidden {
- opacity: 0.25;
-}
-
-.noselect {
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-/* http://css-tricks.com/guide-responsive-friendly-css-columns/ */
-.multicolumn-1 {
- -webkit-column-count: 1;
- -moz-column-count: 1;
- -ms-column-count: 1;
- column-count: 1;
-
- -webkit-column-width: 150px;
- -moz-column-width: 150px;
- -ms-column-width: 150px;
- column-width: 150px;
-}
-
-.multicolumn-2 {
- -webkit-column-count: 2;
- -moz-column-count: 2;
- -ms-column-count: 2;
- column-count: 2;
-
- -webkit-column-width: 150px;
- -moz-column-width: 150px;
- -ms-column-width: 150px;
- column-width: 150px;
-}
-
-.multicolumn-3 {
- -webkit-column-count: 3;
- -moz-column-count: 3;
- -ms-column-count: 3;
- column-count: 3;
-
- -webkit-column-width: 150px;
- -moz-column-width: 150px;
- -ms-column-width: 150px;
- column-width: 150px;
-}
-
-.multicolumn-4 {
- -webkit-column-count: 4;
- -moz-column-count: 4;
- -ms-column-count: 4;
- column-count: 4;
-
- -webkit-column-width: 150px;
- -moz-column-width: 150px;
- -ms-column-width: 150px;
- column-width: 150px;
-}
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/index.html b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/index.html
deleted file mode 100644
index 76ba506589fb..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/index.html
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{plot}}
-
-
-
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/index.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/index.js
deleted file mode 100644
index 380ca2617ab0..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/index.js
+++ /dev/null
@@ -1,149 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// TODO: refactor. Remove disposable server. Create a server in the electron process and have it serve assets from local directories. Should be similar to SimpleServer.
-
-// MODULES //
-
-var spawn = require( 'child_process' ).spawn;
-var path = require( 'path' );
-var logger = require( 'debug' );
-var toHTML = require( 'vdom-to-html' );
-var instanceOf = require( '@stdlib/assert/instance-of' );
-var ENV = require( '@stdlib/process/env' );
-var copy = require( '@stdlib/utils/copy' );
-var merge = require( '@stdlib/utils/merge' );
-var readFileSync = require( '@stdlib/fs/read-file' ).sync;
-var httpServer = require( '@stdlib/net/disposable-http-server' );
-var tryRequire = require( '@stdlib/utils/try-require' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:view:electron:main' );
-var electron = tryRequire( '@stdlib/electron' );
-
-
-// MAIN //
-
-/**
-* Opens a plot in an electron window.
-*
-* @private
-* @param {Plot} plot - plot context
-* @param {VTree} vtree - virtual tree
-* @throws {Error} Electron must be properly installed
-*/
-function view( plot, vtree ) {
- var index;
- var html;
- var opts;
- var css;
-
- if ( instanceOf( electron, Error ) ) {
- throw new Error( 'invalid operation. Unable to load Electron. Ensure Electron is installed and try again.' );
- }
- debug( 'Transforming virtual DOM tree to HTML...' );
- html = toHTML( vtree );
-
- // Define `fs` options:
- opts = {
- 'encoding': 'utf8'
- };
-
- debug( 'Injecting HTML into HTML template...' );
- index = path.join( __dirname, 'index.html' );
- index = readFileSync( index, opts );
- index = index.replace( /\{\{plot\}\}/, html );
-
- debug( 'Injecting CSS into HTML template...' );
- css = path.join( __dirname, 'css', 'reset.css' );
- css = readFileSync( css, opts );
- index = index.replace( /\{\{reset\}\}/, css );
-
- css = path.join( __dirname, 'css', 'colors.css' );
- css = readFileSync( css, opts );
- index = index.replace( /\{\{colors\}\}/, css );
-
- css = path.join( __dirname, 'css', 'styles.css' );
- css = readFileSync( css, opts );
- index = index.replace( /\{\{styles\}\}/, css );
-
- debug( 'Creating a disposable HTTP server...' );
- opts = {
- 'html': index,
- 'open': false
- };
- httpServer( opts, onReady );
-
- /**
- * Callback invoked once a server is ready to receive requests.
- *
- * @private
- * @param {(Error|null)} error - error object
- * @param {Server} server - HTTP server
- * @throws {Error} unexpected error
- */
- function onReady( error, server ) {
- var child;
- var addr;
- var opts;
- var env;
- if ( error ) {
- throw error;
- }
- addr = server.address();
- debug( 'HTTP server initialized. Server is listening for requests on %s:%d.', addr.address, addr.port );
-
- debug( 'Electron executable: %s.', electron );
-
- // TODO: extract fixed env vars to config file and then won't need to pass via environment variables, but can simply require
- env = {
- 'SERVER_PORT': addr.port,
- 'SERVER_ADDRESS': addr.address,
- 'PLOT_WIDTH': plot.width,
- 'PLOT_HEIGHT': plot.height,
- 'PLOT_APP_PATH': __dirname,
- 'PLOT_MIN_WIDTH': 100,
- 'PLOT_MIN_HEIGHT': 100,
- 'PLOT_TITLE': plot.title || 'stdlib'
- };
- debug( 'Electron process environment variables: %s.', JSON.stringify( env ) );
-
- opts = {
- 'cwd': __dirname,
- 'detached': true,
- 'stdio': 'ignore'
- };
- debug( 'Electron process options: %s.', JSON.stringify( opts ) );
-
- // Merge the current process' environment variables:
- opts.env = merge( {}, copy( ENV ), env );
-
- debug( 'Spawning an electron process...' );
- child = spawn( electron, [ './main.js' ], opts );
- child.unref();
- }
-}
-
-
-// EXPORTS //
-
-module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/main.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/main.js
deleted file mode 100644
index a7f113613389..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/main.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var app = require( 'electron' ).app;
-var BrowserWindow = require( 'electron' ).BrowserWindow;
-var ENV = require( '@stdlib/process/env' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:view:electron:main-process' );
-var mainWindow = null;
-
-
-// FUNCTIONS //
-
-/**
-* Creates a browser window.
-*
-* @private
-*/
-function createWindow() {
- var opts;
- var url;
-
- opts = {
- 'width': parseInt( ENV.PLOT_WIDTH, 10 ) + 80,
- 'height': parseInt( ENV.PLOT_HEIGHT, 10 ) + 20,
- 'title': ENV.PLOT_TITLE,
-
- // 'minWidth': parseInt( ENV.PLOT_MIN_WIDTH, 10 ), // TODO: needed?
-
- // 'minHeight': parseInt( ENV.PLOT_MIN_HEIGHT, 10 ), // TODO: needed?
-
- // 'titleBarStyle': 'hidden-inset', // hide title bar on OS X
-
- 'useContentSize': true // specify web page size only considering the content
- };
- debug( 'Creating a new browser window configured with the following options: %s.', JSON.stringify( opts ) );
- mainWindow = new BrowserWindow( opts );
-
- mainWindow.on( 'close', onClose );
-
- url = 'http://'+ENV.SERVER_ADDRESS+':'+ENV.SERVER_PORT+'/index.html';
- debug( 'Loading %s.', url );
- mainWindow.loadURL( url );
-}
-
-/**
-* Callback invoked once a window closes.
-*
-* @private
-*/
-function onClose() {
- debug( 'Window closed. Dereferencing window object to allow for GC...' );
- mainWindow = null;
-}
-
-/**
-* Quits the application.
-*
-* @private
-*/
-function quit() {
- debug( 'Quitting application...' );
- app.quit();
-}
-
-
-// MAIN //
-
-/**
-* Runs the application.
-*
-* @private
-*/
-function main() {
- app.on( 'ready', createWindow );
- app.on( 'window-all-closed', quit );
-}
-
-debug( 'Running application...' );
-main();
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/index.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/index.js
deleted file mode 100644
index 36affde53c13..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/index.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var createView = require( './view.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'plot:base:view' );
-
-
-// MAIN //
-
-/**
-* Generates a plot view.
-*
-* @private
-* @param {string} viewer - plot viewer
-*/
-function view( viewer ) {
- /* eslint-disable no-invalid-this */
- var tmp = this.viewer;
- if ( arguments.length ) {
- // Temporarily set the viewer:
- this.viewer = viewer;
- }
- debug( 'Viewer: %s.', this.viewer );
- debug( 'Generating view...' );
- createView( this, this.viewer, this.render() );
- if ( arguments.length ) {
- // Restore the viewer:
- this.viewer = tmp;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/stdout/index.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/stdout/index.js
deleted file mode 100644
index be3992695bc2..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/stdout/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Writes a plot (rendered as a virtual DOM tree) to `stdout`.
-*
-* @private
-* @param {VTree} plot - virtual tree
-*/
-function view( plot ) {
- console.log( JSON.stringify( plot ) );
-}
-
-
-// EXPORTS //
-
-module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/view.browser.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/view.browser.js
deleted file mode 100644
index 91e2b3561cc4..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/view.browser.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var format = require( '@stdlib/string/format' );
-var stdout = require( './stdout' );
-
-
-// MAIN //
-
-/**
-* Generates a plot view.
-*
-* @private
-* @param {Plot} plot - plot context
-* @param {string} viewer - plot viewer
-* @param {VTree} vtree - virtual tree
-* @throws {Error} must specify a supported viewer
-* @returns {void}
-*/
-function view( plot, viewer, vtree ) {
- if ( viewer === 'none' ) {
- return;
- }
- if ( viewer === 'stdout' ) {
- return stdout( vtree );
- }
- if ( viewer === 'browser' ) {
- throw new Error( format( 'invalid argument. Must provide a supported viewer. Value: `%s`.', viewer ) );
- }
- if ( viewer === 'terminal' ) {
- // TODO: ASCII
- return;
- }
- throw new Error( format( 'invalid argument. Must provide a supported viewer. Value: `%s`.', viewer ) );
-}
-
-
-// EXPORTS //
-
-module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/view.js b/lib/node_modules/@stdlib/plot/base/ctor/lib/view/view.js
deleted file mode 100644
index 362970ed3e18..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/view.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var stdout = require( './stdout' );
-var browser = require( './browser' );
-var electron = require( './electron' );
-
-
-// MAIN //
-
-/**
-* Generates a plot view.
-*
-* @private
-* @param {Plot} plot - plot context
-* @param {string} viewer - plot viewer
-* @param {VTree} vtree - virtual
-* @returns {void}
-*/
-function view( plot, viewer, vtree ) {
- if ( viewer === 'none' ) {
- return;
- }
- if ( viewer === 'stdout' ) {
- return stdout( vtree );
- }
- if ( viewer === 'browser' ) {
- return browser( vtree );
- }
- if ( viewer === 'terminal' ) {
- // TODO: ASCII
- return;
- }
- // viewer === 'window'
- electron( plot, vtree );
-}
-
-
-// EXPORTS //
-
-module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/package.json b/lib/node_modules/@stdlib/plot/base/ctor/package.json
deleted file mode 100644
index 00a2c390017c..000000000000
--- a/lib/node_modules/@stdlib/plot/base/ctor/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "name": "@stdlib/plot/base/ctor",
- "version": "0.0.0",
- "description": "Base 2-dimensional plot constructor.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "browser": {
- "./lib/view/view.js": "./lib/view/view.browser.js"
- },
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "base",
- "constructor",
- "ctor",
- "figure",
- "fig",
- "graph",
- "chart",
- "diagram",
- "2-dimensional",
- "2d",
- "data",
- "visualize",
- "visualization",
- "dataviz",
- "explore",
- "exploratory",
- "analysis"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/README.md b/lib/node_modules/@stdlib/plot/base/line-styles/README.md
new file mode 100644
index 000000000000..366e19b9938e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/README.md
@@ -0,0 +1,117 @@
+
+
+# lineStyles
+
+> List of supported line styles.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var lineStyles = require( '@stdlib/plot/base/line-styles' );
+```
+
+#### lineStyles()
+
+Returns a list of line styles.
+
+```javascript
+var out = lineStyles();
+// returns [ '-', '--', '-.', ':' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var lineStyles = require( '@stdlib/plot/base/line-styles' );
+
+var isLineStyle = contains( lineStyles() );
+
+var bool = isLineStyle( '-' );
+// returns true
+
+bool = isLineStyle( ':' );
+// returns true
+
+bool = isLineStyle( '*' );
+// returns false
+
+bool = isLineStyle( '+' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/base/line-styles/benchmark/benchmark.js
new file mode 100644
index 000000000000..71a105c7d9a4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var lineStyles = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = lineStyles();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/docs/repl.txt b/lib/node_modules/@stdlib/plot/base/line-styles/docs/repl.txt
new file mode 100644
index 000000000000..f7bbf08e295e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of line styles.
+
+ Returns
+ -------
+ out: Array
+ List of line styles.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ '-', '--', '-.', ':' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/base/line-styles/docs/types/index.d.ts
new file mode 100644
index 000000000000..e29085d29789
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of line styles.
+*
+* @returns list of line styles
+*
+* @example
+* var list = lineStyles();
+* // returns [ '-', '--', '-.', ':' ]
+*/
+declare function lineStyles(): Array;
+
+
+// EXPORTS //
+
+export = lineStyles;
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/docs/types/test.ts b/lib/node_modules/@stdlib/plot/base/line-styles/docs/types/test.ts
new file mode 100644
index 000000000000..668336fe99fa
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import lineStyles = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ lineStyles(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ lineStyles( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/examples/index.js b/lib/node_modules/@stdlib/plot/base/line-styles/examples/index.js
new file mode 100644
index 000000000000..41fe1dda0057
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var lineStyles = require( './../lib' );
+
+var isLineStyle = contains( lineStyles() );
+
+var bool = isLineStyle( '-' );
+console.log( bool );
+// => true
+
+bool = isLineStyle( ':' );
+console.log( bool );
+// => true
+
+bool = isLineStyle( '*' );
+console.log( bool );
+// => false
+
+bool = isLineStyle( '+' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/lib/data.json b/lib/node_modules/@stdlib/plot/base/line-styles/lib/data.json
new file mode 100644
index 000000000000..5fb1c6b6621b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/lib/data.json
@@ -0,0 +1,6 @@
+[
+ "-",
+ "--",
+ "-.",
+ ":"
+]
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/lib/index.js b/lib/node_modules/@stdlib/plot/base/line-styles/lib/index.js
new file mode 100644
index 000000000000..80e03dcf3adf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of line styles.
+*
+* @module @stdlib/plot/base/line-styles
+*
+* @example
+* var lineStyles = require( '@stdlib/plot/base/line-styles' );
+*
+* var out = lineStyles();
+* // returns [ '-', '--', '-.', ':' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/lib/main.js b/lib/node_modules/@stdlib/plot/base/line-styles/lib/main.js
new file mode 100644
index 000000000000..b208b51dbc88
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of line styles.
+*
+* @returns {StringArray} list of line styles
+*
+* @example
+* var out = lineStyles();
+* // returns [ '-', '--', '-.', ':' ]
+*/
+function lineStyles() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = lineStyles;
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/package.json b/lib/node_modules/@stdlib/plot/base/line-styles/package.json
new file mode 100644
index 000000000000..83a57d4ce0d0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/package.json
@@ -0,0 +1,62 @@
+{
+ "name": "@stdlib/plot/base/line-styles",
+ "version": "0.0.0",
+ "description": "List of supported line styles.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "line-style",
+ "linestyle",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/base/line-styles/test/test.js b/lib/node_modules/@stdlib/plot/base/line-styles/test/test.js
new file mode 100644
index 000000000000..c5df987ec1ba
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/line-styles/test/test.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var lineStyles = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof lineStyles, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of line styles', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ '-',
+ '--',
+ '-.',
+ ':'
+ ];
+ actual = lineStyles();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/README.md b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/README.md
new file mode 100644
index 000000000000..74d4dfb99763
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/README.md
@@ -0,0 +1,121 @@
+
+
+# linestyle2dasharray
+
+> Convert a [line style][@stdlib/plot/base/line-styles] string to a stroke dash array.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var linestyle2dasharray = require( '@stdlib/plot/base/linestyle2dasharray' );
+```
+
+#### linestyle2dasharray( value )
+
+Converts a [line style][@stdlib/plot/base/line-styles] string to a [`stroke-dasharray`][mdn-stroke-dasharray].
+
+```javascript
+var out = linestyle2dasharray( '--' );
+// returns [ 5, 1 ]
+```
+
+If unable to resolve a stroke dash array, the function returns `null`.
+
+```javascript
+var out = linestyle2dasharray( '===' );
+// returns null
+```
+
+
+
+
+
+
+
+
+
+## Notes
+
+- A dash array consists of `[stroke, space, ...]` lengths for creating dashed or dotted lines.
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var logEachMap = require( '@stdlib/console/log-each-map' );
+var lineStyles = require( '@stdlib/plot/base/line-styles' );
+var linestyle2dasharray = require( '@stdlib/plot/base/linestyle2dasharray' );
+
+logEachMap( '%s => [%s]', lineStyles(), linestyle2dasharray );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mdn-stroke-dasharray]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray
+
+[@stdlib/plot/base/line-styles]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/base/line-styles
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/benchmark/benchmark.js
new file mode 100644
index 000000000000..e1393cfcfbd8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/benchmark/benchmark.js
@@ -0,0 +1,56 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isArray = require( '@stdlib/assert/is-array' );
+var pkg = require( './../package.json' ).name;
+var linestyle2dasharray = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var i;
+
+ values = [
+ '-',
+ ':',
+ '-.',
+ '--'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = linestyle2dasharray( values[ i%values.length ] );
+ if ( typeof out !== 'object' ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isArray( out ) ) {
+ b.fail( 'should return an array' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/repl.txt b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/repl.txt
new file mode 100644
index 000000000000..41fb3e56934a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/repl.txt
@@ -0,0 +1,24 @@
+
+{{alias}}( value )
+ Converts a line style string to a stroke dash array.
+
+ If unable to resolve a stroke-dasharray, the function returns `null`.
+
+ Parameters
+ ----------
+ value: string
+ Line style string.
+
+ Returns
+ -------
+ out: Array|null
+ Dash array.
+
+ Examples
+ --------
+ > var out = {{alias}}( '--' )
+ [ 5, 1 ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/types/index.d.ts
new file mode 100644
index 000000000000..32daa1059d94
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/types/index.d.ts
@@ -0,0 +1,49 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Converts a line style string to a [`stroke-dasharray`][1].
+*
+* ## Notes
+*
+* - A dash array consists of `[stroke, space, ...]` lengths for creating dashed or dotted lines.
+* - If unable to resolve a stroke dash array, the function returns `null`.
+*
+* [1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray
+*
+* @param value - line style string
+* @returns stroke dash array
+*
+* @example
+* var v = linestyle2dasharray( '-' );
+* // returns []
+*
+* v = linestyle2dasharray( '--' );
+* // returns [ 5, 1 ]
+*
+* v = linestyle2dasharray( '=' );
+* // returns null
+*/
+declare function linestyle2dasharray( value: string ): Array | null;
+
+
+// EXPORTS //
+
+export = linestyle2dasharray;
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/types/test.ts b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/types/test.ts
new file mode 100644
index 000000000000..ef579eed8d06
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/docs/types/test.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import linestyle2dasharray = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array or null...
+{
+ linestyle2dasharray( '-' ); // $ExpectType number[] | null
+}
+
+// The compiler throws an error if the function is not provided a string...
+{
+ linestyle2dasharray( 1 ); // $ExpectError
+ linestyle2dasharray( true ); // $ExpectError
+ linestyle2dasharray( false ); // $ExpectError
+ linestyle2dasharray( null ); // $ExpectError
+ linestyle2dasharray( undefined ); // $ExpectError
+ linestyle2dasharray( [] ); // $ExpectError
+ linestyle2dasharray( {} ); // $ExpectError
+ linestyle2dasharray( ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ linestyle2dasharray(); // $ExpectError
+ linestyle2dasharray( '-', {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/examples/index.js b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/examples/index.js
new file mode 100644
index 000000000000..2cf14e7c463b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/examples/index.js
@@ -0,0 +1,25 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var logEachMap = require( '@stdlib/console/log-each-map' );
+var lineStyles = require( '@stdlib/plot/base/line-styles' );
+var linestyle2dasharray = require( './../lib' );
+
+logEachMap( '%s => [%s]', lineStyles(), linestyle2dasharray );
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/lib/index.js b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/lib/index.js
new file mode 100644
index 000000000000..c1fb92fc4ea8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/lib/index.js
@@ -0,0 +1,46 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert a line style string to a stroke dash array.
+*
+* @module @stdlib/plot/base/linestyle2dasharray
+*
+* @example
+* var linestyle2dasharray = require( '@stdlib/plot/base/linestyle2dasharray' );
+*
+* var v = linestyle2dasharray( '-' );
+* // returns []
+*
+* v = linestyle2dasharray( '--' );
+* // returns [ 5, 1 ]
+*
+* v = linestyle2dasharray( '=' );
+* // returns null
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/lib/main.js b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/lib/main.js
new file mode 100644
index 000000000000..2a2d4599b588
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/lib/main.js
@@ -0,0 +1,70 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// VARIABLES //
+
+var STYLES = {
+ // Solid path:
+ '-': [],
+
+ // Dashes:
+ '--': [ 5, 1 ],
+
+ // Dotted path:
+ ':': [ 0.9 ],
+
+ // Dash-dotted path:
+ '-.': [ 5, 1, 1, 1 ]
+};
+
+
+// MAIN //
+
+/**
+* Converts a line style string to a [`stroke-dasharray`][1].
+*
+* ## Notes
+*
+* - A dash array consists of `[stroke, space, ...]` lengths for creating dashed or dotted lines.
+*
+* [1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray
+*
+* @param {string} value - line style
+* @returns {(Array|null)} dash array or null
+*
+* @example
+* var v = linestyle2dasharray( '-' );
+* // returns []
+*
+* v = linestyle2dasharray( '--' );
+* // returns [ 5, 1 ]
+*
+* v = linestyle2dasharray( '=' );
+* // returns null
+*/
+function linestyle2dasharray( value ) {
+ var v = STYLES[ value ];
+ return ( v ) ? v.slice() : null;
+}
+
+
+// EXPORTS //
+
+module.exports = linestyle2dasharray;
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/package.json b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/package.json
new file mode 100644
index 000000000000..ef0044bd17a6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/package.json
@@ -0,0 +1,65 @@
+{
+ "name": "@stdlib/plot/base/linestyle2dasharray",
+ "version": "0.0.0",
+ "description": "Convert a line style string to a stroke dash array.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "linestyle",
+ "line-style",
+ "dasharray",
+ "stroke",
+ "stroke-dasharray",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/test/test.js b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/test/test.js
new file mode 100644
index 000000000000..d398138cfe01
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/linestyle2dasharray/test/test.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isNumericArray = require( '@stdlib/assert/is-numeric-array' );
+var lineStyles = require( '@stdlib/plot/base/line-styles' );
+var linestyle2dasharray = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof linestyle2dasharray, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function converts a line style string to a stroke dash array', function test( t ) {
+ var values;
+ var i;
+
+ values = lineStyles();
+ for ( i = 0; i < values.length; i++ ) {
+ t.strictEqual( isNumericArray( linestyle2dasharray( values[ i ] ) ), true, 'returns expected value for ' + values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'if unable to resolve a stroke dash array, the function returns `null`', function test( t ) {
+ var expected;
+ var actual;
+ var values;
+ var i;
+
+ values = [
+ '==',
+ '^^',
+ '**',
+ '*'
+ ];
+ expected = null;
+ for ( i = 0; i < values.length; i++ ) {
+ actual = linestyle2dasharray( values[ i ] );
+ t.strictEqual( actual, expected, 'returns expected value for ' + values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/browser/index.html b/lib/node_modules/@stdlib/plot/base/view/lib/browser/index.html
new file mode 100644
index 000000000000..0e9e5360990a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/browser/index.html
@@ -0,0 +1,708 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{plot}}
+
+
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/browser/index.js b/lib/node_modules/@stdlib/plot/base/view/lib/browser/index.js
new file mode 100644
index 000000000000..d8dd5f215c41
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/browser/index.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var path = require( 'path' );
+var readFileSync = require( '@stdlib/fs/read-file' ).sync;
+var replace = require( '@stdlib/string/base/replace' );
+var httpServer = require( '@stdlib/net/disposable-http-server' );
+
+
+// VARIABLES //
+
+var TEMPLATE = path.join( __dirname, 'index.html' );
+var FOPTS = {
+ 'encoding': 'utf8'
+};
+var RE_PLOT = /\{\{plot\}\}/;
+
+
+// MAIN //
+
+/**
+* Opens a plot in a browser window.
+*
+* @private
+* @param {string} html - HTML string
+*/
+function view( html ) {
+ // Create a disposable HTTP server...
+ httpServer({
+ 'html': replace( readFileSync( TEMPLATE, FOPTS ), RE_PLOT, html ),
+ 'open': true
+ });
+}
+
+
+// EXPORTS //
+
+module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/colors.css b/lib/node_modules/@stdlib/plot/base/view/lib/electron/css/colors.css
similarity index 99%
rename from lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/colors.css
rename to lib/node_modules/@stdlib/plot/base/view/lib/electron/css/colors.css
index 4aef35fbf55f..081894b67a40 100644
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/colors.css
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/css/colors.css
@@ -1,7 +1,7 @@
/*
* @license Apache-2.0
*
-* Copyright (c) 2018 The Stdlib Authors.
+* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/reset.css b/lib/node_modules/@stdlib/plot/base/view/lib/electron/css/reset.css
similarity index 94%
rename from lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/reset.css
rename to lib/node_modules/@stdlib/plot/base/view/lib/electron/css/reset.css
index 753131e3589b..8ff404a7c401 100644
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/css/reset.css
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/css/reset.css
@@ -1,7 +1,7 @@
/*
* @license Apache-2.0
*
-* Copyright (c) 2018 The Stdlib Authors.
+* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@
*/
/* http://meyerweb.com/eric/tools/css/reset/
- v2.0 | 20110126
- License: none (public domain)
+* v2.0 | 20110126
+* License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/electron/css/styles.css b/lib/node_modules/@stdlib/plot/base/view/lib/electron/css/styles.css
new file mode 100644
index 000000000000..9c3a08eefbc1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/css/styles.css
@@ -0,0 +1,135 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+.canvas {
+ display: block;
+ margin: 0 auto;
+}
+
+.graph .hidden {
+ opacity: 0;
+}
+
+/*.annotation .marker {
+ cursor: pointer;
+ opacity: 0.2;
+ fill: #ff0000;
+ stroke: none;
+}
+
+.annotation .vline {
+ stroke: #000;
+ stroke-opacity: 0.2;
+}*/
+
+.annotations .title {
+ display: block;
+ /*font-size: 2em;*/
+ line-height: 2em;
+ padding: 0 10px;
+ /*background-color: #474747;*/
+ /*color: #ffffff;*/
+ font-size: 1.5em;
+ color: #474747;
+}
+
+.legend {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 60px;
+}
+
+.legend .entry {
+ cursor: pointer;
+ margin-bottom: 10px;
+}
+
+.legend .symbol {
+ display: inline-block;
+ height: 4px;
+ width: 10px;
+ line-height: 0.3em;
+}
+
+.legend .label {
+ margin-left: 10px;
+}
+
+.legend .hidden {
+ opacity: 0.25;
+}
+
+.noselect {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+/* http://css-tricks.com/guide-responsive-friendly-css-columns/ */
+.multicolumn-1 {
+ -webkit-column-count: 1;
+ -moz-column-count: 1;
+ -ms-column-count: 1;
+ column-count: 1;
+
+ -webkit-column-width: 150px;
+ -moz-column-width: 150px;
+ -ms-column-width: 150px;
+ column-width: 150px;
+}
+
+.multicolumn-2 {
+ -webkit-column-count: 2;
+ -moz-column-count: 2;
+ -ms-column-count: 2;
+ column-count: 2;
+
+ -webkit-column-width: 150px;
+ -moz-column-width: 150px;
+ -ms-column-width: 150px;
+ column-width: 150px;
+}
+
+.multicolumn-3 {
+ -webkit-column-count: 3;
+ -moz-column-count: 3;
+ -ms-column-count: 3;
+ column-count: 3;
+
+ -webkit-column-width: 150px;
+ -moz-column-width: 150px;
+ -ms-column-width: 150px;
+ column-width: 150px;
+}
+
+.multicolumn-4 {
+ -webkit-column-count: 4;
+ -moz-column-count: 4;
+ -ms-column-count: 4;
+ column-count: 4;
+
+ -webkit-column-width: 150px;
+ -moz-column-width: 150px;
+ -ms-column-width: 150px;
+ column-width: 150px;
+}
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/electron/index.html b/lib/node_modules/@stdlib/plot/base/view/lib/electron/index.html
new file mode 100644
index 000000000000..40a36789b809
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/index.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{plot}}
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/electron/index.js b/lib/node_modules/@stdlib/plot/base/view/lib/electron/index.js
new file mode 100644
index 000000000000..ca58345cb1ea
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/index.js
@@ -0,0 +1,147 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// TODO: refactor. Remove disposable server. Create a server in the electron process and have it serve assets from local directories. Should be similar to SimpleServer.
+
+// MODULES //
+
+var spawn = require( 'child_process' ).spawn;
+var path = require( 'path' );
+var logger = require( 'debug' );
+var instanceOf = require( '@stdlib/assert/instance-of' );
+var ENV = require( '@stdlib/process/env' );
+var copy = require( '@stdlib/utils/copy' );
+var merge = require( '@stdlib/utils/merge' );
+var readFileSync = require( '@stdlib/fs/read-file' ).sync;
+var httpServer = require( '@stdlib/net/disposable-http-server' );
+var tryRequire = require( '@stdlib/utils/try-require' );
+
+
+// VARIABLES //
+
+var debug = logger( 'plot:view:electron:main' );
+var electron = tryRequire( '@stdlib/electron' );
+
+
+// MAIN //
+
+/**
+* Opens a plot in an electron window.
+*
+* @private
+* @param {Object} plot - plot context
+* @param {NonNegativeInteger} plot.width - plot width
+* @param {NonNegativeInteger} plot.height - plot height
+* @param {string} plot.title - plot title
+* @param {string} html - HTML string
+* @throws {Error} Electron must be properly installed
+*/
+function view( plot, html ) {
+ var index;
+ var opts;
+ var css;
+
+ if ( instanceOf( electron, Error ) ) {
+ throw new Error( 'invalid operation. Unable to load Electron. Ensure Electron is installed and try again.' );
+ }
+ // Define `fs` options:
+ opts = {
+ 'encoding': 'utf8'
+ };
+
+ debug( 'Injecting HTML into HTML template...' );
+ index = path.join( __dirname, 'index.html' );
+ index = readFileSync( index, opts );
+ index = index.replace( /\{\{plot\}\}/, html );
+
+ debug( 'Injecting CSS into HTML template...' );
+ css = path.join( __dirname, 'css', 'reset.css' );
+ css = readFileSync( css, opts );
+ index = index.replace( /\{\{reset\}\}/, css );
+
+ css = path.join( __dirname, 'css', 'colors.css' );
+ css = readFileSync( css, opts );
+ index = index.replace( /\{\{colors\}\}/, css );
+
+ css = path.join( __dirname, 'css', 'styles.css' );
+ css = readFileSync( css, opts );
+ index = index.replace( /\{\{styles\}\}/, css );
+
+ debug( 'Creating a disposable HTTP server...' );
+ opts = {
+ 'html': index,
+ 'open': false
+ };
+ httpServer( opts, onReady );
+
+ /**
+ * Callback invoked once a server is ready to receive requests.
+ *
+ * @private
+ * @param {(Error|null)} error - error object
+ * @param {Server} server - HTTP server
+ * @throws {Error} unexpected error
+ */
+ function onReady( error, server ) {
+ var child;
+ var addr;
+ var opts;
+ var env;
+ if ( error ) {
+ throw error;
+ }
+ addr = server.address();
+ debug( 'HTTP server initialized. Server is listening for requests on %s:%d.', addr.address, addr.port );
+
+ debug( 'Electron executable: %s.', electron );
+
+ // TODO: extract fixed env vars to config file and then won't need to pass via environment variables, but can simply require
+ env = {
+ 'SERVER_PORT': addr.port,
+ 'SERVER_ADDRESS': addr.address,
+ 'PLOT_WIDTH': plot.width,
+ 'PLOT_HEIGHT': plot.height,
+ 'PLOT_APP_PATH': __dirname,
+ 'PLOT_MIN_WIDTH': 100,
+ 'PLOT_MIN_HEIGHT': 100,
+ 'PLOT_TITLE': plot.title || 'stdlib'
+ };
+ debug( 'Electron process environment variables: %s.', JSON.stringify( env ) );
+
+ opts = {
+ 'cwd': __dirname,
+ 'detached': true,
+ 'stdio': 'ignore'
+ };
+ debug( 'Electron process options: %s.', JSON.stringify( opts ) );
+
+ // Merge the current process' environment variables:
+ opts.env = merge( {}, copy( ENV ), env );
+
+ debug( 'Spawning an electron process...' );
+ child = spawn( electron, [ './main.js' ], opts );
+ child.unref();
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/js/debug.js b/lib/node_modules/@stdlib/plot/base/view/lib/electron/js/debug.js
similarity index 91%
rename from lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/js/debug.js
rename to lib/node_modules/@stdlib/plot/base/view/lib/electron/js/debug.js
index d736a98ef255..9e7edb01eaa4 100644
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/js/debug.js
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/js/debug.js
@@ -1,7 +1,7 @@
/**
* @license Apache-2.0
*
-* Copyright (c) 2018 The Stdlib Authors.
+* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ var debug;
localStorage.debug = ENV.DEBUG;
// Load `debug`:
-debug = require( 'debug/browser' ); // eslint-disable-line stdlib/require-order
+debug = require( 'debug/browser' ); // eslint-disable-line stdlib/require-order, stdlib/require-file-extensions
// EXPORTS //
diff --git a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/js/script.js b/lib/node_modules/@stdlib/plot/base/view/lib/electron/js/script.js
similarity index 94%
rename from lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/js/script.js
rename to lib/node_modules/@stdlib/plot/base/view/lib/electron/js/script.js
index 39a44c2a0b0b..6896bc63a21b 100644
--- a/lib/node_modules/@stdlib/plot/base/ctor/lib/view/electron/js/script.js
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/js/script.js
@@ -1,7 +1,7 @@
/**
* @license Apache-2.0
*
-* Copyright (c) 2018 The Stdlib Authors.
+* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ var logger = require( './debug.js' );
// VARIABLES //
var DIR = path.join( ENV.PLOT_APP_PATH, 'css' );
-var debug = logger( 'plot:base:view:electron:script' );
+var debug = logger( 'plot:view:electron:script' );
// FUNCTIONS //
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/electron/main.js b/lib/node_modules/@stdlib/plot/base/view/lib/electron/main.js
new file mode 100644
index 000000000000..c5e9bf09ebbb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/electron/main.js
@@ -0,0 +1,103 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var app = require( 'electron' ).app; // eslint-disable-line stdlib/require-file-extensions
+var BrowserWindow = require( 'electron' ).BrowserWindow; // eslint-disable-line stdlib/require-file-extensions
+var ENV = require( '@stdlib/process/env' );
+
+
+// VARIABLES //
+
+var debug = logger( 'plot:view:electron:main-process' );
+var mainWindow = null;
+
+
+// FUNCTIONS //
+
+/**
+* Creates a browser window.
+*
+* @private
+*/
+function createWindow() {
+ var opts;
+ var url;
+
+ opts = {
+ 'width': parseInt( ENV.PLOT_WIDTH, 10 ) + 80,
+ 'height': parseInt( ENV.PLOT_HEIGHT, 10 ) + 20,
+ 'title': ENV.PLOT_TITLE,
+
+ // 'minWidth': parseInt( ENV.PLOT_MIN_WIDTH, 10 ), // TODO: needed?
+
+ // 'minHeight': parseInt( ENV.PLOT_MIN_HEIGHT, 10 ), // TODO: needed?
+
+ // 'titleBarStyle': 'hidden-inset', // hide title bar on OS X
+
+ 'useContentSize': true // specify web page size only considering the content
+ };
+ debug( 'Creating a new browser window configured with the following options: %s.', JSON.stringify( opts ) );
+ mainWindow = new BrowserWindow( opts );
+
+ mainWindow.on( 'close', onClose );
+
+ url = 'http://'+ENV.SERVER_ADDRESS+':'+ENV.SERVER_PORT+'/index.html';
+ debug( 'Loading %s.', url );
+ mainWindow.loadURL( url );
+}
+
+/**
+* Callback invoked once a window closes.
+*
+* @private
+*/
+function onClose() {
+ debug( 'Window closed. Dereferencing window object to allow for GC...' );
+ mainWindow = null;
+}
+
+/**
+* Quits the application.
+*
+* @private
+*/
+function quit() {
+ debug( 'Quitting application...' );
+ app.quit();
+}
+
+
+// MAIN //
+
+/**
+* Runs the application.
+*
+* @private
+*/
+function main() {
+ app.on( 'ready', createWindow );
+ app.on( 'window-all-closed', quit );
+}
+
+debug( 'Running application...' );
+main();
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/index.js b/lib/node_modules/@stdlib/plot/base/view/lib/index.js
new file mode 100644
index 000000000000..95bd2b7d0d23
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/index.js
@@ -0,0 +1,39 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Create a plot view.
+*
+* @module @stdlib/plot/base/view
+*
+* @example
+* var view = require( '@stdlib/plot/base/view' );
+*
+* // TODO: example
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/main.browser.js b/lib/node_modules/@stdlib/plot/base/view/lib/main.browser.js
new file mode 100644
index 000000000000..fae3aab65618
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/main.browser.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var format = require( '@stdlib/string/format' );
+var stdout = require( './stdout' );
+
+
+// MAIN //
+
+/**
+* Generates a plot view.
+*
+* @private
+* @param {Plot} plot - plot context
+* @param {string} viewer - plot viewer
+* @param {string} html - rendered plot
+* @throws {Error} must specify a supported viewer
+* @returns {void}
+*/
+function view( plot, viewer, html ) {
+ if ( viewer === 'stdout' ) {
+ return stdout( html );
+ }
+ throw new Error( format( 'invalid argument. Must provide a supported viewer. Value: `%s`.', viewer ) );
+}
+
+
+// EXPORTS //
+
+module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/main.js b/lib/node_modules/@stdlib/plot/base/view/lib/main.js
new file mode 100644
index 000000000000..8d831508eece
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/main.js
@@ -0,0 +1,56 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var stdout = require( './stdout' );
+var browser = require( './browser' );
+var electron = require( './electron' );
+
+
+// MAIN //
+
+/**
+* Generates a plot view.
+*
+* @private
+* @param {Plot} plot - plot context
+* @param {NonNegativeInteger} plot.width - plot width
+* @param {NonNegativeInteger} plot.height - plot height
+* @param {string} plot.title - plot title
+* @param {string} viewer - plot viewer
+* @param {html} html - rendered plot
+* @returns {void}
+*/
+function view( plot, viewer, html ) {
+ if ( viewer === 'stdout' ) {
+ return stdout( html );
+ }
+ if ( viewer === 'browser' ) {
+ return browser( html );
+ }
+ // viewer === 'window'
+ electron( plot, html );
+}
+
+
+// EXPORTS //
+
+module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/view/lib/stdout/index.js b/lib/node_modules/@stdlib/plot/base/view/lib/stdout/index.js
new file mode 100644
index 000000000000..ff40ac464684
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/lib/stdout/index.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var log = require( '@stdlib/console/log' );
+
+
+// MAIN //
+
+/**
+* Writes a rendered plot to `stdout`.
+*
+* @private
+* @param {string} str - rendered plot
+*/
+function view( str ) {
+ log( str );
+}
+
+
+// EXPORTS //
+
+module.exports = view;
diff --git a/lib/node_modules/@stdlib/plot/base/view/package.json b/lib/node_modules/@stdlib/plot/base/view/package.json
new file mode 100644
index 000000000000..a709e6f3891f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/base/view/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/base/view",
+ "version": "0.0.0",
+ "description": "Create a plot view.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "browser": {
+ "./lib/main.js": "./lib/main.browser.js"
+ },
+ "directories": {
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "view",
+ "render",
+ "figure",
+ "fig",
+ "graph",
+ "chart",
+ "diagram",
+ "data",
+ "visualize",
+ "visualization",
+ "dataviz",
+ "explore",
+ "exploratory",
+ "analysis"
+ ]
+}
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/examples/index.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/examples/index.js
new file mode 100644
index 000000000000..278b62b672ee
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/examples/index.js
@@ -0,0 +1,26 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Chart = require( './../lib' );
+
+var chart = new Chart({
+ 'title': 'Hello World!'
+});
+console.log( chart.toJSON() );
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/autosize/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/autosize/get.js
new file mode 100644
index 000000000000..30dc9714fb5b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/autosize/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the autosize configuration.
+*
+* @private
+* @returns {Autosize} autosize configuration
+*/
+function get() {
+ return this.config.autosize;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/autosize/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/autosize/set.js
new file mode 100644
index 000000000000..8044eaea3ea9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/autosize/set.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+
+
+// MAIN //
+
+/**
+* Sets the autosize configuration.
+*
+* @private
+* @param {(Object|Autosize)} value - input value
+* @throws {TypeError} must be a valid configuration
+* @returns {void}
+*/
+function set( value ) {
+ if ( !( value instanceof Autosize ) ) {
+ value = new Autosize( value ); // note: this accounts for both vanilla objects and cross-realm instances
+ }
+ this.config.autosize = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/background/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/background/get.js
new file mode 100644
index 000000000000..baec6f9824e3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/background/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart background color.
+*
+* @private
+* @returns {string} color
+*/
+function get() {
+ return this.config.background;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/background/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/background/set.js
new file mode 100644
index 000000000000..823ee32def32
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/background/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the chart background color.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ this.config.background = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/defaults.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/defaults.js
new file mode 100644
index 000000000000..f4508a98da20
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/defaults.js
@@ -0,0 +1,71 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isNodeREPL = require( '@stdlib/assert/is-node-repl' );
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+
+
+// MAIN //
+
+/**
+* Returns defaults.
+*
+* @private
+* @returns {Object} defaults
+*
+* @example
+* var obj = defaults();
+* // returns {...}
+*/
+function defaults() {
+ var isREPL = isNodeREPL();
+ return {
+ // Autosize configuration:
+ 'autosize': new Autosize({
+ 'type': 'none',
+ 'contains': 'padding'
+ }),
+
+ // Height (in pixels):
+ 'height': 480,
+
+ // Chart padding (in pixels):
+ 'padding': new Padding({
+ 'bottom': 80,
+ 'left': 90,
+ 'right': 20,
+ 'top': 80
+ }),
+
+ // Chart viewer:
+ 'viewer': ( isREPL ) ? 'window' : 'stdout',
+
+ // Width (in pixels):
+ 'width': 600
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = defaults;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/description/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/description/get.js
new file mode 100644
index 000000000000..994f75ed5617
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/description/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart description.
+*
+* @private
+* @returns {string} description
+*/
+function get() {
+ return this.config.description;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/description/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/description/set.js
new file mode 100644
index 000000000000..9943b0aa1228
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/description/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the chart description.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ this.config.description = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/height/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/height/get.js
new file mode 100644
index 000000000000..99ca2ba7dcbf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/height/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart height (in pixels).
+*
+* @private
+* @returns {NonNegativeNumber} height
+*/
+function get() {
+ return this.config.height;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/height/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/height/set.js
new file mode 100644
index 000000000000..1f3f8f455bc5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/height/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the chart height (in pixels).
+*
+* @private
+* @param {NonNegativeNumber} value - input value
+* @throws {TypeError} must be a nonnegative number
+* @returns {void}
+*/
+function set( value ) {
+ this.config.height = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/index.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/index.js
new file mode 100644
index 000000000000..8365332c7647
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/index.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Base chart constructor.
+*
+* @module @stdlib/plot/charts/base/ctor
+*
+* @example
+* var Chart = require( '@stdlib/plot/charts/base/ctor' );
+*
+* var chart = new Chart();
+* // returns
+*
+* // TODO: update example
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/main.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/main.js
new file mode 100644
index 000000000000..947d76f7a1cd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/main.js
@@ -0,0 +1,468 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-restricted-syntax, no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var EventEmitter = require( 'events' ).EventEmitter;
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var isFunction = require( '@stdlib/assert/is-function' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' );
+var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var inherit = require( '@stdlib/utils/inherit' );
+var Visualization = require( '@stdlib/plot/vega/builder' );
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+var spec2svg = require( '@stdlib/plot/vega/base/spec2svg' );
+var createView = require( '@stdlib/plot/base/view' );
+var format = require( '@stdlib/string/format' );
+var defaults = require( './defaults.js' );
+
+// Note: keep the following in alphabetical order according to the `require` path...
+var getAutosize = require( './autosize/get.js' );
+var setAutosize = require( './autosize/set.js' );
+
+var getBackground = require( './background/get.js' );
+var setBackground = require( './background/set.js' );
+
+var getDescription = require( './description/get.js' );
+var setDescription = require( './description/set.js' );
+
+var getHeight = require( './height/get.js' );
+var setHeight = require( './height/set.js' );
+
+var getPadding = require( './padding/get.js' );
+var setPadding = require( './padding/set.js' );
+
+var getTheme = require( './theme/get.js' );
+var setTheme = require( './theme/set.js' );
+
+var getTitle = require( './title/get.js' );
+var setTitle = require( './title/set.js' );
+
+var getViewer = require( './viewer/get.js' );
+var setViewer = require( './viewer/set.js' );
+
+var getWidth = require( './width/get.js' );
+var setWidth = require( './width/set.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'chart:base:main' );
+
+var OPTIONS = [
+ 'background',
+ 'description',
+ 'height',
+ 'padding',
+ 'theme',
+ 'title',
+ 'viewer',
+ 'width'
+];
+
+
+// MAIN //
+
+/**
+* Base chart constructor.
+*
+* @constructor
+* @param {Options} [options] - constructor options
+* @param {string} [options.background] - background color
+* @param {string} [options.description=''] - chart description
+* @param {number} [options.height=400] - chart height (in pixels)
+* @param {Object} [options.padding] - chart padding
+* @param {number} [options.padding.bottom=0] - chart bottom padding (in pixels)
+* @param {number} [options.padding.left=0] - chart left padding (in pixels)
+* @param {number} [options.padding.right=0] - chart right padding (in pixels)
+* @param {number} [options.padding.top=0] - chart top padding (in pixels)
+* @param {Object} [options.theme] - chart theme
+* @param {(string|Array)} [options.title=''] - chart title
+* @param {string} [options.viewer] - default chart viewer
+* @param {number} [options.width=400] - chart width (in pixels)
+* @throws {TypeError} options argument must be an object
+* @throws {TypeError} must provide valid options
+* @returns {Chart} chart instance
+*
+* @example
+* var chart = new Chart();
+* // returns
+*/
+function Chart( options ) {
+ var config;
+ var nargs;
+ var self;
+ var opts;
+ var o;
+ var t;
+ var k;
+ var i;
+
+ nargs = arguments.length;
+ if ( !( this instanceof Chart ) ) {
+ if ( nargs ) {
+ return new Chart( options );
+ }
+ return new Chart();
+ }
+ self = this;
+ EventEmitter.call( this );
+
+ opts = defaults();
+ if ( nargs ) {
+ if ( !isObject( options ) ) {
+ throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
+ }
+ for ( i = 0; i < OPTIONS.length; i++ ) {
+ k = OPTIONS[ i ];
+ if ( !hasProp( options, k ) ) {
+ continue;
+ }
+ switch ( k ) {
+ case 'padding':
+ opts[ k ] = new Padding( options[ k ] );
+ break;
+ case 'theme':
+ opts.config = options[ k ];
+ break;
+ case 'title':
+ o = {
+ 'text': options[ k ]
+ };
+ try {
+ t = new Title( o );
+ } catch ( err ) { // eslint-disable-line no-unused-vars
+ // We should only get here if provided an invalid title...
+ throw new TypeError( format( 'invalid option. `%s` option must be a string or an array of strings. Option: `%s`.', 'title', options[ k ] ) );
+ }
+ opts[ k ] = t;
+ break;
+ default:
+ opts[ k ] = options[ k ];
+ break;
+ }
+ }
+ }
+ if ( opts.viewer ) {
+ this.viewer = opts.viewer;
+ }
+ config = new Visualization( opts );
+
+ setReadOnly( this, 'config', config );
+ config.on( 'change', onChange );
+
+ return this;
+
+ /**
+ * Callback invoked upon a change event.
+ *
+ * @private
+ */
+ function onChange() {
+ debug( 'Received a change event.' );
+ self.emit( 'change' );
+ }
+}
+
+/*
+* Inherit from the `EventEmitter` prototype.
+*/
+inherit( Chart, EventEmitter );
+
+/**
+* Constructor name.
+*
+* @private
+* @name name
+* @memberof Chart
+* @readonly
+* @type {string}
+*/
+setReadOnly( Chart, 'name', 'Chart' );
+
+/**
+* Chart autosize configuration.
+*
+* @name autosize
+* @memberof Chart.prototype
+* @type {Autosize}
+*
+* @example
+* var chart = new Chart();
+* // returns
+*
+* var v = chart.autosize;
+* // returns
+*/
+setReadWriteAccessor( Chart.prototype, 'autosize', getAutosize, setAutosize );
+
+/**
+* Chart background.
+*
+* @name background
+* @memberof Chart.prototype
+* @type {string}
+*
+* @example
+* var chart = new Chart({
+* 'background': 'white'
+* });
+* // returns
+*
+* var v = chart.background;
+* // returns 'white'
+*/
+setReadWriteAccessor( Chart.prototype, 'background', getBackground, setBackground );
+
+/**
+* Chart description.
+*
+* @name description
+* @memberof Chart.prototype
+* @type {string}
+*
+* @example
+* var chart = new Chart({
+* 'description': 'Hello world'
+* });
+* // returns
+*
+* var v = chart.description;
+* // returns 'Hello world'
+*/
+setReadWriteAccessor( Chart.prototype, 'description', getDescription, setDescription );
+
+/**
+* Chart height (in pixels).
+*
+* @name background
+* @memberof Chart.prototype
+* @type {NonNegativeNumber}
+*
+* @example
+* var chart = new Chart({
+* 'height': 600
+* });
+* // returns
+*
+* var v = chart.height;
+* // returns 600
+*/
+setReadWriteAccessor( Chart.prototype, 'height', getHeight, setHeight );
+
+/**
+* Chart padding (in pixels).
+*
+* @name padding
+* @memberof Chart.prototype
+* @type {Padding}
+*
+* @example
+* var chart = new Chart({
+* 'left': 10,
+* 'right': 10
+* });
+* // returns
+*
+* var v = chart.padding;
+* // returns
+*/
+setReadWriteAccessor( Chart.prototype, 'padding', getPadding, setPadding );
+
+/**
+* Chart theme.
+*
+* @name theme
+* @memberof Chart.prototype
+* @type {Object}
+*
+* @example
+* var chart = new Chart();
+* // returns
+*
+* var v = chart.theme;
+* // returns {...}
+*/
+setReadWriteAccessor( Chart.prototype, 'theme', getTheme, setTheme );
+
+/**
+* Chart title.
+*
+* @name title
+* @memberof Chart.prototype
+* @type {Title}
+*
+* @example
+* var chart = new Chart();
+* // returns
+*
+* var v = chart.title;
+* // returns
+*/
+setReadWriteAccessor( Chart.prototype, 'title', getTitle, setTitle );
+
+/**
+* Chart width (in pixels).
+*
+* @name background
+* @memberof Chart.prototype
+* @type {NonNegativeNumber}
+*
+* @example
+* var chart = new Chart({
+* 'width': 600
+* });
+* // returns
+*
+* var v = chart.width;
+* // returns 600
+*/
+setReadWriteAccessor( Chart.prototype, 'width', getWidth, setWidth );
+
+/**
+* Default chart viewer.
+*
+* @name viewer
+* @memberof Chart.prototype
+* @type {string}
+*
+* @example
+* var chart = new Chart();
+* // returns
+*
+* var v = chart.viewer;
+* // returns '...'
+*/
+setReadWriteAccessor( Chart.prototype, 'viewer', getViewer, setViewer );
+
+/**
+* Renders a chart.
+*
+* @name render
+* @memberof Chart.prototype
+* @type {Function}
+* @param {Callback} clbk - callback to invoke upon rendering a chart
+* @returns {void}
+*
+* @example
+* var chart = new Chart();
+*
+* function clbk( error, result ) {
+* if ( error ) {
+* throw error;
+* }
+* console.log( result );
+* }
+*
+* chart.render( clbk );
+*/
+setReadOnly( Chart.prototype, 'render', function render( clbk ) {
+ if ( !isFunction( clbk ) ) {
+ throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', clbk ) );
+ }
+ spec2svg( this.toJSON(), clbk );
+});
+
+/**
+* Serializes a chart to a JSON object.
+*
+* ## Notes
+*
+* - This method is implicitly invoked by `JSON.stringify`.
+*
+* @name toJSON
+* @memberof Chart.prototype
+* @type {Function}
+* @returns {Object} JSON object
+*
+* @example
+* var chart = new Chart();
+*
+* var v = chart.toJSON();
+* // returns {...}
+*/
+setReadOnly( Chart.prototype, 'toJSON', function toJSON() {
+ return this.config.toJSON();
+});
+
+/**
+* Creates a chart view.
+*
+* @name view
+* @memberof Chart.prototype
+* @type {Function}
+* @param {string} [viewer] - viewer
+*
+* @example
+* var chart = new Chart();
+*
+* // ...
+*
+* chart.view( 'stdout' );
+*/
+setReadOnly( Chart.prototype, 'view', function view( viewer ) {
+ var ctx;
+ var v;
+
+ // FIXME: validate viewer argument
+
+ if ( arguments.length ) {
+ v = viewer;
+ } else {
+ v = this.viewer;
+ }
+ debug( 'Viewer: %s', v );
+
+ // Cache various properties in order to avoid mutation during asynchronous rendering...
+ ctx = {
+ 'width': this.width,
+ 'height': this.height,
+ 'title': this.title.text.join( '\n' )
+ };
+
+ // Render the chart to a string:
+ this.render( onRender );
+
+ /**
+ * Callback invoked upon render completion.
+ *
+ * @private
+ * @param {(Error|null)} error - error object or null
+ * @param {string} result - result
+ * @throws {Error} unexpected error
+ */
+ function onRender( error, result ) {
+ if ( error ) {
+ throw error;
+ }
+ debug( 'Generating view...' );
+ createView( ctx, v, result );
+ }
+});
+
+
+// EXPORTS //
+
+module.exports = Chart;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/options.json b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/options.json
new file mode 100644
index 000000000000..0c635878bb7a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/options.json
@@ -0,0 +1,11 @@
+[
+ "autosize",
+ "background",
+ "description",
+ "height",
+ "padding",
+ "theme",
+ "title",
+ "viewer",
+ "width"
+]
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/padding/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/padding/get.js
new file mode 100644
index 000000000000..5b586dc271c5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/padding/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart padding (in pixels).
+*
+* @private
+* @returns {Padding} padding
+*/
+function get() {
+ return this.config.padding;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/padding/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/padding/set.js
new file mode 100644
index 000000000000..daaf36b80e5e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/padding/set.js
@@ -0,0 +1,56 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+
+
+// MAIN //
+
+/**
+* Sets the chart padding.
+*
+* @private
+* @param {(Object|Padding|number)} value - input value
+* @throws {TypeError} must be a valid padding value
+* @returns {void}
+*/
+function set( value ) {
+ if ( isNumber( value ) ) {
+ value = new Padding({
+ 'bottom': value,
+ 'left': value,
+ 'right': value,
+ 'top': value
+ });
+ } else if ( !( value instanceof Padding ) ) {
+ value = new Padding( value ); // note: this accounts for both vanilla objects and cross-realm instances
+ }
+ this.config.padding = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/theme/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/theme/get.js
new file mode 100644
index 000000000000..042e6b06d575
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/theme/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart theme.
+*
+* @private
+* @returns {Config} theme
+*/
+function get() {
+ return this.config.config;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/theme/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/theme/set.js
new file mode 100644
index 000000000000..432c9a572abe
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/theme/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the chart theme.
+*
+* @private
+* @param {(Object|Config)} value - input value
+* @throws {TypeError} must be a valid configuration
+* @returns {void}
+*/
+function set( value ) {
+ this.config.config = value; // FIXME: account for cross-realm theme objects and general objects
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/title/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/title/get.js
new file mode 100644
index 000000000000..c6d029e27147
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/title/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart title.
+*
+* @private
+* @returns {Title} title
+*/
+function get() {
+ return this.config.title;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/title/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/title/set.js
new file mode 100644
index 000000000000..16822ec6a963
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/title/set.js
@@ -0,0 +1,54 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+
+
+// MAIN //
+
+/**
+* Sets the chart title.
+*
+* @private
+* @param {(Object|Title|string)} value - input value
+* @throws {TypeError} must be a valid title
+* @returns {void}
+*/
+function set( value ) {
+ var tmp;
+ if ( isString( value ) ) {
+ tmp = new Title( this.config.title );
+ tmp.title = value;
+ value = tmp;
+ } else if ( !( value instanceof Title ) ) {
+ value = new Title( value ); // note: this accounts for both vanilla objects and cross-realm instances
+ }
+ this.config.title = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/get.js
new file mode 100644
index 000000000000..4521967b634d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart viewer.
+*
+* @private
+* @returns {string} viewer
+*/
+function get() {
+ return this._viewer;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/set.js
new file mode 100644
index 000000000000..87722110d6f4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/set.js
@@ -0,0 +1,56 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var join = require( '@stdlib/array/base/join' );
+var format = require( '@stdlib/string/format' );
+var VIEWERS = require( './viewers.json' );
+
+
+// VARIABLES //
+
+var isViewer = contains( VIEWERS );
+
+
+// MAIN //
+
+/**
+* Sets the chart viewer.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid viewer
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isViewer( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', 'viewer', join( VIEWERS, '", "' ), value ) );
+ }
+ this._viewer = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/viewers.browser.json b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/viewers.browser.json
new file mode 100644
index 000000000000..20f300d8f591
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/viewers.browser.json
@@ -0,0 +1,3 @@
+[
+ "stdout"
+]
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/viewers.json b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/viewers.json
new file mode 100644
index 000000000000..be6d9a158354
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/viewer/viewers.json
@@ -0,0 +1,5 @@
+[
+ "stdout",
+ "window",
+ "browser"
+]
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/width/get.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/width/get.js
new file mode 100644
index 000000000000..98384875d906
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/width/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the chart width (in pixels).
+*
+* @private
+* @returns {NonNegativeNumber} width
+*/
+function get() {
+ return this.config.width;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/width/set.js b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/width/set.js
new file mode 100644
index 000000000000..06bc492ec9f8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/lib/width/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the chart width (in pixels).
+*
+* @private
+* @param {NonNegativeNumber} value - input value
+* @throws {TypeError} must be a nonnegative number
+* @returns {void}
+*/
+function set( value ) {
+ this.config.width = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/ctor/package.json b/lib/node_modules/@stdlib/plot/charts/base/ctor/package.json
new file mode 100644
index 000000000000..c8a03734e0db
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/ctor/package.json
@@ -0,0 +1,68 @@
+{
+ "name": "@stdlib/plot/charts/base/ctor",
+ "version": "0.0.0",
+ "description": "Base chart constructor.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "browser": {
+ "./lib/viewer/viewers.json": "./lib/viewer/viewers.browser.json"
+ },
+ "directories": {
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "figure",
+ "fig",
+ "graph",
+ "chart",
+ "diagram",
+ "data",
+ "visualize",
+ "visualization",
+ "dataviz",
+ "explore",
+ "exploratory",
+ "analysis"
+ ]
+}
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/examples/index.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/examples/index.js
new file mode 100644
index 000000000000..06784fd8cba6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/examples/index.js
@@ -0,0 +1,28 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var QuantitativeChart = require( './../lib' );
+
+var chart = new QuantitativeChart({
+ 'title': 'Hello World!',
+ 'xTitle': 'Hello',
+ 'yTitle': 'World'
+});
+console.log( chart.toJSON() );
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/change_event.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/change_event.js
new file mode 100644
index 000000000000..e406e971fe4e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/change_event.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a new change event object.
+*
+* @private
+* @param {string} property - property name
+* @returns {Object} event object
+*/
+function event( property ) { // eslint-disable-line stdlib/no-redeclare
+ return {
+ 'type': 'update',
+ 'source': 'visualization',
+ 'property': property
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = event;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/get.js
new file mode 100644
index 000000000000..60896f07842e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var objectAssign = require( '@stdlib/object/assign' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns an object mapping chart data field names to encoding channels.
+*
+* @private
+* @returns {Object} channels
+*/
+function get() {
+ return objectAssign( {}, this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/properties.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/properties.js
new file mode 100644
index 000000000000..5940cbd8d1c2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'channels' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/set.js
new file mode 100644
index 000000000000..4c0e94b99b95
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/channels/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var objectAssignIn = require( '@stdlib/object/assign-in' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'quantitative-chart:channels:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets an object mapping chart data field names to encoding channels.
+*
+* @private
+* @param {Object} value - input value
+* @throws {TypeError} must be an object
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an object. Value: `%s`.', prop.name, value ) );
+ }
+ // FIXME: verify that the object has valid field mappings (i.e., string-to-string)
+
+ value = objectAssignIn( {}, value );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/get.js
new file mode 100644
index 000000000000..3f8569f84b79
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy' );
+
+
+// MAIN //
+
+/**
+* Returns chart data.
+*
+* @private
+* @returns {Array} data sets
+*/
+function get() {
+ return copy( this.config.data );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/properties.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/properties.js
new file mode 100644
index 000000000000..f2a3cb70b387
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'data' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/set.js
new file mode 100644
index 000000000000..4fe86784eaec
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/data/set.js
@@ -0,0 +1,75 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isDataSetArray = require( '@stdlib/plot/vega/base/assert/is-dataset-array' );
+var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var min = require( '@stdlib/math/base/special/fast/min' );
+var xyargs2tidy = require( '@stdlib/plot/vega/data/tidy/from-xy-arguments' );
+var format = require( '@stdlib/string/format' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'quantitative-chart:data:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets chart data.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array-like object
+* @returns {void}
+*/
+function set( value ) {
+ var data;
+ var N;
+ var i;
+ if ( !isArrayLikeObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array-like object. Value: `%s`.', prop.name, value ) );
+ }
+ if ( !hasEqualValues( value, this.config.data ) ) {
+ debug( 'New chart data.' );
+ if ( isDataSetArray( value ) ) {
+ data = value;
+ } else {
+ data = xyargs2tidy( value, this._channels );
+ N = min( data.length, this._labels.length );
+ for ( i = 0; i < N; i++ ) {
+ data[ i ].name = this._labels[ i ];
+ }
+ }
+ this.config.data = data;
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/defaults.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/defaults.js
new file mode 100644
index 000000000000..62e459334401
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/defaults.js
@@ -0,0 +1,64 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns defaults.
+*
+* @private
+* @returns {Object} defaults
+*
+* @example
+* var obj = defaults();
+* // returns {...}
+*/
+function defaults() {
+ return {
+ // Object mapping data field names to encoding channels:
+ 'channels': {
+ 'x': 'x',
+ 'y': 'y'
+ },
+
+ // Chart data:
+ 'data': [],
+
+ // Data labels:
+ 'labels': [],
+
+ // x-axis scale type:
+ 'xScaleType': 'linear',
+
+ // x-axis label:
+ 'xTitle': 'x',
+
+ // y-axis scale type:
+ 'yScaleType': 'linear',
+
+ // y-axis label:
+ 'yTitle': 'y'
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = defaults;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/index.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/index.js
new file mode 100644
index 000000000000..3a0252e0bb55
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/index.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Quantitative chart constructor.
+*
+* @module @stdlib/plot/charts/base/quantitative
+*
+* @example
+* var Chart = require( '@stdlib/plot/charts/base/quantitative' );
+*
+* var chart = new Chart();
+* // returns
+*
+* // TODO: update example
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/get.js
new file mode 100644
index 000000000000..a721d1f874e5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the data labels.
+*
+* @private
+* @returns {Array} labels
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/properties.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/properties.js
new file mode 100644
index 000000000000..9709d425d345
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labels' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/set.js
new file mode 100644
index 000000000000..e5187206b0cd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/labels/set.js
@@ -0,0 +1,78 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var isEmptyArrayLikeObject = require( '@stdlib/assert/is-empty-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var min = require( '@stdlib/math/base/special/fast/min' );
+var copy = require( '@stdlib/array/base/copy' );
+var join = require( '@stdlib/array/base/join' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'quantitative-chart:labels:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets data labels.
+*
+* @private
+* @param {Array} value - input value
+* @throws {TypeError} must be an array of strings
+* @returns {void}
+*/
+function set( value ) {
+ var labels;
+ var data;
+ var N;
+ var i;
+ if ( !isStringArray( value ) && !isEmptyArrayLikeObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of strings. Value: `%s`.', prop.name, value ) );
+ }
+ // FIXME: verify that the list of data labels is unique
+
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ debug( 'Current value: [%s]. New value: [%s].', join( this[ prop.private ], ', ' ), join( value, ', ' ) );
+ labels = copy( value );
+ data = this.config.data;
+ N = min( data.length, labels.length );
+ for ( i = 0; i < N; i++ ) {
+ data[ i ].name = labels[ i ];
+ }
+ this[ prop.private ] = labels;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/main.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/main.js
new file mode 100644
index 000000000000..42e3d0b0e6de
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/main.js
@@ -0,0 +1,910 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-restricted-syntax, no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var isObject = require( '@stdlib/assert/is-object' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' );
+var setReadOnlyAccessor = require( '@stdlib/utils/define-read-only-accessor' );
+var setNonEnumerableReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var setNonEnumerableReadOnlyAccessor = require( '@stdlib/utils/define-nonenumerable-read-only-accessor' ); // eslint-disable-line id-length
+var inherit = require( '@stdlib/utils/inherit' );
+var replace = require( '@stdlib/string/base/replace' );
+var nanminBy = require( '@stdlib/stats/array/nanmin-by' );
+var nanmin = require( '@stdlib/stats/array/nanmin' );
+var nanmaxBy = require( '@stdlib/stats/array/nanmax-by' );
+var nanmax = require( '@stdlib/stats/array/nanmax' );
+var zeros = require( '@stdlib/array/base/zeros' );
+var BaseChart = require( '@stdlib/plot/charts/base/ctor' );
+var xScale = require( '@stdlib/plot/vega/scale/x-quantitative' );
+var yScale = require( '@stdlib/plot/vega/scale/y-quantitative' );
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var format = require( '@stdlib/string/format' );
+var properties = require( './properties.json' );
+var defaults = require( './defaults.js' );
+
+// Note: keep the following in alphabetical order according to the `require` path...
+var getChannels = require( './channels/get.js' );
+var setChannels = require( './channels/set.js' );
+
+var getData = require( './data/get.js' );
+var setData = require( './data/set.js' );
+
+var getLabels = require( './labels/get.js' );
+var setLabels = require( './labels/set.js' );
+
+var getXFormat = require( './x-format/get.js' );
+var setXFormat = require( './x-format/set.js' );
+var getXMax = require( './x-max/get.js' );
+var setXMax = require( './x-max/set.js' );
+var getXMin = require( './x-min/get.js' );
+var setXMin = require( './x-min/set.js' );
+var getXScaleType = require( './x-scale-type/get.js' );
+var setXScaleType = require( './x-scale-type/set.js' );
+var getXTickCount = require( './x-tick-count/get.js' );
+var setXTickCount = require( './x-tick-count/set.js' );
+var getXTitle = require( './x-title/get.js' );
+var setXTitle = require( './x-title/set.js' );
+
+var getYFormat = require( './y-format/get.js' );
+var setYFormat = require( './y-format/set.js' );
+var getYMax = require( './y-max/get.js' );
+var setYMax = require( './y-max/set.js' );
+var getYMin = require( './y-min/get.js' );
+var setYMin = require( './y-min/set.js' );
+var getYScaleType = require( './y-scale-type/get.js' );
+var setYScaleType = require( './y-scale-type/set.js' );
+var getYTickCount = require( './y-tick-count/get.js' );
+var setYTickCount = require( './y-tick-count/set.js' );
+var getYTitle = require( './y-title/get.js' );
+var setYTitle = require( './y-title/set.js' );
+
+
+// VARIABLES //
+
+// Options from parent constructor(s):
+var PARENT_OPTIONS = [
+ 'background',
+ 'description',
+ 'height',
+ 'padding',
+ 'theme',
+ 'title',
+ 'viewer',
+ 'width'
+];
+
+// Options for this constructor:
+var OPTIONS = [
+ 'channels', // note: this option MUST come before `data` in order to ensure expected data transformation and encoding
+ 'data',
+ 'labels',
+
+ 'xFormat',
+ 'xMax',
+ 'xMin',
+ 'xScaleType',
+ 'xTickCount',
+ 'xTitle',
+
+ 'yFormat',
+ 'yMax',
+ 'yMin',
+ 'yScaleType',
+ 'yTickCount',
+ 'yTitle'
+];
+
+// Table mapping options to component properties:
+var opt2prop = {
+ 'channels': 'channels', // chart.channels
+ 'data': 'data', // chart.data
+ 'labels': 'labels', // chart.labels
+
+ 'xFormat': 'format', // axis.format
+ 'xMax': 'domainMax', // scale.domainMax
+ 'xMin': 'domainMin', // scale.domainMin
+ 'xScaleType': 'type', // scale.type
+ 'xTickCount': 'tickCount', // axis.tickCount
+ 'xTitle': 'title', // axis.title
+
+ 'yFormat': 'format', // axis.format
+ 'yMax': 'domainMax', // scale.domainMax
+ 'yMin': 'domainMin', // scale.domainMin
+ 'yScaleType': 'type', // scale.type
+ 'yTickCount': 'tickCount', // axis.tickCount
+ 'yTitle': 'title' // axis.title
+};
+
+
+// FUNCTIONS //
+
+/**
+* Transforms an "assignment" error message to an "option validation" error message.
+*
+* @private
+* @param {string} msg - error message
+* @param {string} name - property name
+* @returns {string} transformed message
+*/
+function transformErrorMessage( msg, name ) {
+ var m = replace( msg, /invalid assignment\. `([^ ]+)`/, format( 'invalid option. `%s` option', name ) );
+ return replace( m, /\. Value:/, '. Option:' );
+}
+
+/**
+* Attempts to assign an option value to a component property.
+*
+* @private
+* @param {Object} component - component
+* @param {string} option - option name
+* @param {*} value - value to assign
+* @throws {TypeError} unexpected error
+*/
+function assignOption( component, option, value ) {
+ try {
+ component[ opt2prop[ option ] ] = value;
+ } catch ( err ) {
+ // FIXME: retain error type
+ throw new TypeError( transformErrorMessage( err.message, option ) );
+ }
+}
+
+/**
+* Returns an `x`-value.
+*
+* @private
+* @param {Object} value - input value
+* @returns {number} value
+*/
+function xAccessor( value ) {
+ return value.x;
+}
+
+/**
+* Returns a `y`-value.
+*
+* @private
+* @param {Object} value - input value
+* @returns {number} value
+*/
+function yAccessor( value ) {
+ return value.y;
+}
+
+
+// MAIN //
+
+/**
+* Quantitative chart constructor.
+*
+* @constructor
+* @param {Options} [options] - constructor options
+* @param {string} [options.background] - background color
+* @param {Object} [options.channels={'x':'x','y':'y'}] - object mapping chart data field names to encoding channels ('x', 'y', and 'z')
+* @param {ArrayLikeObject} [options.data=[]] - chart data
+* @param {string} [options.description=''] - chart description
+* @param {number} [options.height=480] - chart height (in pixels)
+* @param {Array} [options.labels=[]] - data labels
+* @param {Object} [options.padding] - chart padding
+* @param {number} [options.padding.bottom=0] - chart bottom padding (in pixels)
+* @param {number} [options.padding.left=0] - chart left padding (in pixels)
+* @param {number} [options.padding.right=0] - chart right padding (in pixels)
+* @param {number} [options.padding.top=0] - chart top padding (in pixels)
+* @param {Object} [options.theme] - chart theme
+* @param {(string|Array)} [options.title=''] - chart title
+* @param {string} [options.viewer] - default chart viewer
+* @param {number} [options.width=600] - chart width (in pixels)
+* @param {(string|Array)} [options.xTitle='x'] - x-axis label
+* @param {(string|Object)} [options.xFormat] - x-axis tick format
+* @param {number} [options.xMax] - maximum value of the x-axis domain
+* @param {number} [options.xMin] - minimum value of the x-axis domain
+* @param {string} [options.xScaleType='linear'] - x-axis scale type
+* @param {(number|string|Object)} [options.xTickCount] - number of x-axis tick marks
+* @param {(string|Object)} [options.yFormat] - y-axis tick format
+* @param {number} [options.yMax] - maximum value of the y-axis domain
+* @param {number} [options.yMin] - minimum value of the y-axis domain
+* @param {string} [options.yScaleType='linear'] - y-axis scale type
+* @param {(number|string|Object)} [options.yTickCount] - number of y-axis tick marks
+* @param {(string|Array)} [options.yTitle='y'] - y-axis label
+* @throws {TypeError} options argument must be an object
+* @throws {TypeError} must provide valid options
+* @returns {QuantitativeChart} chart instance
+*
+* @example
+* var chart = new QuantitativeChart();
+* // returns
+*/
+function QuantitativeChart( options ) {
+ var config;
+ var nargs;
+ var xAxis;
+ var yAxis;
+ var table;
+ var opts;
+ var xs;
+ var ys;
+ var k;
+ var i;
+
+ nargs = arguments.length;
+ if ( !( this instanceof QuantitativeChart ) ) {
+ if ( nargs ) {
+ return new QuantitativeChart( options );
+ }
+ return new QuantitativeChart();
+ }
+ opts = defaults();
+
+ // Set internal properties according to the default configuration...
+ for ( i = 0; i < properties.length; i++ ) {
+ k = properties[ i ];
+ if ( hasProp( opts, k ) ) {
+ this[ '_'+k ] = opts[ k ];
+ }
+ }
+ // Resolve user-provided options...
+ if ( nargs ) {
+ if ( !isObject( options ) ) {
+ throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
+ }
+ for ( i = 0; i < PARENT_OPTIONS.length; i++ ) {
+ k = PARENT_OPTIONS[ i ];
+ if ( !hasProp( options, k ) ) {
+ continue;
+ }
+ opts[ k ] = options[ k ];
+ }
+ for ( i = 0; i < OPTIONS.length; i++ ) {
+ k = OPTIONS[ i ];
+ if ( !hasProp( options, k ) ) {
+ continue;
+ }
+ opts[ k ] = options[ k ];
+ }
+ }
+ BaseChart.call( this, opts );
+ setNonEnumerableReadOnly( this, '_parent', BaseChart );
+
+ // Initialize axis scales:
+ xs = xScale({
+ 'domain': [ 0, 1 ]
+ });
+ ys = yScale({
+ 'domain': [ 0, 1 ]
+ });
+
+ // Initialize axes:
+ xAxis = new Axis({ // FIXME: replace with axisBottom
+ 'scale': xs.name,
+ 'orient': 'bottom'
+ });
+ yAxis = new Axis({ // FIXME: replace with axisLeft
+ 'scale': ys.name,
+ 'orient': 'left'
+ });
+
+ // Define a table mapping options to corresponding components:
+ table = {
+ 'channels': this,
+ 'data': this,
+ 'labels': this,
+
+ 'xFormat': xAxis,
+ 'xMax': xs,
+ 'xMin': xs,
+ 'xScaleType': xs,
+ 'xTickCount': xAxis,
+ 'xTitle': xAxis,
+
+ 'yFormat': yAxis,
+ 'yMax': ys,
+ 'yMin': ys,
+ 'yScaleType': ys,
+ 'yTickCount': yAxis,
+ 'yTitle': yAxis
+ };
+
+ // Validate provided options by attempting to assign option values to corresponding fields...
+ for ( i = 0; i < OPTIONS.length; i++ ) {
+ k = OPTIONS[ i ];
+ if ( hasProp( opts, k ) ) {
+ assignOption( table[ k ], k, opts[ k ] );
+ }
+ }
+
+ // Update the visualization configuration:
+ config = this.config;
+ config.scales = [ xs, ys ];
+ config.axes = [ xAxis, yAxis ];
+
+ return this;
+}
+
+/*
+* Inherit from the `BaseChart` prototype.
+*/
+inherit( QuantitativeChart, BaseChart );
+
+/**
+* Constructor name.
+*
+* @private
+* @name name
+* @memberof QuantitativeChart
+* @readonly
+* @type {string}
+*/
+setNonEnumerableReadOnly( QuantitativeChart, 'name', 'QuantitativeChart' );
+
+/**
+* Returns the maximum value according to a specified field accessor.
+*
+* @private
+* @name _maxBy
+* @memberof QuantitativeChart.prototype
+* @type {Function}
+* @param {Function} accessor - field accessor
+* @returns {number}
+*/
+setNonEnumerableReadOnly( QuantitativeChart.prototype, '_maxBy', function getMax( accessor ) {
+ var values;
+ var data;
+ var N;
+ var i;
+
+ data = this.config.data;
+ N = data.length;
+ if ( N === 0 ) {
+ return 1;
+ }
+ values = zeros( N );
+ for ( i = 0; i < N; i++ ) {
+ values[ i ] = nanmaxBy( data[ i ].values, accessor );
+ }
+ return nanmax( values );
+});
+
+/**
+* Returns the minimum value according to a specified field accessor.
+*
+* @private
+* @name _minBy
+* @memberof QuantitativeChart.prototype
+* @type {Function}
+* @param {Function} accessor - field accessor
+* @returns {number}
+*/
+setNonEnumerableReadOnly( QuantitativeChart.prototype, '_minBy', function getMin( accessor ) {
+ var values;
+ var data;
+ var N;
+ var i;
+
+ data = this.config.data;
+ N = data.length;
+ if ( N === 0 ) {
+ return 1;
+ }
+ values = zeros( N );
+ for ( i = 0; i < N; i++ ) {
+ values[ i ] = nanminBy( data[ i ].values, accessor );
+ }
+ return nanmin( values );
+});
+
+/**
+* Graph height (in pixels).
+*
+* @private
+* @name _graphHeight
+* @memberof QuantitativeChart.prototype
+* @type {number}
+*/
+setNonEnumerableReadOnlyAccessor( QuantitativeChart.prototype, '_graphHeight', function getGraphHeight() {
+ var padding;
+ var config;
+
+ config = this.config;
+ padding = config.padding;
+
+ return config.height - padding.top - padding.bottom;
+});
+
+/**
+* Graph width (in pixels).
+*
+* @private
+* @name _graphWidth
+* @memberof QuantitativeChart.prototype
+* @type {number}
+*/
+setNonEnumerableReadOnlyAccessor( QuantitativeChart.prototype, '_graphWidth', function getGraphWidth() {
+ var padding;
+ var config;
+
+ config = this.config;
+ padding = config.padding;
+
+ return config.width - padding.left - padding.right;
+});
+
+/**
+* Returns the maximum `x` value.
+*
+* @private
+* @name _xMax
+* @memberof QuantitativeChart.prototype
+* @type {number}
+*/
+setNonEnumerableReadOnlyAccessor( QuantitativeChart.prototype, '_xMax', function getXMax() {
+ return this._maxBy( xAccessor );
+});
+
+/**
+* Returns the minimum `x` value.
+*
+* @private
+* @name _xMin
+* @memberof QuantitativeChart.prototype
+* @type {number}
+*/
+setNonEnumerableReadOnlyAccessor( QuantitativeChart.prototype, '_xMin', function getXMin() {
+ return this._minBy( xAccessor );
+});
+
+/**
+* Returns the maximum `y` value.
+*
+* @private
+* @name _yMax
+* @memberof QuantitativeChart.prototype
+* @type {number}
+*/
+setNonEnumerableReadOnlyAccessor( QuantitativeChart.prototype, '_yMax', function getYMax() {
+ return this._maxBy( yAccessor );
+});
+
+/**
+* Returns the minimum `y` value.
+*
+* @private
+* @name _yMin
+* @memberof QuantitativeChart.prototype
+* @type {number}
+*/
+setNonEnumerableReadOnlyAccessor( QuantitativeChart.prototype, '_yMin', function getYMin() {
+ return this._minBy( yAccessor );
+});
+
+/**
+* Object mapping chart data field names to encoding channels.
+*
+* ## Notes
+*
+* - Encoding channels:
+*
+* - **x**: x-coordinate encoding channel.
+* - **y**: y-coordinate encoding channel.
+* - **z**: group encoding channel.
+*
+* - The `z` encoding channel only applies to datasets which are arrays of objects and is used to split an array of objects into multiple data sets whose elements are grouped according to the values assigned to the corresponding channel field.
+*
+* @name channels
+* @memberof QuantitativeChart.prototype
+* @type {Object}
+* @default { 'x': 'x', 'y': 'y' }
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'channels': {
+* 'x': 'a',
+* 'y': 'b'
+* }
+* });
+* // returns
+*
+* var v = chart.channels;
+* // returns { 'x': 'a', 'y': 'b' }
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'channels', getChannels, setChannels );
+
+/**
+* Data sets.
+*
+* @name data
+* @memberof QuantitativeChart.prototype
+* @type {Array}
+* @default []
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'data': [ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
+* });
+* // returns
+*
+* var v = chart.data;
+* // returns [ ]
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'data', getData, setData );
+
+/**
+* Data labels.
+*
+* @name labels
+* @memberof QuantitativeChart.prototype
+* @type {Array}
+* @default []
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'labels': [ 'foo', 'bar' ]
+* });
+* // returns
+*
+* var v = chart.labels;
+* // returns [ 'foo', 'bar' ]
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'labels', getLabels, setLabels );
+
+/**
+* Chart legend.
+*
+* @name legend
+* @memberof QuantitativeChart.prototype
+* @type {(Legend|null)}
+*
+* @example
+* var chart = new QuantitativeChart();
+* // returns
+*
+* var v = chart.legend;
+* // returns null
+*/
+setReadOnlyAccessor( QuantitativeChart.prototype, 'legend', function getLegend() {
+ var legends = this.config.legends;
+ return ( legends.length === 0 ) ? null : legends[ 0 ];
+});
+
+/**
+* Chart x-axis.
+*
+* @name xAxis
+* @memberof QuantitativeChart.prototype
+* @type {Axis}
+*
+* @example
+* var chart = new QuantitativeChart();
+* // returns
+*
+* var v = chart.xAxis;
+* // returns
+*/
+setReadOnlyAccessor( QuantitativeChart.prototype, 'xAxis', function getXAxis() {
+ return this.config.axes[ 0 ];
+});
+
+/**
+* Chart x-axis tick format.
+*
+* @name xFormat
+* @memberof QuantitativeChart.prototype
+* @type {(string|Object)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'xFormat': '%0.4f'
+* });
+* // returns
+*
+* var v = chart.xFormat;
+* // returns '%0.4f'
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'xFormat', getXFormat, setXFormat );
+
+/**
+* Maximum value of the x-axis scale domain (if set).
+*
+* @name xMax
+* @memberof QuantitativeChart.prototype
+* @type {(number|void)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'xMax': 1
+* });
+* // returns
+*
+* var v = chart.xMax;
+* // returns 1
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'xMax', getXMax, setXMax );
+
+/**
+* Minimum value of the x-axis scale domain (if set).
+*
+* @name xMin
+* @memberof QuantitativeChart.prototype
+* @type {(number|void)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'xMin': 0
+* });
+* // returns
+*
+* var v = chart.xMin;
+* // returns 0
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'xMin', getXMin, setXMin );
+
+/**
+* Chart x-axis scale.
+*
+* @name xScale
+* @memberof QuantitativeChart.prototype
+* @type {Scale}
+*
+* @example
+* var chart = new QuantitativeChart();
+* // returns
+*
+* var y = chart.xScale;
+* // returns
+*/
+setReadOnlyAccessor( QuantitativeChart.prototype, 'xScale', function getXScale() {
+ return this.config.scales[ 0 ];
+});
+
+/**
+* Chart x-axis scale type.
+*
+* @name xScaleType
+* @memberof QuantitativeChart.prototype
+* @type {string}
+* @default 'linear'
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'xScaleType': 'log'
+* });
+* // returns
+*
+* var v = chart.xScaleType;
+* // returns 'log'
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'xScaleType', getXScaleType, setXScaleType );
+
+/**
+* Number of desired x-axis tick marks.
+*
+* @name xTickCount
+* @memberof QuantitativeChart.prototype
+* @type {(string|number|Object)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'xTickCount': 10
+* });
+* // returns
+*
+* var v = chart.xTickCount;
+* // returns 10
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'xTickCount', getXTickCount, setXTickCount );
+
+/**
+* Chart x-axis title.
+*
+* @name xTitle
+* @memberof QuantitativeChart.prototype
+* @type {Array}
+* @default [ 'x' ]
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'xTitle': 'Foo'
+* });
+* // returns
+*
+* var v = chart.xTitle;
+* // returns [ 'Foo' ]
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'xTitle', getXTitle, setXTitle );
+
+/**
+* Chart y-axis.
+*
+* @name yAxis
+* @memberof QuantitativeChart.prototype
+* @type {Axis}
+*
+* @example
+* var chart = new QuantitativeChart();
+* // returns
+*
+* var v = chart.yAxis;
+* // returns
+*/
+setReadOnlyAccessor( QuantitativeChart.prototype, 'yAxis', function getXAxis() {
+ return this.config.axes[ 1 ];
+});
+
+/**
+* Chart y-axis tick format.
+*
+* @name yFormat
+* @memberof QuantitativeChart.prototype
+* @type {(string|Object)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'yFormat': '%0.4f'
+* });
+* // returns
+*
+* var v = chart.yFormat;
+* // returns '%0.4f'
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'yFormat', getYFormat, setYFormat );
+
+/**
+* Maximum value of the y-axis scale domain (if set).
+*
+* @name yMax
+* @memberof QuantitativeChart.prototype
+* @type {(number|void)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'yMax': 1
+* });
+* // returns
+*
+* var v = chart.yMax;
+* // returns 1
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'yMax', getYMax, setYMax );
+
+/**
+* Minimum value of the y-axis scale domain (if set).
+*
+* @name yMin
+* @memberof QuantitativeChart.prototype
+* @type {(number|void)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'yMin': 0
+* });
+* // returns
+*
+* var v = chart.yMin;
+* // returns 0
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'yMin', getYMin, setYMin );
+
+/**
+* Chart y-axis scale.
+*
+* @name yScale
+* @memberof QuantitativeChart.prototype
+* @type {Scale}
+*
+* @example
+* var chart = new QuantitativeChart();
+* // returns
+*
+* var y = chart.yScale;
+* // returns
+*/
+setReadOnlyAccessor( QuantitativeChart.prototype, 'yScale', function getYScale() {
+ return this.config.scales[ 1 ];
+});
+
+/**
+* Chart y-axis scale type.
+*
+* @name yScaleType
+* @memberof QuantitativeChart.prototype
+* @type {string}
+* @default 'linear'
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'yScaleType': 'log'
+* });
+* // returns
+*
+* var v = chart.yScaleType;
+* // returns 'log'
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'yScaleType', getYScaleType, setYScaleType );
+
+/**
+* Number of desired x-axis tick marks.
+*
+* @name yTickCount
+* @memberof QuantitativeChart.prototype
+* @type {(string|number|Object)}
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'yTickCount': 10
+* });
+* // returns
+*
+* var v = chart.yTickCount;
+* // returns 10
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'yTickCount', getYTickCount, setYTickCount );
+
+/**
+* Chart y-axis title.
+*
+* @name yTitle
+* @memberof QuantitativeChart.prototype
+* @type {Array}
+* @default [ 'y' ]
+*
+* @example
+* var chart = new QuantitativeChart({
+* 'yTitle': 'Bar'
+* });
+* // returns
+*
+* var v = chart.yTitle;
+* // returns [ 'Bar' ]
+*/
+setReadWriteAccessor( QuantitativeChart.prototype, 'yTitle', getYTitle, setYTitle );
+
+/**
+* Serializes a chart to a JSON object.
+*
+* ## Notes
+*
+* - This method is implicitly invoked by `JSON.stringify`.
+*
+* @name toJSON
+* @memberof QuantitativeChart.prototype
+* @type {Function}
+* @returns {Object} JSON object
+*
+* @example
+* var chart = new QuantitativeChart();
+*
+* var v = chart.toJSON();
+* // returns {...}
+*/
+setNonEnumerableReadOnly( QuantitativeChart.prototype, 'toJSON', function toJSON() {
+ this.xScale.domain = [ this._xMin, this._xMax ];
+ this.yScale.domain = [ this._yMin, this._yMax ];
+ this.xScale.range = [ 0, this._graphWidth ];
+ this.yScale.range = [ this._graphHeight, 0 ];
+ return this.config.toJSON();
+});
+
+
+// EXPORTS //
+
+module.exports = QuantitativeChart;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/properties.json b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/properties.json
new file mode 100644
index 000000000000..24127b1e4d26
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/properties.json
@@ -0,0 +1,5 @@
+[
+ "channels",
+ "data",
+ "labels"
+]
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-format/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-format/get.js
new file mode 100644
index 000000000000..6ffa12600f41
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-format/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the x-axis tick format.
+*
+* @private
+* @returns {(string|Object)} format
+*/
+function get() {
+ return this.xAxis.format;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-format/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-format/set.js
new file mode 100644
index 000000000000..06d9640c0b15
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-format/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the x-axis tick format.
+*
+* @private
+* @param {(Object|string)} value - input value
+* @throws {TypeError} must be a valid format
+* @returns {void}
+*/
+function set( value ) {
+ this.xAxis.format = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-max/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-max/get.js
new file mode 100644
index 000000000000..196ec618f72c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-max/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the maximum value in the x-axis scale domain (if set).
+*
+* @private
+* @returns {(void|number)} maximum value
+*/
+function get() {
+ return this.xScale.domainMax;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-max/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-max/set.js
new file mode 100644
index 000000000000..1ccd5c1e1c7c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-max/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the maximum value in the x-axis scale domain.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a valid value
+* @returns {void}
+*/
+function set( value ) {
+ this.xScale.domainMax = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-min/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-min/get.js
new file mode 100644
index 000000000000..b39ae46bbbeb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-min/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the minimum value in the x-axis scale domain (if set).
+*
+* @private
+* @returns {(void|number)} minimum value
+*/
+function get() {
+ return this.xScale.domainMin;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-min/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-min/set.js
new file mode 100644
index 000000000000..4204b2f59c26
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-min/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the minimum value in the x-axis scale domain.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a valid value
+* @returns {void}
+*/
+function set( value ) {
+ this.xScale.domainMin = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-scale-type/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-scale-type/get.js
new file mode 100644
index 000000000000..705bf6f8e03f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-scale-type/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the x-axis scale type.
+*
+* @private
+* @returns {string} scale type
+*/
+function get() {
+ return this.xScale.type;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-scale-type/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-scale-type/set.js
new file mode 100644
index 000000000000..51fb60f24cf4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-scale-type/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the x-axis scale type.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid type
+* @returns {void}
+*/
+function set( value ) {
+ this.xScale.type = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-tick-count/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-tick-count/get.js
new file mode 100644
index 000000000000..5aa0eb066091
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-tick-count/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the number of desired x-axis tick marks.
+*
+* @private
+* @returns {(string|number|Object)} number of ticks
+*/
+function get() {
+ return this.xAxis.tickCount;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-tick-count/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-tick-count/set.js
new file mode 100644
index 000000000000..1a2be9da17bb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-tick-count/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the number of desired x-axis tick marks.
+*
+* @private
+* @param {(Object|string|number)} value - input value
+* @throws {TypeError} must be a valid value
+* @returns {void}
+*/
+function set( value ) {
+ this.xAxis.tickCount = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-title/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-title/get.js
new file mode 100644
index 000000000000..f40a97498af4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-title/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the x-axis title.
+*
+* @private
+* @returns {Array} title
+*/
+function get() {
+ return this.xAxis.title;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-title/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-title/set.js
new file mode 100644
index 000000000000..e097a880fc19
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/x-title/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the x-axis title.
+*
+* @private
+* @param {(string|Array)} value - input value
+* @throws {TypeError} must be a title
+* @returns {void}
+*/
+function set( value ) {
+ this.xAxis.title = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-format/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-format/get.js
new file mode 100644
index 000000000000..67e1a6d275d1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-format/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the y-axis tick format.
+*
+* @private
+* @returns {(string|Object)} format
+*/
+function get() {
+ return this.yAxis.format;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-format/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-format/set.js
new file mode 100644
index 000000000000..8a6dfab8512b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-format/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the y-axis tick format.
+*
+* @private
+* @param {(Object|string)} value - input value
+* @throws {TypeError} must be a valid format
+* @returns {void}
+*/
+function set( value ) {
+ this.yAxis.format = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-max/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-max/get.js
new file mode 100644
index 000000000000..1dcccf427e0a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-max/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the maximum value in the y-axis scale domain (if set).
+*
+* @private
+* @returns {(void|number)} maximum value
+*/
+function get() {
+ return this.yScale.domainMax;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-max/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-max/set.js
new file mode 100644
index 000000000000..077b27cb1d83
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-max/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the maximum value in the y-axis scale domain.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a valid value
+* @returns {void}
+*/
+function set( value ) {
+ this.yScale.domainMax = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-min/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-min/get.js
new file mode 100644
index 000000000000..84f97c756b1f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-min/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the minimum value in the y-axis scale domain (if set).
+*
+* @private
+* @returns {(void|number)} minimum value
+*/
+function get() {
+ return this.yScale.domainMin;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-min/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-min/set.js
new file mode 100644
index 000000000000..be3d924b9747
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-min/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the minimum value in the y-axis scale domain.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a valid value
+* @returns {void}
+*/
+function set( value ) {
+ this.yScale.domainMin = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-scale-type/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-scale-type/get.js
new file mode 100644
index 000000000000..6504f69d93eb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-scale-type/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the y-axis scale type.
+*
+* @private
+* @returns {string} scale type
+*/
+function get() {
+ return this.yScale.type;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-scale-type/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-scale-type/set.js
new file mode 100644
index 000000000000..85540c7e69e7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-scale-type/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the y-axis scale type.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid type
+* @returns {void}
+*/
+function set( value ) {
+ this.yScale.type = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-tick-count/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-tick-count/get.js
new file mode 100644
index 000000000000..70fbc8727a2c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-tick-count/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the number of desired y-axis tick marks.
+*
+* @private
+* @returns {(string|number|Object)} number of ticks
+*/
+function get() {
+ return this.yAxis.tickCount;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-tick-count/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-tick-count/set.js
new file mode 100644
index 000000000000..90398a90d160
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-tick-count/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the number of desired y-axis tick marks.
+*
+* @private
+* @param {(Object|string|number)} value - input value
+* @throws {TypeError} must be a valid value
+* @returns {void}
+*/
+function set( value ) {
+ this.yAxis.tickCount = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-title/get.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-title/get.js
new file mode 100644
index 000000000000..a840e736c623
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-title/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the y-axis title.
+*
+* @private
+* @returns {Array} title
+*/
+function get() {
+ return this.yAxis.title;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-title/set.js b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-title/set.js
new file mode 100644
index 000000000000..f10e732caff9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/lib/y-title/set.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Sets the y-axis title.
+*
+* @private
+* @param {(string|Array)} value - input value
+* @throws {TypeError} must be a title
+* @returns {void}
+*/
+function set( value ) {
+ this.yAxis.title = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/charts/base/quantitative/package.json b/lib/node_modules/@stdlib/plot/charts/base/quantitative/package.json
new file mode 100644
index 000000000000..c036af7fe58b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/charts/base/quantitative/package.json
@@ -0,0 +1,66 @@
+{
+ "name": "@stdlib/plot/charts/base/quantitative",
+ "version": "0.0.0",
+ "description": "Quantitative chart constructor.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "figure",
+ "fig",
+ "graph",
+ "chart",
+ "diagram",
+ "data",
+ "visualize",
+ "visualization",
+ "dataviz",
+ "explore",
+ "exploratory",
+ "analysis",
+ "quantitative"
+ ]
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/README.md b/lib/node_modules/@stdlib/plot/color-schemes/category10/README.md
new file mode 100644
index 000000000000..7ed23967fb79
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/README.md
@@ -0,0 +1,105 @@
+
+
+# category10
+
+> List of 10 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var category10 = require( '@stdlib/plot/color-schemes/category10' );
+```
+
+#### category10()
+
+Returns a list of 10 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+```javascript
+var out = category10();
+// returns [...]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var logEach = require( '@stdlib/console/log-each' );
+var category10 = require( '@stdlib/plot/color-schemes/category10' );
+
+logEach( '%s', category10() );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/color-schemes/category10/benchmark/benchmark.js
new file mode 100644
index 000000000000..8ee0d77948ee
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var category10 = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = category10();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/repl.txt b/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/repl.txt
new file mode 100644
index 000000000000..51a1be39c8c8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/repl.txt
@@ -0,0 +1,18 @@
+
+{{alias}}()
+ Returns a list of 10 colors as RGB hexadecimal strings for use as a
+ categorical scheme.
+
+ Returns
+ -------
+ out: Array
+ List of colors.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [...]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/types/index.d.ts
new file mode 100644
index 000000000000..a392fb1a2e68
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of 10 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns list of colors
+*
+* @example
+* var list = category10();
+* // returns [...]
+*/
+declare function category10(): Array;
+
+
+// EXPORTS //
+
+export = category10;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/types/test.ts b/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/types/test.ts
new file mode 100644
index 000000000000..a2048aa9a3ec
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import category10 = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ category10(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ category10( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/examples/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category10/examples/index.js
new file mode 100644
index 000000000000..2dedc6684448
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/examples/index.js
@@ -0,0 +1,24 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var logEach = require( '@stdlib/console/log-each' );
+var category10 = require( './../lib' );
+
+logEach( '%s', category10() );
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/lib/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category10/lib/index.js
new file mode 100644
index 000000000000..640658d0506c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* List of 10 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @module @stdlib/plot/color-schemes/category10
+*
+* @example
+* var category10 = require( '@stdlib/plot/color-schemes/category10' );
+*
+* var list = category10();
+* // returns [...]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/lib/main.js b/lib/node_modules/@stdlib/plot/color-schemes/category10/lib/main.js
new file mode 100644
index 000000000000..eeca05560cd1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/lib/main.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a list of 10 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns {Array} list of colors
+*
+* @example
+* var list = category10();
+* // returns [...]
+*/
+function category10() {
+ return [
+ '#1f77b4',
+ '#ff7f0e',
+ '#2ca02c',
+ '#d62728',
+ '#9467bd',
+ '#8c564b',
+ '#e377c2',
+ '#7f7f7f',
+ '#bcdb22',
+ '#17becf'
+ ];
+}
+
+
+// EXPORTS //
+
+module.exports = category10;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/package.json b/lib/node_modules/@stdlib/plot/color-schemes/category10/package.json
new file mode 100644
index 000000000000..e4bdb4130956
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/color-schemes/category10",
+ "version": "0.0.0",
+ "description": "List of 10 colors as RGB hexadecimal strings for use as a categorical scheme.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "colors",
+ "color-scheme",
+ "scheme",
+ "theme",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category10/test/test.js b/lib/node_modules/@stdlib/plot/color-schemes/category10/test/test.js
new file mode 100644
index 000000000000..aee6e334c74d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category10/test/test.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var category10 = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof category10, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of colors', function test( t ) {
+ var actual = category10();
+ t.strictEqual( isStringArray( actual ), true, 'returns expected value' );
+ t.strictEqual( actual.length, 10, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/README.md b/lib/node_modules/@stdlib/plot/color-schemes/category20/README.md
new file mode 100644
index 000000000000..dc18c2db5eca
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/README.md
@@ -0,0 +1,105 @@
+
+
+# category20
+
+> List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var category20 = require( '@stdlib/plot/color-schemes/category20' );
+```
+
+#### category20()
+
+Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+```javascript
+var out = category20();
+// returns [...]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var logEach = require( '@stdlib/console/log-each' );
+var category20 = require( '@stdlib/plot/color-schemes/category20' );
+
+logEach( '%s', category20() );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/color-schemes/category20/benchmark/benchmark.js
new file mode 100644
index 000000000000..537e5e7b9f01
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var category20 = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = category20();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/repl.txt b/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/repl.txt
new file mode 100644
index 000000000000..ceb17abc41a9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/repl.txt
@@ -0,0 +1,18 @@
+
+{{alias}}()
+ Returns a list of 20 colors as RGB hexadecimal strings for use as a
+ categorical scheme.
+
+ Returns
+ -------
+ out: Array
+ List of colors.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [...]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/types/index.d.ts
new file mode 100644
index 000000000000..b5bded823f2d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns list of colors
+*
+* @example
+* var list = category20();
+* // returns [...]
+*/
+declare function category20(): Array;
+
+
+// EXPORTS //
+
+export = category20;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/types/test.ts b/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/types/test.ts
new file mode 100644
index 000000000000..6ee77f96fe3b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import category20 = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ category20(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ category20( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/examples/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category20/examples/index.js
new file mode 100644
index 000000000000..4148897ed0da
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/examples/index.js
@@ -0,0 +1,24 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var logEach = require( '@stdlib/console/log-each' );
+var category20 = require( './../lib' );
+
+logEach( '%s', category20() );
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/lib/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category20/lib/index.js
new file mode 100644
index 000000000000..ce238aee8038
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @module @stdlib/plot/color-schemes/category20
+*
+* @example
+* var category20 = require( '@stdlib/plot/color-schemes/category20' );
+*
+* var list = category20();
+* // returns [...]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/lib/main.js b/lib/node_modules/@stdlib/plot/color-schemes/category20/lib/main.js
new file mode 100644
index 000000000000..9a9c19ebaaaf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/lib/main.js
@@ -0,0 +1,60 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns {Array} list of colors
+*
+* @example
+* var list = category20();
+* // returns [...]
+*/
+function category20() {
+ return [
+ '#1f77b4',
+ '#aec7e8',
+ '#ff7f0e',
+ '#ffbb78',
+ '#2ca02c',
+ '#98df8a',
+ '#d62728',
+ '#ff9896',
+ '#9467bd',
+ '#c5b0d5',
+ '#8c564b',
+ '#c49c94',
+ '#e377c2',
+ '#f7b6d2',
+ '#7f7f7f',
+ '#c7c7c7',
+ '#bcbd22',
+ '#dbdb8d',
+ '#17becf',
+ '#9edae5'
+ ];
+}
+
+
+// EXPORTS //
+
+module.exports = category20;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/package.json b/lib/node_modules/@stdlib/plot/color-schemes/category20/package.json
new file mode 100644
index 000000000000..49f99c6c1c6b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/color-schemes/category20",
+ "version": "0.0.0",
+ "description": "List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "colors",
+ "color-scheme",
+ "scheme",
+ "theme",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20/test/test.js b/lib/node_modules/@stdlib/plot/color-schemes/category20/test/test.js
new file mode 100644
index 000000000000..471fecd51252
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20/test/test.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var category20 = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof category20, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of colors', function test( t ) {
+ var actual = category20();
+ t.strictEqual( isStringArray( actual ), true, 'returns expected value' );
+ t.strictEqual( actual.length, 20, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/README.md b/lib/node_modules/@stdlib/plot/color-schemes/category20b/README.md
new file mode 100644
index 000000000000..2f5b2cd3505c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/README.md
@@ -0,0 +1,105 @@
+
+
+# category20b
+
+> List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var category20b = require( '@stdlib/plot/color-schemes/category20b' );
+```
+
+#### category20b()
+
+Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+```javascript
+var out = category20b();
+// returns [...]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var logEach = require( '@stdlib/console/log-each' );
+var category20b = require( '@stdlib/plot/color-schemes/category20b' );
+
+logEach( '%s', category20b() );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/color-schemes/category20b/benchmark/benchmark.js
new file mode 100644
index 000000000000..8b6cc8d17bbe
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var category20b = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = category20b();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/repl.txt b/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/repl.txt
new file mode 100644
index 000000000000..ceb17abc41a9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/repl.txt
@@ -0,0 +1,18 @@
+
+{{alias}}()
+ Returns a list of 20 colors as RGB hexadecimal strings for use as a
+ categorical scheme.
+
+ Returns
+ -------
+ out: Array
+ List of colors.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [...]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/types/index.d.ts
new file mode 100644
index 000000000000..3257d626f73c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns list of colors
+*
+* @example
+* var list = category20b();
+* // returns [...]
+*/
+declare function category20b(): Array;
+
+
+// EXPORTS //
+
+export = category20b;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/types/test.ts b/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/types/test.ts
new file mode 100644
index 000000000000..d86c4579b965
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import category20b = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ category20b(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ category20b( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/examples/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category20b/examples/index.js
new file mode 100644
index 000000000000..e4ffc2759075
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/examples/index.js
@@ -0,0 +1,24 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var logEach = require( '@stdlib/console/log-each' );
+var category20b = require( './../lib' );
+
+logEach( '%s', category20b() );
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/lib/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category20b/lib/index.js
new file mode 100644
index 000000000000..ff1a920c20a4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @module @stdlib/plot/color-schemes/category20b
+*
+* @example
+* var category20b = require( '@stdlib/plot/color-schemes/category20b' );
+*
+* var list = category20b();
+* // returns [...]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/lib/main.js b/lib/node_modules/@stdlib/plot/color-schemes/category20b/lib/main.js
new file mode 100644
index 000000000000..95432b3d10a3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/lib/main.js
@@ -0,0 +1,60 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns {Array} list of colors
+*
+* @example
+* var list = category20b();
+* // returns [...]
+*/
+function category20b() {
+ return [
+ '#393b79',
+ '#5254a3',
+ '#6b6ecf',
+ '#9c9ede',
+ '#637939',
+ '#8ca252',
+ '#b5cf6b',
+ '#cedb9c',
+ '#8c6d31',
+ '#bd9e39',
+ '#e7ba52',
+ '#e7cb94',
+ '#843c39',
+ '#ad494a',
+ '#d6616b',
+ '#e7969c',
+ '#7b4173',
+ '#a55194',
+ '#ce6dbd',
+ '#de9ed6'
+ ];
+}
+
+
+// EXPORTS //
+
+module.exports = category20b;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/package.json b/lib/node_modules/@stdlib/plot/color-schemes/category20b/package.json
new file mode 100644
index 000000000000..f276a377d983
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/color-schemes/category20b",
+ "version": "0.0.0",
+ "description": "List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "colors",
+ "color-scheme",
+ "scheme",
+ "theme",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20b/test/test.js b/lib/node_modules/@stdlib/plot/color-schemes/category20b/test/test.js
new file mode 100644
index 000000000000..a9e2016f71aa
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20b/test/test.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var category20b = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof category20b, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of colors', function test( t ) {
+ var actual = category20b();
+ t.strictEqual( isStringArray( actual ), true, 'returns expected value' );
+ t.strictEqual( actual.length, 20, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/README.md b/lib/node_modules/@stdlib/plot/color-schemes/category20c/README.md
new file mode 100644
index 000000000000..823a1e1d47d5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/README.md
@@ -0,0 +1,105 @@
+
+
+# category20c
+
+> List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var category20c = require( '@stdlib/plot/color-schemes/category20c' );
+```
+
+#### category20c()
+
+Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+
+```javascript
+var out = category20c();
+// returns [...]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var logEach = require( '@stdlib/console/log-each' );
+var category20c = require( '@stdlib/plot/color-schemes/category20c' );
+
+logEach( '%s', category20c() );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/color-schemes/category20c/benchmark/benchmark.js
new file mode 100644
index 000000000000..9a1b24f51798
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var category20c = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = category20c();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/repl.txt b/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/repl.txt
new file mode 100644
index 000000000000..ceb17abc41a9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/repl.txt
@@ -0,0 +1,18 @@
+
+{{alias}}()
+ Returns a list of 20 colors as RGB hexadecimal strings for use as a
+ categorical scheme.
+
+ Returns
+ -------
+ out: Array
+ List of colors.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [...]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/types/index.d.ts
new file mode 100644
index 000000000000..3779372bbe40
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns list of colors
+*
+* @example
+* var list = category20c();
+* // returns [...]
+*/
+declare function category20c(): Array;
+
+
+// EXPORTS //
+
+export = category20c;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/types/test.ts b/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/types/test.ts
new file mode 100644
index 000000000000..4d8ecf6012b3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import category20c = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ category20c(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ category20c( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/examples/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category20c/examples/index.js
new file mode 100644
index 000000000000..a955f0a06ef5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/examples/index.js
@@ -0,0 +1,24 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var logEach = require( '@stdlib/console/log-each' );
+var category20c = require( './../lib' );
+
+logEach( '%s', category20c() );
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/lib/index.js b/lib/node_modules/@stdlib/plot/color-schemes/category20c/lib/index.js
new file mode 100644
index 000000000000..6268b6624557
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @module @stdlib/plot/color-schemes/category20c
+*
+* @example
+* var category20c = require( '@stdlib/plot/color-schemes/category20c' );
+*
+* var list = category20c();
+* // returns [...]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/lib/main.js b/lib/node_modules/@stdlib/plot/color-schemes/category20c/lib/main.js
new file mode 100644
index 000000000000..549ad56b9272
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/lib/main.js
@@ -0,0 +1,60 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a list of 20 colors as RGB hexadecimal strings for use as a categorical scheme.
+*
+* @returns {Array} list of colors
+*
+* @example
+* var list = category20c();
+* // returns [...]
+*/
+function category20c() {
+ return [
+ '#3182bd',
+ '#6baed6',
+ '#9ecae1',
+ '#c6dbef',
+ '#e6550d',
+ '#fd8d3c',
+ '#fdae6b',
+ '#fdd0a2',
+ '#31a354',
+ '#74c476',
+ '#a1d99b',
+ '#c7e9c0',
+ '#756bb1',
+ '#9e9ac8',
+ '#bcbddc',
+ '#dadaeb',
+ '#636363',
+ '#969696',
+ '#bdbdbd',
+ '#d9d9d9'
+ ];
+}
+
+
+// EXPORTS //
+
+module.exports = category20c;
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/package.json b/lib/node_modules/@stdlib/plot/color-schemes/category20c/package.json
new file mode 100644
index 000000000000..2021ddf34f8e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/color-schemes/category20c",
+ "version": "0.0.0",
+ "description": "List of 20 colors as RGB hexadecimal strings for use as a categorical scheme.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "colors",
+ "color-scheme",
+ "scheme",
+ "theme",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/color-schemes/category20c/test/test.js b/lib/node_modules/@stdlib/plot/color-schemes/category20c/test/test.js
new file mode 100644
index 000000000000..0bdcc78c5c00
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/color-schemes/category20c/test/test.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var category20c = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof category20c, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of colors', function test( t ) {
+ var actual = category20c();
+ t.strictEqual( isStringArray( actual ), true, 'returns expected value' );
+ t.strictEqual( actual.length, 20, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/README.md b/lib/node_modules/@stdlib/plot/components/svg/annotations/README.md
deleted file mode 100644
index 5db95da6c16a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/README.md
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-# Annotations
-
-> [SVG][svg] plot annotations.
-
-
-
-
-
-
-
-
-
-
-
-## Usage
-
-```javascript
-var Annotations = require( '@stdlib/plot/components/svg/annotations' );
-```
-
-#### Annotations()
-
-Returns an `Annotations` instance.
-
-```javascript
-var node = new Annotations();
-// returns
-```
-
-* * *
-
-### Methods
-
-
-
-#### Annotations.prototype.render()
-
-Renders an instance as a [Virtual DOM tree][virtual-dom].
-
-```javascript
-var node = new Annotations();
-
-var vtree = node.render();
-/* e.g., returns
- {
- 'tagName': 'g',
- 'properties': {
- 'property': 'annotations',
- 'className': 'annotations',
- 'attributes': {
- 'transform': 'translate(0,0)'
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
-*/
-```
-
-* * *
-
-### Events
-
-
-
-#### 'render'
-
-Event emitted when an instance renders. The event object is the rendered [Virtual DOM tree][virtual-dom].
-
-```javascript
-var node = new Annotations();
-
-function onRender( vtree ) {
- console.log( vtree );
-}
-
-node.on( 'render', onRender );
-node.render();
-```
-
-* * *
-
-### Listeners
-
-
-
-#### 'change'
-
-Upon receiving a `'change'` event, an instance re-renders.
-
-```javascript
-var node = new Annotations();
-
-function onRender( vtree ) {
- console.log( vtree );
-}
-
-node.on( 'render', onRender );
-node.emit( 'change' );
-```
-
-
-
-
-
-
-
-
-
-
-
-
-
-* * *
-
-
-
-## Examples
-
-
-
-```javascript
-var toHTML = require( 'vdom-to-html' );
-var annotations = require( '@stdlib/plot/components/svg/annotations' );
-
-// Create a new component:
-var node = annotations();
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-// returns
-```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-[svg]: https://www.w3.org/Graphics/SVG/
-
-[virtual-dom]: https://github.com/Matt-Esch/virtual-dom
-
-
-
-
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/components/svg/annotations/benchmark/benchmark.js
deleted file mode 100644
index e8b4073f7e7a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/benchmark/benchmark.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var bench = require( '@stdlib/bench' );
-var pkg = require( './../package.json' ).name;
-var Annotations = require( './../lib' );
-
-
-// MAIN //
-
-bench( pkg+'::instantiation', function benchmark( b ) {
- var node;
- var i;
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node = new Annotations();
- if ( !( node instanceof Annotations ) ) {
- b.fail( 'should return an instance' );
- }
- }
- b.toc();
- if ( !( node instanceof Annotations ) ) {
- b.fail( 'should return an instance' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::instantiation,no_new', function benchmark( b ) {
- var ctor;
- var node;
- var i;
-
- ctor = Annotations;
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node = ctor();
- if ( !( node instanceof Annotations ) ) {
- b.fail( 'should return an instance' );
- }
- }
- b.toc();
- if ( !( node instanceof Annotations ) ) {
- b.fail( 'should return an instance' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+':render', function benchmark( b ) {
- var vtree;
- var node;
- var i;
-
- node = new Annotations();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- vtree = node.render();
- if ( typeof vtree !== 'object' ) {
- b.fail( 'should return an object' );
- }
- }
- b.toc();
- if ( typeof vtree !== 'object' ) {
- b.fail( 'should return an object' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/annotations/examples/index.js
deleted file mode 100644
index 743fb8eb7642..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/examples/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var annotations = require( './../lib' );
-
-// Create a new component:
-var node = annotations();
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-// =>
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/index.js
deleted file mode 100644
index b2d44c26eed8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* SVG plot annotations.
-*
-* @module @stdlib/plot/components/svg/annotations
-*
-* @example
-* var Annotations = require( '@stdlib/plot/components/svg/annotations' );
-*
-* var node = new Annotations();
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/main.js
deleted file mode 100644
index d7f5ea9b4b35..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/main.js
+++ /dev/null
@@ -1,111 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
-var inherit = require( '@stdlib/utils/inherit' );
-var instanceOf = require( '@stdlib/assert/instance-of' );
-var render = require( './render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'annotations:main' );
-
-
-// MAIN //
-
-/**
-* Annotations constructor.
-*
-* @constructor
-* @returns {Annotations} annotations instance
-*
-* @example
-* var node = new Annotations();
-*/
-function Annotations() {
- var self;
- if ( !instanceOf( this, Annotations ) ) {
- return new Annotations();
- }
- self = this;
- debug( 'Creating an instance...' );
- EventEmitter.call( this );
- this.on( 'change', onChange );
- this.on( '_render', onRender );
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- self.render();
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Inherit from the `EventEmitter` prototype.
-*/
-inherit( Annotations, EventEmitter );
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Annotations.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var node = new Annotations();
-*
-* var vtree = node.render();
-* // returns
-*/
-setReadOnly( Annotations.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Annotations;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/render.js b/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/render.js
deleted file mode 100644
index 80fd83069e13..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/lib/render.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'annotations:render' );
-var ELEMENT = 'g';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var vtree;
- var props;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'annotations',
- 'className': 'annotations',
- 'attributes': {
- 'transform': 'translate(0,0)'
- }
- };
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, [] );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/package.json b/lib/node_modules/@stdlib/plot/components/svg/annotations/package.json
deleted file mode 100644
index 96f6cacf2d3e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/package.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/annotations",
- "version": "0.0.0",
- "description": "SVG plot annotations.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "benchmark": "./benchmark",
- "example": "./examples",
- "lib": "./lib",
- "test": "./test"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "annotations",
- "annotate",
- "component",
- "virtual",
- "dom",
- "vdom",
- "virtual-dom"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/test/fixtures/vtree.js b/lib/node_modules/@stdlib/plot/components/svg/annotations/test/fixtures/vtree.js
deleted file mode 100644
index 1d704f0dead3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/test/fixtures/vtree.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'annotations',
- 'className': 'annotations',
- 'attributes': {
- 'transform': 'translate(0,0)'
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/annotations/test/test.js b/lib/node_modules/@stdlib/plot/components/svg/annotations/test/test.js
deleted file mode 100644
index 97c0696e726f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/annotations/test/test.js
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var tape = require( 'tape' );
-var instanceOf = require( '@stdlib/assert/instance-of' );
-var Annotations = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof Annotations, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'the function is a constructor', function test( t ) {
- var node = new Annotations();
- t.strictEqual( instanceOf( node, Annotations ), true, 'is an instance' );
- t.end();
-});
-
-tape( 'the constructor does not require the `new` operator', function test( t ) {
- var ctor;
- var node;
-
- ctor = Annotations;
- node = ctor();
-
- t.strictEqual( instanceOf( node, Annotations ), true, 'is an instance' );
- t.end();
-});
-
-tape( 'the constructor returns an event emitter', function test( t ) {
- var node = new Annotations();
- t.strictEqual( instanceOf( node, EventEmitter ), true, 'is an event emitter' );
- t.end();
-});
-
-tape( 'when a returned instance receives a `change` event, it re-renders and emits a `render` event', function test( t ) {
- var node = new Annotations();
- node.on( 'render', onRender );
- node.emit( 'change' );
-
- function onRender( obj ) {
- t.ok( true, 'emits a render event' );
- t.deepEqual( obj, VTREE, 'provides virtual tree' );
- t.end();
- }
-});
-
-tape( 'the `render` method returns a rendered virtual tree', function test( t ) {
- var vtree;
- var node;
-
- node = new Annotations();
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'returns a virtual tree' );
- t.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/axis/examples/index.js
deleted file mode 100644
index 8d063c6e6559..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/examples/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var linear = require( 'd3-scale' ).scaleLinear; // TODO: remove
-var createAxis = require( './../lib' );
-
-// Create a function to map data values to pixel values:
-var scale = linear();
-scale.domain( [0, 1] ).range( [0, 100] );
-
-// Create a new axis:
-var axis = createAxis({
- 'scale': scale,
- 'orientation': 'bottom',
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = axis.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-axis.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- axis.tickSize = 12;
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/domain.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/domain.js
deleted file mode 100644
index 779535170836..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/domain.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/*
-* For manually constructing SVG paths, see [MDN]{@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d}
-*/
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:components:domain' );
-var ELEMENT = 'path';
-
-
-// MAIN //
-
-/**
-* Renders an axis domain.
-*
-* @private
-* @param {Object} ctx - context
-* @returns {VTree} virtual tree
-*/
-function render( ctx ) {
- /* eslint-disable no-underscore-dangle */
- var orient;
- var stroke;
- var range0;
- var range1;
- var offset;
- var range;
- var props;
- var d;
-
- orient = ctx._orientation;
- debug( 'Axis orientation: %s.', orient );
-
- range = ctx._scale.range();
- debug( 'Axis range: %s.', JSON.stringify( range ) );
-
- range0 = range[ 0 ] + 0.5;
- range1 = range[ range.length-1 ] + 0.5;
-
- offset = ctx.tickDir * ctx._outerTickSize;
- d = '';
- if ( orient === 'left' || orient === 'right' ) {
- d += 'M' + offset + ',' + range0;
- d += 'H0.5';
- d += 'V' + range1;
- d += 'H' + offset;
-
- stroke = 'none';
- } else {
- d += 'M' + range0 + ',' + offset;
- d += 'V0.5';
- d += 'H' + range1;
- d += 'V' + offset;
-
- stroke = '#aaa';
- }
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'axis.domain',
- 'className': 'domain',
- 'attributes': {
- 'fill': 'none',
- 'stroke': stroke,
- 'stroke-width': 1,
- 'd': d
- }
- };
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, [] );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/index.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/index.js
deleted file mode 100644
index 81c8273cbc3e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/index.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var textAnchor = require( './../utils/text_anchor.js' );
-var domain = require( './domain.js' );
-var ticks = require( './ticks.js' );
-var label = require( './label.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:components:main' );
-var ELEMENT = 'g';
-
-
-// MAIN //
-
-/**
-* Renders an axis.
-*
-* @private
-* @param {Object} ctx - context
-* @returns {VTree} virtual tree
-*/
-function render( ctx ) {
- var children;
- var props;
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'axis',
- 'className': 'axis',
- 'attributes': {
- 'fill': 'none',
- 'font-size': 10, // TODO: option
- 'font-family': 'sans-serif', // TODO: option
- 'text-anchor': textAnchor( ctx._orientation ) // eslint-disable-line no-underscore-dangle
- }
- };
-
- debug( 'Rendering tick marks...' );
- children = ticks( ctx );
-
- debug( 'Rendering domain line...' );
- children.unshift( domain( ctx ) );
-
- debug( 'Rendering label...' );
- children.push( label( ctx ) );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, children );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/label.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/label.js
deleted file mode 100644
index 035be045701e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/label.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var labelTransform = require( './../utils/label_transform.js' );
-var labelXPos = require( './../utils/label_x_pos.js' );
-var labelYPos = require( './../utils/label_y_pos.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:components:label' );
-var ELEMENT = 'text';
-
-
-// MAIN //
-
-/**
-* Renders an axis label.
-*
-* @private
-* @param {Object} ctx - context
-* @returns {VTree} virtual tree
-*/
-function render( ctx ) {
- /* eslint-disable no-underscore-dangle */
- var orient;
- var props;
-
- orient = ctx._orientation;
- debug( 'Axis orientation: %s.', orient );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'axis.label',
- 'className': 'label noselect',
- 'attributes': {
- 'fill': '#000',
- 'stroke': 'none',
- 'text-anchor': 'middle',
- 'transform': labelTransform( orient ),
- 'x': labelXPos( orient, ctx._scale.range() ),
- 'y': labelYPos( orient )
- }
- };
-
- debug( 'Axis label: %s.', ctx._label );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, ctx._label );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/line.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/line.js
deleted file mode 100644
index ada610cffd81..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/line.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var xAttr = require( './../utils/x_attr.js' );
-var yAttr = require( './../utils/y_attr.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:components:line' );
-var ELEMENT = 'line';
-
-
-// MAIN //
-
-/**
-* Renders a tick line.
-*
-* @private
-* @param {Object} ctx - context
-* @returns {VTree} virtual tree
-*/
-function render( ctx ) {
- /* eslint-disable no-underscore-dangle */
- var props;
- var x;
- var y;
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'attributes': {
- 'stroke': '#aaa',
- 'stroke-width': 1
- }
- };
-
- x = xAttr( ctx._orientation );
- y = yAttr( ctx._orientation );
-
- props.attributes[ x+'2' ] = ctx.tickDir * ctx._innerTickSize;
- props.attributes[ y+'1' ] = 0.5;
- props.attributes[ y+'2' ] = 0.5;
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, [] );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/text.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/text.js
deleted file mode 100644
index f28dd7c8234c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/text.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var dy = require( './../utils/text_dy.js' );
-var xAttr = require( './../utils/x_attr.js' );
-var yAttr = require( './../utils/y_attr.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:components:text' );
-var ELEMENT = 'text';
-
-
-// MAIN //
-
-/**
-* Renders tick text.
-*
-* @private
-* @param {Object} ctx - context
-* @param {*} d - tick value
-* @returns {VTree} virtual tree
-*/
-function render( ctx, d ) {
- /* eslint-disable no-underscore-dangle */
- var orient;
- var props;
- var txt;
- var x;
- var y;
-
- orient = ctx._orientation;
- debug( 'Axis orientation: %s.', orient );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'attributes': {
- 'fill': '#000',
- 'dy': dy( orient )
- }
- };
-
- x = xAttr( orient );
- y = yAttr( orient );
-
- props.attributes[ x ] = ctx.tickDir * ctx.tickSpacing;
- props.attributes[ y ] = 0.5;
-
- txt = ctx.tickFormat( d );
- debug( 'Tick text: %s.', txt );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, txt );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/tick.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/tick.js
deleted file mode 100644
index 7b1c46a3255d..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/tick.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var line = require( './line.js' );
-var text = require( './text.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:components:tick' );
-var ELEMENT = 'g';
-
-
-// MAIN //
-
-/**
-* Renders an axis tick.
-*
-* @private
-* @param {Object} ctx - context
-* @param {*} d - tick value
-* @param {Function} transform - tick transform
-* @returns {VTree} virtual tree
-*/
-function render( ctx, d, transform ) {
- var children;
- var props;
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'axis.tick',
- 'className': 'tick',
- 'attributes': {
- 'opacity': 1,
- 'transform': transform( d )
- }
- };
- children = new Array( 2 );
-
- debug( 'Rendering a tick line...' );
- children[ 0 ] = line( ctx );
-
- debug( 'Rendering tick text...' );
- children[ 1 ] = text( ctx, d );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, children );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/ticks.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/ticks.js
deleted file mode 100644
index 88580a64c5ad..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/ticks.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var tickTransform = require( './../utils/tick_transform.js' );
-var tick = require( './tick.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:components:ticks' );
-
-
-// MAIN //
-
-/**
-* Renders axis ticks.
-*
-* @private
-* @param {Object} ctx - context
-* @returns {Array} array of virtual DOM trees
-*/
-function render( ctx ) {
- /* eslint-disable no-underscore-dangle */
- var transform;
- var values;
- var out;
- var i;
-
- values = ctx.ticks;
- debug( 'Tick values: %s.', JSON.stringify( values ) );
-
- debug( 'Generating tick transform...' );
- transform = tickTransform( ctx._orientation, ctx._scale );
-
- debug( 'Rendering ticks...' );
- out = new Array( values.length );
- for ( i = 0; i < values.length; i++ ) {
- debug( 'Rendering tick %d with value %s...', i, values[i] );
- out[ i ] = tick( ctx, values[i], transform );
- }
- debug( 'Finished rendering ticks.' );
- return out;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/defaults.json
deleted file mode 100644
index cf038cd02d53..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/defaults.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "scale": null,
- "label": "",
- "ticks": null,
- "numTicks": null,
- "tickFormat": null,
- "tickSize": 6,
- "innerTickSize": 6,
- "outerTickSize": 6,
- "tickPadding": 3,
- "orientation": "bottom",
- "autoRender": false
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/etc/orientations.json b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/etc/orientations.json
deleted file mode 100644
index 2dbe8426b9bc..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/etc/orientations.json
+++ /dev/null
@@ -1,6 +0,0 @@
-[
- "left",
- "right",
- "top",
- "bottom"
-]
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/events.json
deleted file mode 100644
index 2a5ecc0ace26..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/events.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "label": "change",
- "numTicks": "change",
- "orientation": "change",
- "scale": "change",
- "tickFormat": "change",
- "tickPadding": "change",
- "ticks": "change",
- "tickSize": "change",
- "innerTickSize": "change",
- "outerTickSize": "change",
- "autoRender": "change"
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/index.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/index.js
deleted file mode 100644
index ef68b2b8fdb7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/events/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EVENTS = require( './events.json' );
-
-
-// MAIN //
-
-/**
-* Provided a property, returns a corresponding event name for when a property value changes.
-*
-* @private
-* @param {string} prop - property
-* @returns {string} event name
-*/
-function get( prop ) {
- return EVENTS[ prop ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/index.js
deleted file mode 100644
index 320fba9aa6b3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/index.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// TODO: remove d3-scale
-
-/**
-* Plot axis.
-*
-* @module @stdlib/plot/components/svg/axis
-*
-* @example
-* var linear = require( 'd3-scale' ).scaleLinear();
-* var Axis = require( '@stdlib/plot/components/svg/axis' );
-*
-* var axis = new Axis({
-* 'scale': linear(),
-* 'orient': 'bottom'
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/main.js
deleted file mode 100644
index 372f5b19ee19..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/main.js
+++ /dev/null
@@ -1,573 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// TODO: improve JSDoc examples
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var linear = require( 'd3-scale' ).scaleLinear; // TODO: remove
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var copy = require( '@stdlib/utils/copy' );
-var defaults = require( './defaults.json' );
-var validate = require( './validate.js' );
-var setScale = require( './props/scale/set.js' );
-var getScale = require( './props/scale/get.js' );
-var setOrientation = require( './props/orientation/set.js' );
-var getOrientation = require( './props/orientation/get.js' );
-var setLabel = require( './props/label/set.js' );
-var getLabel = require( './props/label/get.js' );
-var setTicks = require( './props/ticks/set.js' );
-var getTicks = require( './props/ticks/get.js' );
-var setNumTicks = require( './props/num-ticks/set.js' );
-var getNumTicks = require( './props/num-ticks/get.js' );
-var setTickFormat = require( './props/tick-format/set.js' );
-var getTickFormat = require( './props/tick-format/get.js' );
-var setTickSize = require( './props/tick-size/set.js' );
-var getTickSize = require( './props/tick-size/get.js' );
-var setInnerTickSize = require( './props/inner-tick-size/set.js' );
-var getInnerTickSize = require( './props/inner-tick-size/get.js' );
-var setOuterTickSize = require( './props/outer-tick-size/set.js' );
-var getOuterTickSize = require( './props/outer-tick-size/get.js' );
-var setTickPadding = require( './props/tick-padding/set.js' );
-var getTickPadding = require( './props/tick-padding/get.js' );
-var getTickSpacing = require( './props/tick-spacing/get.js' );
-var getTickDir = require( './props/tick-dir/get.js' );
-var getTickPos = require( './props/tick-pos/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var render = require( './methods/render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:main' );
-
-
-// MAIN //
-
-/**
-* Axis constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {Function} [options.scale] - scale function
-* @param {string} [options.orientation='bottom'] - axis orientation
-* @param {string} [options.label] - axis label
-* @param {(Array|null)} [options.ticks] - tick values
-* @param {(NonNegativeInteger|null)} [options.numTicks] - number of ticks
-* @param {(null|string|Function)} [options.tickFormat] - tick format
-* @param {NonNegativeInteger} [options.tickSize=6] - tick size
-* @param {NonNegativeInteger} [options.innerTickSize=6] - inner tick size
-* @param {NonNegativeInteger} [options.outerTickSize=6] - outer tick size
-* @param {NonNegativeInteger} [options.tickPadding=3] - tick padding
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Axis} axis instance
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom'
-* });
-*/
-function Axis( options ) {
- var self;
- var opts;
- var err;
- if ( !( this instanceof Axis ) ) {
- return new Axis( options );
- }
- self = this;
- opts = copy( defaults );
- err = validate( opts, options );
- if ( err ) {
- throw err;
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- defineProperty( this, '_scale', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.scale || linear()
- });
- defineProperty( this, '_orientation', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.orientation
- });
- defineProperty( this, '_label', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.label
- });
- defineProperty( this, '_ticks', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.ticks
- });
- defineProperty( this, '_numTicks', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.numTicks
- });
- defineProperty( this, '_tickFormat', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.tickFormat
- });
- defineProperty( this, '_tickSize', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.tickSize
- });
- defineProperty( this, '_innerTickSize', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.innerTickSize
- });
- defineProperty( this, '_outerTickSize', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.outerTickSize
- });
- defineProperty( this, '_tickPadding', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.tickPadding
- });
- defineProperty( this, '_autoRender', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.autoRender
- });
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Axis.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Axis.prototype.constructor = Axis;
-
-/**
-* Scale function.
-*
-* @name scale
-* @memberof Axis.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'top'
-* });
-*
-* var f = axis.scale;
-* // returns
-*/
-defineProperty( Axis.prototype, 'scale', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setScale,
- 'get': getScale
-});
-
-/**
-* Axis orientation.
-*
-* @name orientation
-* @memberof Axis.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-* @default 'bottom'
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom'
-* });
-* axis.orientation = 'top';
-*
-* var v = axis.orientation;
-* // returns 'top'
-*/
-defineProperty( Axis.prototype, 'orientation', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setOrientation,
- 'get': getOrientation
-});
-
-/**
-* Axis label.
-*
-* @name label
-* @memberof Axis.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-*
-* @example
-* var axis = new Axis({
-* 'label': 'y'
-* });
-* axis.label = 'Counts';
-*
-* var v = axis.label;
-* // returns 'Counts'
-*/
-defineProperty( Axis.prototype, 'label', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLabel,
- 'get': getLabel
-});
-
-/**
-* Axis tick values. When set to `null`, the retrieved values are the computed tick values.
-*
-* @name ticks
-* @memberof Axis.prototype
-* @type {(Array|null)}
-* @throws {TypeError} must be an array or null
-* @default null
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom',
-* 'ticks': [1,2,3]
-* });
-* axis.ticks = ['a','b','c'];
-*
-* var v = axis.ticks;
-* // returns
-*/
-defineProperty( Axis.prototype, 'ticks', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setTicks,
- 'get': getTicks
-});
-
-/**
-* Number of axis ticks.
-*
-* @name numTicks
-* @memberof Axis.prototype
-* @type {(NonNegativeInteger|null)}
-* @throws {TypeError} must be a nonnegative integer or null
-* @default null
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom',
-* 'numTicks': 10
-* });
-* axis.numTicks = 5;
-*
-* var v = axis.numTicks;
-* // returns 5
-*/
-defineProperty( Axis.prototype, 'numTicks', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setNumTicks,
- 'get': getNumTicks
-});
-
-/**
-* Tick format. When retrieved, the returned value is a formatting function.
-*
-* @name tickFormat
-* @memberof Axis.prototype
-* @type {(null|string|Function)}
-* @throws {TypeError} must be either null, a string, or a function
-* @default null
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom',
-* 'tickFormat': ',f'
-* });
-* axis.tickFormat = ',.0f';
-*
-* var v = axis.tickFormat;
-* // returns
-*/
-defineProperty( Axis.prototype, 'tickFormat', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setTickFormat,
- 'get': getTickFormat
-});
-
-/**
-* Axis tick size.
-*
-* @name tickSize
-* @memberof Axis.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 6
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom',
-* 'tickSize': 12
-* });
-* axis.tickSize = 8;
-*
-* var v = axis.tickSize;
-* // returns 8
-*/
-defineProperty( Axis.prototype, 'tickSize', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setTickSize,
- 'get': getTickSize
-});
-
-/**
-* Axis inner tick size.
-*
-* @name innerTickSize
-* @memberof Axis.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 6
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom',
-* 'innerTickSize': 10
-* });
-* axis.innerTickSize = 5;
-*
-* var v = axis.innerTickSize;
-* // returns 5
-*/
-defineProperty( Axis.prototype, 'innerTickSize', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setInnerTickSize,
- 'get': getInnerTickSize
-});
-
-/**
-* Axis outer tick size.
-*
-* @name outerTickSize
-* @memberof Axis.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 6
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom',
-* 'outerTickSize': 10
-* });
-* axis.outerTickSize = 5;
-*
-* var v = axis.outerTickSize;
-* // returns 5
-*/
-defineProperty( Axis.prototype, 'outerTickSize', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setOuterTickSize,
- 'get': getOuterTickSize
-});
-
-/**
-* Axis tick padding.
-*
-* @name tickPadding
-* @memberof Axis.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 3
-*
-* @example
-* var axis = new Axis({
-* 'orientation': 'bottom',
-* 'tickPadding': 10
-* });
-* axis.tickPadding = 5;
-*
-* var v = axis.tickPadding;
-* // returns 5
-*/
-defineProperty( Axis.prototype, 'tickPadding', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setTickPadding,
- 'get': getTickPadding
-});
-
-/**
-* Tick spacing.
-*
-* @name tickSpacing
-* @memberof Axis.prototype
-* @type {number}
-*
-* @example
-* var axis = new Axis( {} );
-*
-* var spacing = axis.tickSpacing;
-* // returns
-*/
-defineProperty( Axis.prototype, 'tickSpacing', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getTickSpacing
-});
-
-/**
-* Tick direction.
-*
-* @name tickDir
-* @memberof Axis.prototype
-* @type {number}
-*
-* @example
-* var axis = new Axis( {} );
-*
-* var dir = axis.tickDir;
-* // returns
-*/
-defineProperty( Axis.prototype, 'tickDir', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getTickDir
-});
-
-/**
-* Function for computing tick positions.
-*
-* @name tickPos
-* @memberof Axis.prototype
-* @type {Function}
-*
-* @example
-* var axis = new Axis( {} );
-*
-* var tickPos = axis.tickPos;
-* // returns
-*/
-defineProperty( Axis.prototype, 'tickPos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getTickPos
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Axis.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var axis = new Axis({
-* 'autoRender': true
-* });
-*
-* var mode = axis.autoRender;
-* // returns true
-*/
-defineProperty( Axis.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Axis.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var axis = new Axis( {} );
-*
-* var out = axis.render();
-*/
-setReadOnly( Axis.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Axis;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/methods/render.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/methods/render.js
deleted file mode 100644
index 7452869afa05..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/methods/render.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var components = require( './../components' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:render' );
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var vtree;
-
- debug( 'Rendering...' );
- vtree = components( this );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/auto-render/set.js
deleted file mode 100644
index 758fcf0aa1ba..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/auto_render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:auto-render' );
-var CHANGE_EVENT = events( 'autoRender' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( bool );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/inner-tick-size/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/inner-tick-size/get.js
deleted file mode 100644
index f343d33712ec..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/inner-tick-size/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the inner tick size.
-*
-* @private
-* @returns {NonNegativeInteger} tick size
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._innerTickSize;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/inner-tick-size/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/inner-tick-size/set.js
deleted file mode 100644
index fd5118a93f37..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/inner-tick-size/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/inner_tick_size.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:ticksize-inner' );
-var CHANGE_EVENT = events( 'innerTickSize' );
-
-
-// MAIN //
-
-/**
-* Sets the inner tick size.
-*
-* @private
-* @param {NonNegativeInteger} size - size
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( size ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( size );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', size );
-
- this._innerTickSize = size;
- debug( 'New Value: %s.', this._innerTickSize );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/label/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/label/get.js
deleted file mode 100644
index a6d7816c7e90..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/label/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the axis label.
-*
-* @private
-* @returns {string} label
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._label;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/label/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/label/set.js
deleted file mode 100644
index 96e8db14b6c3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/label/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/label.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:xlabel' );
-var CHANGE_EVENT = events( 'label' );
-
-
-// MAIN //
-
-/**
-* Sets the axis label.
-*
-* @private
-* @param {string} label - axis label
-* @throws {TypeError} must be a string
-*/
-function set( label ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( label );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %s.', this._label );
-
- this._label = label;
- debug( 'New value: %s.', this._label );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/num-ticks/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/num-ticks/get.js
deleted file mode 100644
index 792d7ab1ba13..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/num-ticks/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the number of axis ticks.
-*
-* @private
-* @returns {(NonNegativeInteger|null)} number of ticks
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._numTicks;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/num-ticks/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/num-ticks/set.js
deleted file mode 100644
index c0ef5a8937d1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/num-ticks/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/num_ticks.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:numticks' );
-var CHANGE_EVENT = events( 'numTicks' );
-
-
-// MAIN //
-
-/**
-* Sets the number of axis ticks.
-*
-* @private
-* @param {(NonNegativeInteger|null)} num - num
-* @throws {TypeError} must be a nonnegative integer or null
-*/
-function set( num ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( num );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', num );
-
- this._numTicks = num;
- debug( 'New Value: %s.', this._numTicks );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/orientation/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/orientation/get.js
deleted file mode 100644
index 0d5b896d2aad..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/orientation/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the axis orientation.
-*
-* @private
-* @returns {string} orientation
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._orientation;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/orientation/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/orientation/set.js
deleted file mode 100644
index 93629fe2daa3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/orientation/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/orientation.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:orientation' );
-var CHANGE_EVENT = events( 'orientation' );
-
-
-// MAIN //
-
-/**
-* Sets the axis orientation.
-*
-* @private
-* @param {string} orient - axis orientation
-* @throws {TypeError} must be a string
-*/
-function set( orient ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( orient );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %s.', this._orientation );
-
- this._orientation = orient;
- debug( 'New Value: %s.', this._orientation );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/outer-tick-size/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/outer-tick-size/get.js
deleted file mode 100644
index 3dfecb362723..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/outer-tick-size/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the axis outer tick size.
-*
-* @private
-* @returns {NonNegativeInteger} tick size
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._outerTickSize;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/outer-tick-size/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/outer-tick-size/set.js
deleted file mode 100644
index cf552520b9b8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/outer-tick-size/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/outer_tick_size.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:ticksize-outer' );
-var CHANGE_EVENT = events( 'outerTickSize' );
-
-
-// MAIN //
-
-/**
-* Sets the axis outer tick size.
-*
-* @private
-* @param {NonNegativeInteger} size - size
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( size ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( size );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', size );
-
- this._outerTickSize = size;
- debug( 'New Value: %s.', this._outerTickSize );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/scale/get.js
deleted file mode 100644
index 4ef9bb2c0ea8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._scale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/scale/set.js
deleted file mode 100644
index e4f706550877..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/scale/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/scale.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:scale' );
-var CHANGE_EVENT = events( 'scale' );
-
-
-// MAIN //
-
-/**
-* Sets the scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( fcn );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %s.', this._scale );
-
- this._scale = fcn;
- debug( 'New Value: %s.', this._scale );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-dir/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-dir/get.js
deleted file mode 100644
index 6b9296428fd1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-dir/get.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the tick direction.
-*
-* @private
-* @returns {number} tick direction
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- if (
- this._orientation === 'top' ||
- this._orientation === 'left'
- ) {
- return -1;
- }
- return 1;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-format/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-format/get.js
deleted file mode 100644
index e7cd439aa332..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-format/get.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var format = require( 'd3-format' ).format; // TODO: remove
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isNull = require( '@stdlib/assert/is-null' );
-var identity = require( '@stdlib/utils/identity-function' );
-
-
-// MAIN //
-
-/**
-* Returns the axis tick format.
-*
-* @private
-* @returns {Function} format function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- if ( isString( this._tickFormat ) ) {
- return format( this._tickFormat );
- }
- if ( isNull( this._tickFormat ) ) {
- if ( this._scale.tickFormat ) {
- return this._scale.tickFormat( this._numTicks, this._tickFormat );
- }
- return identity;
- }
- return this._tickFormat;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-format/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-format/set.js
deleted file mode 100644
index 0f5da333f521..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-format/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/tick_format.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:tickformat' );
-var CHANGE_EVENT = events( 'tickFormat' );
-
-
-// MAIN //
-
-/**
-* Sets the axis tick format.
-*
-* @private
-* @param {(null|string|Function)} fmt - tick format
-* @throws {TypeError} must be either null, a string, or a function
-*/
-function set( fmt ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( fmt );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %s.', this._tickFormat );
-
- this._tickFormat = fmt;
- debug( 'New Value: %s.', this._tickFormat );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-padding/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-padding/get.js
deleted file mode 100644
index e5d5072b94aa..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-padding/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the axis tick padding.
-*
-* @private
-* @returns {NonNegativeInteger} padding
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._tickPadding;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-padding/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-padding/set.js
deleted file mode 100644
index 841285dfff75..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-padding/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/tick_padding.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:tickpadding' );
-var CHANGE_EVENT = events( 'tickPadding' );
-
-
-// MAIN //
-
-/**
-* Sets the axis tick padding.
-*
-* @private
-* @param {NonNegativeInteger} padding - padding
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( padding ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( padding );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', padding );
-
- this._tickPadding = padding;
- debug( 'New Value: %s.', this._tickPadding );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-pos/center.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-pos/center.js
deleted file mode 100644
index 5ee11933d7d5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-pos/center.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:center' );
-
-
-// MAIN //
-
-/**
-* Returns a function to center a tick.
-*
-* @private
-* @returns {Function} function to center a tick
-*/
-function center() {
- /* eslint-disable no-invalid-this */
- var width = this._scale.bandwidth() / 2;
- return center;
-
- /**
- * Returns a centered tick position.
- *
- * @private
- * @param {*} d - datum
- * @returns {number} tick position
- */
- function center( d ) {
- var pos = this._scale( d ) + width;
- debug( 'Value: %s => Coordinate: %d', d, pos );
- return pos;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = center;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-pos/get.js
deleted file mode 100644
index e29d88b4b091..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-pos/get.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var center = require( './center.js' );
-
-
-// MAIN //
-
-/**
-* Returns a function for positioning ticks.
-*
-* @private
-* @returns {Function} position function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this._scale.copy();
- if ( scale.bandwidth ) {
- return center( scale );
- }
- return scale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-size/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-size/get.js
deleted file mode 100644
index 63c5fb3254a1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-size/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the axis tick size.
-*
-* @private
-* @returns {NonNegativeInteger} tick size
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._tickSize;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-size/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-size/set.js
deleted file mode 100644
index ffdeb3363129..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-size/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/tick_size.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:ticksize' );
-var CHANGE_EVENT = events( 'tickSize' );
-
-
-// MAIN //
-
-/**
-* Sets the axis tick size.
-*
-* @private
-* @param {NonNegativeInteger} size - size
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( size ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( size );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', size );
-
- this._tickSize = size;
- debug( 'New Value: %s.', this._tickSize );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-spacing/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-spacing/get.js
deleted file mode 100644
index 90403259efc2..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/tick-spacing/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the tick spacing.
-*
-* @private
-* @returns {number} tick spacing
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._innerTickSize + this._tickPadding;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/ticks/get.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/ticks/get.js
deleted file mode 100644
index 58240995fb45..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/ticks/get.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNull = require( '@stdlib/assert/is-null' );
-
-
-// MAIN //
-
-/**
-* Returns the axis tick values.
-*
-* @private
-* @returns {Array} ticks
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- if ( isNull( this._ticks ) ) {
- if ( this._scale.ticks ) {
- return this._scale.ticks( this._numTicks, this._tickFormat );
- }
- return this._scale.domain();
- }
- return this._ticks.slice();
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/ticks/set.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/ticks/set.js
deleted file mode 100644
index f16e33210034..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/props/ticks/set.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNull = require( '@stdlib/assert/is-null' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/ticks.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:set:ticks' );
-var CHANGE_EVENT = events( 'ticks' );
-
-
-// MAIN //
-
-/**
-* Sets the axis tick values.
-*
-* @private
-* @param {(Array|null)} ticks - tick values
-* @throws {TypeError} must be an array or null
-*/
-function set( ticks ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( ticks );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %s.', JSON.stringify( this._ticks ) );
-
- if ( isNull( ticks ) ) {
- this._ticks = ticks;
- } else {
- this._ticks = ticks.slice();
- }
- debug( 'New Value: %s.', JSON.stringify( this._ticks ) );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_transform.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_transform.js
deleted file mode 100644
index 3c5111b37a66..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_transform.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns a label SVG transform.
-*
-* @private
-* @param {string} orient - axis orientation
-* @returns {string} SVG transform
-*/
-function labelTransform( orient ) {
- if ( orient === 'bottom' || orient === 'top' ) {
- return 'rotate(0)';
- }
- if ( orient === 'left' ) {
- return 'rotate(-90)';
- }
- // orient === 'right'
- return 'rotate(90)';
-}
-
-
-// EXPORTS //
-
-module.exports = labelTransform;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_x_pos.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_x_pos.js
deleted file mode 100644
index 5b92f87a1a6f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_x_pos.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the label `x` coordinate.
-*
-* @private
-* @param {string} orient - axis orientation
-* @param {NumericArray} range - scale range
-* @returns {number} `x` coordinate
-*/
-function labelXPos( orient, range ) {
- if ( orient === 'left' || orient === 'right' ) {
- return -range[0] / 2;
- }
- return range[1] / 2;
-}
-
-
-// EXPORTS //
-
-module.exports = labelXPos;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_y_pos.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_y_pos.js
deleted file mode 100644
index 6c277c09fb4b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/label_y_pos.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the label `y` coordinate.
-*
-* @private
-* @param {string} orient - axis orientation
-* @returns {number} `y` coordinate
-*/
-function labelYPos( orient ) {
- if ( orient === 'left' ) {
- return -72;
- }
- if ( orient === 'right' ) {
- return 72;
- }
- if ( orient === 'bottom' ) {
- return 45;
- }
- // orient === 'top'
- return -45;
-}
-
-
-// EXPORTS //
-
-module.exports = labelYPos;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/text_anchor.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/text_anchor.js
deleted file mode 100644
index c46a92a9c9ce..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/text_anchor.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the text anchor value for text positioning.
-*
-* @private
-* @param {string} orient - axis orientation
-* @returns {string} text anchor value
-*/
-function textAnchor( orient ) {
- if ( orient === 'left' ) {
- return 'end';
- }
- if ( orient === 'right' ) {
- return 'start';
- }
- return 'middle';
-}
-
-
-// EXPORTS //
-
-module.exports = textAnchor;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/text_dy.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/text_dy.js
deleted file mode 100644
index 8b9d22af276c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/text_dy.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns vertical shift for aligning tick text.
-*
-* @private
-* @param {string} orient - axis orientation
-* @returns {string} text shift
-*/
-function dy( orient ) {
- if ( orient === 'top' ) {
- return '0em';
- }
- if ( orient === 'bottom' ) {
- return '.71em';
- }
- return '.32em';
-}
-
-
-// EXPORTS //
-
-module.exports = dy;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/tick_transform.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/tick_transform.js
deleted file mode 100644
index 6bc43ae07f0e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/tick_transform.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var translateX = require( './translate_x.js' );
-var translateY = require( './translate_y.js' );
-
-
-// MAIN //
-
-/**
-* Returns a function to translate ticks.
-*
-* @private
-* @param {string} orient - axis orientation
-* @param {Function} scale - scale function
-* @returns {Function} transform function
-*/
-function tickTransform( orient, scale ) {
- if ( orient === 'top' || orient === 'bottom' ) {
- return translateX( scale );
- }
- return translateY( scale );
-}
-
-
-// EXPORTS //
-
-module.exports = tickTransform;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/translate_x.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/translate_x.js
deleted file mode 100644
index 367e71d7d265..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/translate_x.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:engine:translate-x' );
-
-
-// MAIN //
-
-/**
-* Returns a function to horizontally translate a tick.
-*
-* @private
-* @param {Function} scale - scale function
-* @returns {Function} function to translate a tick
-*/
-function translateX( scale ) {
- return translateX;
-
- /**
- * Horizontally translates a tick.
- *
- * @private
- * @param {*} d - datum
- * @returns {string} transform
- */
- function translateX( d ) {
- var t = 'translate('+scale( d )+',0)';
- debug( 'Value: %s => Transform: %s.', d, t );
- return t;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = translateX;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/translate_y.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/translate_y.js
deleted file mode 100644
index d887e7a4d2ac..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/translate_y.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'axis:engine:translate-y' );
-
-
-// MAIN //
-
-/**
-* Returns a function to vertically translate a tick.
-*
-* @private
-* @param {Function} scale - scale function
-* @returns {Function} function to translate a tick
-*/
-function translateY( scale ) {
- return translateY;
-
- /**
- * Vertically translates a tick.
- *
- * @private
- * @param {*} d - datum
- * @returns {string} transform
- */
- function translateY( d ) {
- var t = 'translate(0,'+scale( d )+')';
- debug( 'Value: %s => Transform: %s.', d, t );
- return t;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = translateY;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/x_attr.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/x_attr.js
deleted file mode 100644
index a191df230338..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/x_attr.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the "x" attribute for tick positioning.
-*
-* @private
-* @param {string} orient - axis orientation
-* @returns {string} attribute
-*/
-function xAttr( orient ) {
- if ( orient === 'left' || orient === 'right' ) {
- return 'x';
- }
- return 'y';
-}
-
-
-// EXPORTS //
-
-module.exports = xAttr;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/y_attr.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/y_attr.js
deleted file mode 100644
index ad146b7e92f4..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/utils/y_attr.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the "y" attribute for tick positioning.
-*
-* @private
-* @param {string} orient - axis orientation
-* @returns {string} attribute
-*/
-function yAttr( orient ) {
- if ( orient === 'left' || orient === 'right' ) {
- return 'y';
- }
- return 'x';
-}
-
-
-// EXPORTS //
-
-module.exports = yAttr;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validate.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validate.js
deleted file mode 100644
index 7f7be86c96c7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validate.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var objectKeys = require( '@stdlib/utils/keys' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var hasOwnProp = require( '@stdlib/assert/has-own-property' );
-var format = require( '@stdlib/string/format' );
-var validators = require( './validators' );
-
-
-// VARIABLES //
-
-var KEYS = objectKeys( validators );
-
-
-// MAIN //
-
-/**
-* Validates function options.
-*
-* @private
-* @param {Object} opts - destination object
-* @param {Options} options - function options
-* @param {Function} [options.scale] - scale function
-* @param {string} [options.orientation] - axis orientation
-* @param {string} [options.label] - axis label
-* @param {(Array|null)} [options.ticks] - tick values
-* @param {(NonNegativeInteger|null)} [options.numTicks] - number of ticks
-* @param {(null|string|Function)} [options.tickFormat] - tick format
-* @param {NonNegativeInteger} [options.tickSize] - tick size
-* @param {NonNegativeInteger} [options.innerTickSize] - inner tick size
-* @param {NonNegativeInteger} [options.outerTickSize] - outer tick size
-* @param {NonNegativeInteger} [options.tickPadding] - tick padding
-* @returns {(Error|null)} error or null
-*
-* @example
-* var opts = {};
-* var options = {
-* 'scale': function scale(){},
-* 'orientation': 'left',
-* 'tickSize': 10
-* };
-* var err = validate( opts, options );
-* if ( err ) {
-* throw err;
-* }
-*/
-function validate( opts, options ) {
- var err;
- var key;
- var val;
- var i;
- if ( !isObject( options ) ) {
- return new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- for ( i = 0; i < KEYS.length; i++ ) {
- key = KEYS[ i ];
- if ( hasOwnProp( options, key ) ) {
- val = options[ key ];
- err = validators[ key ]( val );
- if ( err ) {
- return err;
- }
- opts[ key ] = val;
- }
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = validate;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/auto_render.js
deleted file mode 100644
index 08da79ff51a6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/auto_render.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `autoRender`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isBoolean( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/index.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/index.js
deleted file mode 100644
index b849e7fae9af..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var autoRender = require( './auto_render.js' );
-var label = require( './label.js' );
-var numTicks = require( './num_ticks.js' );
-var orientation = require( './orientation.js' );
-var scale = require( './scale.js' );
-var tickFormat = require( './tick_format.js' );
-var tickPadding = require( './tick_padding.js' );
-var ticks = require( './ticks.js' );
-var tickSize = require( './tick_size.js' );
-var innerTickSize = require( './inner_tick_size.js' );
-var outerTickSize = require( './outer_tick_size.js' );
-
-
-// MAIN //
-
-var validators = {
- 'autoRender': autoRender,
- 'label': label,
- 'numTicks': numTicks,
- 'orientation': orientation,
- 'scale': scale,
- 'tickFormat': tickFormat,
- 'tickPadding': tickPadding,
- 'ticks': ticks,
- 'tickSize': tickSize,
- 'innerTickSize': innerTickSize,
- 'outerTickSize': outerTickSize
-};
-
-
-// EXPORTS //
-
-module.exports = validators;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/inner_tick_size.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/inner_tick_size.js
deleted file mode 100644
index 8271f9cc5363..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/inner_tick_size.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `innerTickSize`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isNonNegativeInteger( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'innerTickSize', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/label.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/label.js
deleted file mode 100644
index ca11a1c778d9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/label.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `label`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isString( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'label', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/num_ticks.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/num_ticks.js
deleted file mode 100644
index 51e366b31580..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/num_ticks.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNull = require( '@stdlib/assert/is-null' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `numTicks`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if (
- !isNull( v ) &&
- !isNonNegativeInteger( v )
- ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer or null. Value: `%s`.', 'numTicks', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/orientation.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/orientation.js
deleted file mode 100644
index c38f5abdbf13..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/orientation.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var indexOf = require( '@stdlib/utils/index-of' );
-var format = require( '@stdlib/string/format' );
-var ORIENTATIONS = require( './../etc/orientations.json' );
-
-
-// MAIN //
-
-/**
-* Validates `orientation`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( indexOf( ORIENTATIONS, v ) === -1 ) {
- return new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', 'orientation', ORIENTATIONS.join( '", "' ), v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/outer_tick_size.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/outer_tick_size.js
deleted file mode 100644
index 6f78b85fb5c5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/outer_tick_size.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `outerTickSize`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isNonNegativeInteger( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'outerTickSize', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/scale.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/scale.js
deleted file mode 100644
index d0636cd6c636..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/scale.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `scale`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isFunction( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'scale', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_format.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_format.js
deleted file mode 100644
index 8cf488b563d7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_format.js
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNull = require( '@stdlib/assert/is-null' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `tickFormat`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if (
- !isNull( v ) &&
- !isString( v ) &&
- !isFunction( v )
- ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a string, function, or null. Value: `%s`.', 'tickFormat', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_padding.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_padding.js
deleted file mode 100644
index ac7a62486fab..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_padding.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `tickPadding`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isNonNegativeInteger( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'tickPadding', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_size.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_size.js
deleted file mode 100644
index 53659948533a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/tick_size.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `tickSize`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isNonNegativeInteger( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'tickSize', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/ticks.js b/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/ticks.js
deleted file mode 100644
index 5bdbd378332f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/lib/validators/ticks.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNull = require( '@stdlib/assert/is-null' );
-var isArray = require( '@stdlib/assert/is-array' );
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `ticks`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if (
- !isNull( v ) &&
- !isArray( v )
- ) {
- return new TypeError( format( 'invalid assignment. `%s` must be null or an array. Value: `%s`.', 'ticks', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/axis/package.json b/lib/node_modules/@stdlib/plot/components/svg/axis/package.json
deleted file mode 100644
index 549278eb924e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/axis/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/axis",
- "version": "0.0.0",
- "description": "Axis.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "axis",
- "axes",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/background/examples/index.js
deleted file mode 100644
index 8fe2b59a215a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/examples/index.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var background = require( './../lib' );
-
-// Create a new background:
-var bkgd = background({
- 'width': 400,
- 'height': 400,
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = bkgd.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-bkgd.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- bkgd.width = 500;
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/background/lib/defaults.json
deleted file mode 100644
index 93a4318963e3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/defaults.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "width": 400,
- "height": 400,
- "autoRender": false
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/events.json
deleted file mode 100644
index de277aabe209..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/events.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "width": "change",
- "height": "change",
- "autoRender": "change"
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/index.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/index.js
deleted file mode 100644
index ef68b2b8fdb7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/events/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EVENTS = require( './events.json' );
-
-
-// MAIN //
-
-/**
-* Provided a property, returns a corresponding event name for when a property value changes.
-*
-* @private
-* @param {string} prop - property
-* @returns {string} event name
-*/
-function get( prop ) {
- return EVENTS[ prop ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/index.js
deleted file mode 100644
index 538b38a4962c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Background.
-*
-* @module @stdlib/plot/components/svg/background
-*
-* @example
-* var Background = require( '@stdlib/plot/components/svg/background' );
-*
-* var bkgd = new Background({
-* 'width': 400,
-* 'height': 400
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/main.js
deleted file mode 100644
index 4f9050b878f3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/main.js
+++ /dev/null
@@ -1,233 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var copy = require( '@stdlib/utils/copy' );
-var defaults = require( './defaults.json' );
-var validate = require( './validate.js' );
-var setWidth = require( './props/width/set.js' );
-var getWidth = require( './props/width/get.js' );
-var setHeight = require( './props/height/set.js' );
-var getHeight = require( './props/height/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var render = require( './methods/render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'background:main' );
-
-
-// MAIN //
-
-/**
-* Background constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {PositiveNumber} [options.width=400] - width
-* @param {PositiveNumber} [options.height=400] - height
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Background} background instance
-*
-* @example
-* var bkgd = new Background({
-* 'width': 500,
-* 'height': 500
-* });
-*/
-function Background( options ) {
- var self;
- var opts;
- var err;
- if ( !( this instanceof Background ) ) {
- return new Background( options );
- }
- self = this;
- opts = copy( defaults );
- err = validate( opts, options );
- if ( err ) {
- throw err;
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- defineProperty( this, '_width', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.width
- });
- defineProperty( this, '_height', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.height
- });
- defineProperty( this, '_autoRender', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.autoRender
- });
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Background.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Background.prototype.constructor = Background;
-
-/**
-* Width.
-*
-* @name width
-* @memberof Background.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400
-*
-* @example
-* var bkgd = new Background({
-* 'width': 500
-* });
-*
-* var width = bkgd.width;
-* // returns 500
-*/
-defineProperty( Background.prototype, 'width', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setWidth,
- 'get': getWidth
-});
-
-/**
-* Height.
-*
-* @name height
-* @memberof Background.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400
-*
-* @example
-* var bkgd = new Background({
-* 'height': 500
-* });
-*
-* var height = bkgd.height;
-* // returns 500
-*/
-defineProperty( Background.prototype, 'height', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setHeight,
- 'get': getHeight
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Background.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var bkgd = new Background({
-* 'autoRender': true
-* });
-*
-* var mode = bkgd.autoRender;
-* // returns true
-*/
-defineProperty( Background.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Background.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var bkgd = new Background();
-*
-* var out = bkgd.render();
-*/
-setReadOnly( Background.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Background;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/methods/render.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/methods/render.js
deleted file mode 100644
index c924b42881b1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/methods/render.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'background:render' );
-var ELEMENT = 'rect';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var props;
- var vtree;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'className': 'background',
- 'attributes': {
- 'x': 0,
- 'y': 0,
- 'width': this.width,
- 'height': this.height,
- 'fill': 'none',
- 'stroke': 'none'
- }
- };
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, [] );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/auto-render/set.js
deleted file mode 100644
index b1097de03c37..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/auto_render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'background:set:auto-render' );
-var CHANGE_EVENT = events( 'autoRender' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( bool );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/height/get.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/height/get.js
deleted file mode 100644
index 64bcb891b201..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/height/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the height.
-*
-* @private
-* @returns {number} height
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._height;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/height/set.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/height/set.js
deleted file mode 100644
index ef83a9918d9f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/height/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/height.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'background:set:height' );
-var CHANGE_EVENT = events( 'height' );
-
-
-// MAIN //
-
-/**
-* Sets the height.
-*
-* @private
-* @param {PositiveNumber} height - height
-* @throws {TypeError} must be a positive number
-*/
-function set( height ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( height );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._height );
-
- this._height = height;
- debug( 'New Value: %d.', this._height );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/width/get.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/width/get.js
deleted file mode 100644
index cfa5f0e70adf..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/width/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the width.
-*
-* @private
-* @returns {number} width
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._width;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/width/set.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/width/set.js
deleted file mode 100644
index 17b609743823..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/props/width/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/width.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'background:set:width' );
-var CHANGE_EVENT = events( 'width' );
-
-
-// MAIN //
-
-/**
-* Sets the width.
-*
-* @private
-* @param {PositiveNumber} width - width
-* @throws {TypeError} must be a positive number
-*/
-function set( width ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( width );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._width );
-
- this._width = width;
- debug( 'New value: %d.', this._width );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validate.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/validate.js
deleted file mode 100644
index 311756cdcf36..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validate.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var objectKeys = require( '@stdlib/utils/keys' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var hasOwnProp = require( '@stdlib/assert/has-own-property' );
-var format = require( '@stdlib/string/format' );
-var validators = require( './validators' );
-
-
-// VARIABLES //
-
-var KEYS = objectKeys( validators );
-
-
-// MAIN //
-
-/**
-* Validates function options.
-*
-* @private
-* @param {Object} opts - destination object
-* @param {Options} options - function options
-* @param {PositiveNumber} [options.width] - width
-* @param {PositiveNumber} [options.height] - height
-* @param {boolean} [options.autoRender] - indicates whether to re-render on a change event
-* @returns {(Error|null)} error or null
-*
-* @example
-* var opts = {};
-* var options = {
-* 'width': 400,
-* 'height': 400
-* };
-* var err = validate( opts, options );
-* if ( err ) {
-* throw err;
-* }
-*/
-function validate( opts, options ) {
- var err;
- var key;
- var val;
- var i;
- if ( !isObject( options ) ) {
- return new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- for ( i = 0; i < KEYS.length; i++ ) {
- key = KEYS[ i ];
- if ( hasOwnProp( options, key ) ) {
- val = options[ key ];
- err = validators[ key ]( val );
- if ( err ) {
- return err;
- }
- opts[ key ] = val;
- }
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = validate;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/auto_render.js
deleted file mode 100644
index 08da79ff51a6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/auto_render.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `autoRender`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isBoolean( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/height.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/height.js
deleted file mode 100644
index 82ea73cef0cc..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/height.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `height`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isPositiveNumber( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'height', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/index.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/index.js
deleted file mode 100644
index 9ab29fd15f97..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var width = require( './width.js' );
-var height = require( './height.js' );
-var autoRender = require( './auto_render.js' );
-
-
-// MAIN //
-
-var validators = {
- 'width': width,
- 'height': height,
- 'autoRender': autoRender
-};
-
-
-// EXPORTS //
-
-module.exports = validators;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/width.js b/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/width.js
deleted file mode 100644
index e6d8f774bf4f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/lib/validators/width.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `width`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isPositiveNumber( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'width', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/background/package.json b/lib/node_modules/@stdlib/plot/components/svg/background/package.json
deleted file mode 100644
index 91e1169836a1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/background/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/background",
- "version": "0.0.0",
- "description": "SVG background.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "background",
- "bkgd",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/examples/index.js
deleted file mode 100644
index a95a9b9d9fd3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/examples/index.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var canvas = require( './../lib' );
-
-// Create a new canvas:
-var node = canvas({
- 'width': 400,
- 'height': 400,
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-node.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- node.width = 500;
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/defaults.json
deleted file mode 100644
index 93a4318963e3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/defaults.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "width": 400,
- "height": 400,
- "autoRender": false
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/events/events.json
deleted file mode 100644
index de277aabe209..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/events/events.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "width": "change",
- "height": "change",
- "autoRender": "change"
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/events/index.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/events/index.js
deleted file mode 100644
index ef68b2b8fdb7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/events/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EVENTS = require( './events.json' );
-
-
-// MAIN //
-
-/**
-* Provided a property, returns a corresponding event name for when a property value changes.
-*
-* @private
-* @param {string} prop - property
-* @returns {string} event name
-*/
-function get( prop ) {
- return EVENTS[ prop ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/index.js
deleted file mode 100644
index 97a74a84efe7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Canvas.
-*
-* @module @stdlib/plot/components/svg/canvas
-*
-* @example
-* var Canvas = require( '@stdlib/plot/components/svg/canvas' );
-*
-* var canvas = new Canvas({
-* 'width': 400,
-* 'height': 400
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/main.js
deleted file mode 100644
index bfee5378b671..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/main.js
+++ /dev/null
@@ -1,233 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var copy = require( '@stdlib/utils/copy' );
-var defaults = require( './defaults.json' );
-var validate = require( './validate.js' );
-var setWidth = require( './props/width/set.js' );
-var getWidth = require( './props/width/get.js' );
-var setHeight = require( './props/height/set.js' );
-var getHeight = require( './props/height/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var render = require( './methods/render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'canvas:main' );
-
-
-// MAIN //
-
-/**
-* Canvas constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {PositiveNumber} [options.width=400] - width
-* @param {PositiveNumber} [options.height=400] - height
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Canvas} canvas instance
-*
-* @example
-* var canvas = new Canvas({
-* 'width': 500,
-* 'height': 500
-* });
-*/
-function Canvas( options ) {
- var self;
- var opts;
- var err;
- if ( !( this instanceof Canvas ) ) {
- return new Canvas( options );
- }
- self = this;
- opts = copy( defaults );
- err = validate( opts, options );
- if ( err ) {
- throw err;
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- defineProperty( this, '_width', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.width
- });
- defineProperty( this, '_height', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.height
- });
- defineProperty( this, '_autoRender', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.autoRender
- });
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Canvas.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Canvas.prototype.constructor = Canvas;
-
-/**
-* Width.
-*
-* @name width
-* @memberof Canvas.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400
-*
-* @example
-* var canvas = new Canvas({
-* 'width': 500
-* });
-*
-* var width = canvas.width;
-* // returns 500
-*/
-defineProperty( Canvas.prototype, 'width', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setWidth,
- 'get': getWidth
-});
-
-/**
-* Height.
-*
-* @name height
-* @memberof Canvas.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400
-*
-* @example
-* var canvas = new Canvas({
-* 'height': 500
-* });
-*
-* var height = canvas.height;
-* // returns 500
-*/
-defineProperty( Canvas.prototype, 'height', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setHeight,
- 'get': getHeight
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Canvas.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var canvas = new Canvas({
-* 'autoRender': true
-* });
-*
-* var mode = canvas.autoRender;
-* // returns true
-*/
-defineProperty( Canvas.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Canvas.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var canvas = new Canvas({});
-*
-* var out = canvas.render();
-*/
-setReadOnly( Canvas.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Canvas;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/methods/render.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/methods/render.js
deleted file mode 100644
index f7ec8841bf45..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/methods/render.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'canvas:render' );
-var ELEMENT = 'svg';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var props;
- var vtree;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'canvas',
- 'className': 'canvas',
- 'attributes': {
- 'width': this.width,
- 'height': this.height
- }
- };
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, [] );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/auto-render/set.js
deleted file mode 100644
index 21191762f48a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/auto_render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'canvas:set:auto-render' );
-var CHANGE_EVENT = events( 'autoRender' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( bool );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/height/get.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/height/get.js
deleted file mode 100644
index 64bcb891b201..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/height/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the height.
-*
-* @private
-* @returns {number} height
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._height;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/height/set.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/height/set.js
deleted file mode 100644
index 3fa9530dfa3a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/height/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/height.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'canvas:set:height' );
-var CHANGE_EVENT = events( 'height' );
-
-
-// MAIN //
-
-/**
-* Sets the height.
-*
-* @private
-* @param {PositiveNumber} height - height
-* @throws {TypeError} must be a positive number
-*/
-function set( height ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( height );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._height );
-
- this._height = height;
- debug( 'New Value: %d.', this._height );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/width/get.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/width/get.js
deleted file mode 100644
index cfa5f0e70adf..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/width/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the width.
-*
-* @private
-* @returns {number} width
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._width;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/width/set.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/width/set.js
deleted file mode 100644
index 5fb581d8d855..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/props/width/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/width.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'canvas:set:width' );
-var CHANGE_EVENT = events( 'width' );
-
-
-// MAIN //
-
-/**
-* Sets the width.
-*
-* @private
-* @param {PositiveNumber} width - width
-* @throws {TypeError} must be a positive number
-*/
-function set( width ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( width );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._width );
-
- this._width = width;
- debug( 'New value: %d.', this._width );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validate.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validate.js
deleted file mode 100644
index 311756cdcf36..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validate.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var objectKeys = require( '@stdlib/utils/keys' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var hasOwnProp = require( '@stdlib/assert/has-own-property' );
-var format = require( '@stdlib/string/format' );
-var validators = require( './validators' );
-
-
-// VARIABLES //
-
-var KEYS = objectKeys( validators );
-
-
-// MAIN //
-
-/**
-* Validates function options.
-*
-* @private
-* @param {Object} opts - destination object
-* @param {Options} options - function options
-* @param {PositiveNumber} [options.width] - width
-* @param {PositiveNumber} [options.height] - height
-* @param {boolean} [options.autoRender] - indicates whether to re-render on a change event
-* @returns {(Error|null)} error or null
-*
-* @example
-* var opts = {};
-* var options = {
-* 'width': 400,
-* 'height': 400
-* };
-* var err = validate( opts, options );
-* if ( err ) {
-* throw err;
-* }
-*/
-function validate( opts, options ) {
- var err;
- var key;
- var val;
- var i;
- if ( !isObject( options ) ) {
- return new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- for ( i = 0; i < KEYS.length; i++ ) {
- key = KEYS[ i ];
- if ( hasOwnProp( options, key ) ) {
- val = options[ key ];
- err = validators[ key ]( val );
- if ( err ) {
- return err;
- }
- opts[ key ] = val;
- }
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = validate;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/auto_render.js
deleted file mode 100644
index 08da79ff51a6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/auto_render.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `autoRender`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isBoolean( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/height.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/height.js
deleted file mode 100644
index 82ea73cef0cc..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/height.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `height`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isPositiveNumber( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'height', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/index.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/index.js
deleted file mode 100644
index 9ab29fd15f97..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var width = require( './width.js' );
-var height = require( './height.js' );
-var autoRender = require( './auto_render.js' );
-
-
-// MAIN //
-
-var validators = {
- 'width': width,
- 'height': height,
- 'autoRender': autoRender
-};
-
-
-// EXPORTS //
-
-module.exports = validators;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/width.js b/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/width.js
deleted file mode 100644
index e6d8f774bf4f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/lib/validators/width.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `width`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isPositiveNumber( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'width', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/canvas/package.json b/lib/node_modules/@stdlib/plot/components/svg/canvas/package.json
deleted file mode 100644
index a40cda12fbd4..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/canvas/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/canvas",
- "version": "0.0.0",
- "description": "SVG canvas.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "canvas",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/examples/index.js
deleted file mode 100644
index 45fbc5c350dd..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/examples/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var clipPath = require( './../lib' );
-
-// Create a new clipPath:
-var cp = clipPath({
- 'width': 400,
- 'height': 400,
- 'id': '1234',
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = cp.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-cp.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- cp.id = '4321';
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/components/index.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/components/index.js
deleted file mode 100644
index 8226c92ab783..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/components/index.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var rect = require( './rect.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clippath:components:main' );
-var ELEMENT = 'clipPath';
-
-
-// MAIN //
-
-/**
-* Renders a clipping path.
-*
-* @private
-* @param {Object} ctx - context
-* @returns {VTree} virtual tree
-*/
-function render( ctx ) {
- var children;
- var props;
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'id': ctx.id
- };
-
- debug( 'Rendering clipping path rectangle...' );
- children = [
- rect( ctx )
- ];
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, children );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/components/rect.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/components/rect.js
deleted file mode 100644
index e1387d8b1979..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/components/rect.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clippath:components:rect' );
-var ELEMENT = 'rect';
-
-
-// MAIN //
-
-/**
-* Renders a clipping path rectangle.
-*
-* @private
-* @param {Object} ctx - context
-* @returns {VTree} virtual tree
-*/
-function render( ctx ) {
- var props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'className': 'clipPath',
- 'attributes': {
- 'width': ctx.width,
- 'height': ctx.height
- }
- };
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
-
- return h( ELEMENT, props, [] );
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/defaults.json
deleted file mode 100644
index 914f1d7574f9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/defaults.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "width": 400,
- "height": 400,
- "id": "",
- "autoRender": false
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/events.json
deleted file mode 100644
index 8f7744c0b74b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/events.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "width": "change",
- "height": "change",
- "id": "change",
- "autoRender": "change"
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/index.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/index.js
deleted file mode 100644
index ef68b2b8fdb7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/events/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EVENTS = require( './events.json' );
-
-
-// MAIN //
-
-/**
-* Provided a property, returns a corresponding event name for when a property value changes.
-*
-* @private
-* @param {string} prop - property
-* @returns {string} event name
-*/
-function get( prop ) {
- return EVENTS[ prop ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/index.js
deleted file mode 100644
index 8be487e379ae..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Clipping path.
-*
-* @module @stdlib/plot/components/svg/clip-path
-*
-* @example
-* var ClipPath = require( '@stdlib/plot/components/svg/clip-path' );
-*
-* var clipPath = new ClipPath({
-* 'width': 400,
-* 'height': 400
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/main.js
deleted file mode 100644
index 38af904b61b6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/main.js
+++ /dev/null
@@ -1,266 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var minstd = require( '@stdlib/random/base/minstd' );
-var copy = require( '@stdlib/utils/copy' );
-var defaults = require( './defaults.json' );
-var validate = require( './validate.js' );
-var setWidth = require( './props/width/set.js' );
-var getWidth = require( './props/width/get.js' );
-var setHeight = require( './props/height/set.js' );
-var getHeight = require( './props/height/get.js' );
-var setID = require( './props/id/set.js' );
-var getID = require( './props/id/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var render = require( './methods/render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clippath:main' );
-
-
-// MAIN //
-
-/**
-* Clipping path constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {PositiveNumber} [options.width=400] - width
-* @param {PositiveNumber} [options.height=400] - height
-* @param {string} [options.id] - clipping path id
-* @param {boolean} [options.autoRender=true] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {ClipPath} clipping path instance
-*
-* @example
-* var clipPath = new ClipPath({
-* 'width': 500,
-* 'height': 500
-* });
-*/
-function ClipPath( options ) {
- var self;
- var opts;
- var err;
- if ( !( this instanceof ClipPath ) ) {
- return new ClipPath( options );
- }
- self = this;
- opts = copy( defaults );
- err = validate( opts, options );
- if ( err ) {
- throw err;
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- defineProperty( this, '_width', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.width
- });
- defineProperty( this, '_height', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.height
- });
- defineProperty( this, '_id', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.id || minstd().toString() // TODO: uuid
- });
- defineProperty( this, '_autoRender', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.autoRender
- });
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-ClipPath.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-ClipPath.prototype.constructor = ClipPath;
-
-/**
-* Width.
-*
-* @name width
-* @memberof ClipPath.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400
-*
-* @example
-* var clipPath = new ClipPath({
-* 'width': 500
-* });
-*
-* var width = clipPath.width;
-* // returns 500
-*/
-defineProperty( ClipPath.prototype, 'width', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setWidth,
- 'get': getWidth
-});
-
-/**
-* Height.
-*
-* @name height
-* @memberof ClipPath.prototype
-* @type {PositiveNumber}
-* @throws {TypeError} must be a positive number
-* @default 400
-*
-* @example
-* var clipPath = new ClipPath({
-* 'height': 500
-* });
-*
-* var height = clipPath.height;
-* // returns 500
-*/
-defineProperty( ClipPath.prototype, 'height', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setHeight,
- 'get': getHeight
-});
-
-/**
-* Clipping path id.
-*
-* @name id
-* @memberof ClipPath.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-*
-* @example
-* var clipPath = new ClipPath({
-* 'id': '1234'
-* });
-*
-* var id = clipPath.id;
-* // returns '1234'
-*/
-defineProperty( ClipPath.prototype, 'id', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setID,
- 'get': getID
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof ClipPath.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var clipPath = new ClipPath({
-* 'autoRender': true
-* });
-*
-* var mode = clipPath.autoRender;
-* // returns true
-*/
-defineProperty( ClipPath.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof ClipPath.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var clipPath = new ClipPath();
-*
-* var out = clipPath.render();
-*/
-setReadOnly( ClipPath.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = ClipPath;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/methods/render.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/methods/render.js
deleted file mode 100644
index b130497b2fe9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/methods/render.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var components = require( './../components' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clippath:render' );
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var vtree;
-
- debug( 'Rendering...' );
- vtree = components( this );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/auto-render/set.js
deleted file mode 100644
index b2c961c98b41..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/auto_render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clip-path:set:auto-render' );
-var CHANGE_EVENT = events( 'autoRender' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( bool );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/height/get.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/height/get.js
deleted file mode 100644
index 64bcb891b201..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/height/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the height.
-*
-* @private
-* @returns {number} height
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._height;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/height/set.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/height/set.js
deleted file mode 100644
index b937313a6345..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/height/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/height.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clippath:set:height' );
-var CHANGE_EVENT = events( 'height' );
-
-
-// MAIN //
-
-/**
-* Sets the height.
-*
-* @private
-* @param {PositiveNumber} height - height
-* @throws {TypeError} must be a positive number
-*/
-function set( height ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( height );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._height );
-
- this._height = height;
- debug( 'New Value: %d.', this._height );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/id/get.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/id/get.js
deleted file mode 100644
index 1e2aebe10336..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/id/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the clipping path id.
-*
-* @private
-* @returns {string} id
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._id;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/id/set.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/id/set.js
deleted file mode 100644
index f85eb4e78742..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/id/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/id.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clippath:set:id' );
-var CHANGE_EVENT = events( 'id' );
-
-
-// MAIN //
-
-/**
-* Sets the clipping path id.
-*
-* @private
-* @param {string} id - id
-* @throws {TypeError} must be a string
-*/
-function set( id ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( id );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %s.', this._id );
-
- this._id = id;
- debug( 'New value: %s.', this._id );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/width/get.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/width/get.js
deleted file mode 100644
index cfa5f0e70adf..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/width/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the width.
-*
-* @private
-* @returns {number} width
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._width;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/width/set.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/width/set.js
deleted file mode 100644
index b0f3a0b29b68..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/props/width/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/width.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'clippath:set:width' );
-var CHANGE_EVENT = events( 'width' );
-
-
-// MAIN //
-
-/**
-* Sets the width.
-*
-* @private
-* @param {PositiveNumber} width - width
-* @throws {TypeError} must be a positive number
-*/
-function set( width ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( width );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._width );
-
- this._width = width;
- debug( 'New value: %d.', this._width );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validate.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validate.js
deleted file mode 100644
index 32a4a2dcaf08..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validate.js
+++ /dev/null
@@ -1,85 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var objectKeys = require( '@stdlib/utils/keys' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var hasOwnProp = require( '@stdlib/assert/has-own-property' );
-var format = require( '@stdlib/string/format' );
-var validators = require( './validators' );
-
-
-// VARIABLES //
-
-var KEYS = objectKeys( validators );
-
-
-// MAIN //
-
-/**
-* Validates function options.
-*
-* @private
-* @param {Object} opts - destination object
-* @param {Options} options - function options
-* @param {PositiveNumber} [options.width] - width
-* @param {PositiveNumber} [options.height] - height
-* @param {string} [options.id] - clipping path id
-* @param {boolean} [options.autoRender] - indicates whether to re-render on a change event
-* @returns {(Error|null)} error or null
-*
-* @example
-* var opts = {};
-* var options = {
-* 'width': 400,
-* 'height': 400
-* };
-* var err = validate( opts, options );
-* if ( err ) {
-* throw err;
-* }
-*/
-function validate( opts, options ) {
- var err;
- var key;
- var val;
- var i;
- if ( !isObject( options ) ) {
- return new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- for ( i = 0; i < KEYS.length; i++ ) {
- key = KEYS[ i ];
- if ( hasOwnProp( options, key ) ) {
- val = options[ key ];
- err = validators[ key ]( val );
- if ( err ) {
- return err;
- }
- opts[ key ] = val;
- }
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = validate;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/auto_render.js
deleted file mode 100644
index 08da79ff51a6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/auto_render.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `autoRender`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isBoolean( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/height.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/height.js
deleted file mode 100644
index 82ea73cef0cc..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/height.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `height`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isPositiveNumber( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'height', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/id.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/id.js
deleted file mode 100644
index 3e14d1226664..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/id.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `id`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isString( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'id', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/index.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/index.js
deleted file mode 100644
index b7f5514b61a3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var width = require( './width.js' );
-var height = require( './height.js' );
-var id = require( './id.js' );
-var autoRender = require( './auto_render.js' );
-
-
-// MAIN //
-
-var validators = {
- 'width': width,
- 'height': height,
- 'id': id,
- 'autoRender': autoRender
-};
-
-
-// EXPORTS //
-
-module.exports = validators;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/width.js b/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/width.js
deleted file mode 100644
index e6d8f774bf4f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/validators/width.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `width`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isPositiveNumber( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a positive number. Value: `%s`.', 'width', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/clip-path/package.json b/lib/node_modules/@stdlib/plot/components/svg/clip-path/package.json
deleted file mode 100644
index 193e75a7b016..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/clip-path/package.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/clip-path",
- "version": "0.0.0",
- "description": "SVG clipping path.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "clippath",
- "clip-path",
- "clipping",
- "clip",
- "path",
- "mask",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/README.md b/lib/node_modules/@stdlib/plot/components/svg/defs/README.md
deleted file mode 100644
index 10e8f5c52fd8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/README.md
+++ /dev/null
@@ -1,193 +0,0 @@
-
-
-# Definitions
-
-> [SVG][svg] plot definitions.
-
-
-
-
-
-
-
-
-
-
-
-## Usage
-
-```javascript
-var Defs = require( '@stdlib/plot/components/svg/defs' );
-```
-
-#### Defs()
-
-Returns a `Defs` instance.
-
-```javascript
-var node = new Defs();
-// returns
-```
-
-* * *
-
-### Methods
-
-
-
-#### Defs.prototype.render()
-
-Renders an instance as a [virtual DOM tree][virtual-dom].
-
-```javascript
-var node = new Defs();
-
-var vtree = node.render();
-/* e.g., returns
- {
- 'tagName': 'defs',
- 'properties': {
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
-*/
-```
-
-* * *
-
-### Events
-
-
-
-#### 'render'
-
-Event emitted when an instance renders. The event object is the rendered [Virtual DOM tree][virtual-dom].
-
-```javascript
-var node = new Defs();
-
-function onRender( vtree ) {
- console.log( vtree );
-}
-
-node.on( 'render', onRender );
-node.render();
-```
-
-* * *
-
-### Listeners
-
-
-
-#### 'change'
-
-Upon receiving a `'change'` event, an instance re-renders.
-
-```javascript
-var node = new Defs();
-
-function onRender( vtree ) {
- console.log( vtree );
-}
-
-node.on( 'render', onRender );
-node.emit( 'change' );
-```
-
-
-
-
-
-
-
-
-
-
-
-
-
-* * *
-
-
-
-## Examples
-
-
-
-```javascript
-var toHTML = require( 'vdom-to-html' );
-var defs = require( '@stdlib/plot/components/svg/defs' );
-
-// Create a new component:
-var node = defs();
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-// returns
-```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-[svg]: https://www.w3.org/Graphics/SVG/
-
-[virtual-dom]: https://github.com/Matt-Esch/virtual-dom
-
-
-
-
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/components/svg/defs/benchmark/benchmark.js
deleted file mode 100644
index 171d46cf183e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/benchmark/benchmark.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var bench = require( '@stdlib/bench' );
-var pkg = require( './../package.json' ).name;
-var Defs = require( './../lib' );
-
-
-// MAIN //
-
-bench( pkg+'::instantiation', function benchmark( b ) {
- var node;
- var i;
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node = new Defs();
- if ( !( node instanceof Defs ) ) {
- b.fail( 'should return an instance' );
- }
- }
- b.toc();
- if ( !( node instanceof Defs ) ) {
- b.fail( 'should return an instance' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::instantiation,no_new', function benchmark( b ) {
- var ctor;
- var node;
- var i;
-
- ctor = Defs;
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node = ctor();
- if ( !( node instanceof Defs ) ) {
- b.fail( 'should return an instance' );
- }
- }
- b.toc();
- if ( !( node instanceof Defs ) ) {
- b.fail( 'should return an instance' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+':render', function benchmark( b ) {
- var vtree;
- var node;
- var i;
-
- node = new Defs();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- vtree = node.render();
- if ( typeof vtree !== 'object' ) {
- b.fail( 'should return an object' );
- }
- }
- b.toc();
- if ( typeof vtree !== 'object' ) {
- b.fail( 'should return an object' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/defs/examples/index.js
deleted file mode 100644
index af533f02d62b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/examples/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var defs = require( './../lib' );
-
-// Create a new definitions component:
-var node = defs();
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-// =>
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/defs/lib/index.js
deleted file mode 100644
index 90a888f776d4..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/lib/index.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* SVG plot definitions.
-*
-* @module @stdlib/plot/components/svg/defs
-*
-* @example
-* var Defs = require( '@stdlib/plot/components/svg/defs' );
-*
-* var node = new Defs();
-* // returns
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/defs/lib/main.js
deleted file mode 100644
index 0d2917570fe1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/lib/main.js
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
-var inherit = require( '@stdlib/utils/inherit' );
-var instanceOf = require( '@stdlib/assert/instance-of' );
-var render = require( './render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'defs:main' );
-
-
-// MAIN //
-
-/**
-* SVG definitions constructor.
-*
-* @constructor
-* @returns {Defs} definitions instance
-*
-* @example
-* var node = new Defs();
-* // returns
-*/
-function Defs() {
- var self;
- if ( !instanceOf( this, Defs ) ) {
- return new Defs();
- }
- self = this;
- debug( 'Creating an instance...' );
- EventEmitter.call( this );
- this.on( 'change', onChange );
- this.on( '_render', onRender );
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- self.render();
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Inherit from the `EventEmitter` prototype.
-*/
-inherit( Defs, EventEmitter );
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Defs.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var node = new Defs();
-*
-* var out = node.render();
-* // returns
-*/
-setReadOnly( Defs.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Defs;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/lib/render.js b/lib/node_modules/@stdlib/plot/components/svg/defs/lib/render.js
deleted file mode 100644
index c64af49560d2..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/lib/render.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'defs:render' );
-var ELEMENT = 'defs';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var vtree;
- var props;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg'
- };
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, [] );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/package.json b/lib/node_modules/@stdlib/plot/components/svg/defs/package.json
deleted file mode 100644
index 9159edd46f7f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/package.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/defs",
- "version": "0.0.0",
- "description": "SVG plot definitions.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "benchmark": "./benchmark",
- "example": "./examples",
- "lib": "./lib",
- "test": "./test"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "defs",
- "definitions",
- "component",
- "virtual",
- "dom",
- "vdom",
- "virtual-dom"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/test/fixtures/vtree.js b/lib/node_modules/@stdlib/plot/components/svg/defs/test/fixtures/vtree.js
deleted file mode 100644
index 220d8d648c8b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/test/fixtures/vtree.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'defs',
- 'properties': {
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/defs/test/test.js b/lib/node_modules/@stdlib/plot/components/svg/defs/test/test.js
deleted file mode 100644
index cc1df9ea0c62..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/defs/test/test.js
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var tape = require( 'tape' );
-var instanceOf = require( '@stdlib/assert/instance-of' );
-var Defs = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof Defs, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'the function is a constructor', function test( t ) {
- var node = new Defs();
- t.strictEqual( instanceOf( node, Defs ), true, 'is an instance' );
- t.end();
-});
-
-tape( 'the constructor does not require the `new` operator', function test( t ) {
- var ctor;
- var node;
-
- ctor = Defs;
- node = ctor();
-
- t.strictEqual( instanceOf( node, Defs ), true, 'is an instance' );
- t.end();
-});
-
-tape( 'the constructor returns an event emitter', function test( t ) {
- var node = new Defs();
- t.strictEqual( instanceOf( node, EventEmitter ), true, 'is an event emitter' );
- t.end();
-});
-
-tape( 'when a returned instance receives a `change` event, it re-renders and emits a `render` event', function test( t ) {
- var node = new Defs();
- node.on( 'render', onRender );
- node.emit( 'change' );
-
- function onRender( obj ) {
- t.ok( true, 'emits a render event' );
- t.deepEqual( obj, VTREE, 'provides virtual tree' );
- t.end();
- }
-});
-
-tape( 'the `render` method returns a rendered virtual tree', function test( t ) {
- var vtree;
- var node;
-
- node = new Defs();
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'returns a virtual tree' );
- t.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/graph/examples/index.js
deleted file mode 100644
index 616e8c060000..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/examples/index.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var graph = require( './../lib' );
-
-// Create a new graph component:
-var node = graph({
- 'translateX': 90,
- 'translateY': 20,
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-node.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- node.translateX = 80;
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/defaults.json
deleted file mode 100644
index 983fe3639930..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/defaults.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "translateX": 0,
- "translateY": 0,
- "autoRender": false
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/events.json
deleted file mode 100644
index 54b6080da6b1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/events.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "translateX": "change",
- "translateY": "change",
- "autoRender": "change"
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/index.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/index.js
deleted file mode 100644
index ef68b2b8fdb7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/events/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EVENTS = require( './events.json' );
-
-
-// MAIN //
-
-/**
-* Provided a property, returns a corresponding event name for when a property value changes.
-*
-* @private
-* @param {string} prop - property
-* @returns {string} event name
-*/
-function get( prop ) {
- return EVENTS[ prop ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/index.js
deleted file mode 100644
index a5e342abd3ff..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Graph component.
-*
-* @module @stdlib/plot/components/svg/graph
-*
-* @example
-* var Graph = require( '@stdlib/plot/components/svg/graph' );
-*
-* var graph = new Graph({
-* 'translateX': 90,
-* 'translateY': 20
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/main.js
deleted file mode 100644
index 7897874fc1b5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/main.js
+++ /dev/null
@@ -1,233 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var copy = require( '@stdlib/utils/copy' );
-var defaults = require( './defaults.json' );
-var validate = require( './validate.js' );
-var setTranslateX = require( './props/translate-x/set.js' );
-var getTranslateX = require( './props/translate-x/get.js' );
-var setTranslateY = require( './props/translate-y/set.js' );
-var getTranslateY = require( './props/translate-y/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var render = require( './methods/render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'graph:main' );
-
-
-// MAIN //
-
-/**
-* Graph constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {NonNegativeInteger} [options.translateX=0] - horizontal translation
-* @param {NonNegativeInteger} [options.translateY=0] - vertical translation
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Graph} graph instance
-*
-* @example
-* var graph = new Graph({
-* 'translateX': 90,
-* 'translateY': 20
-* });
-*/
-function Graph( options ) {
- var self;
- var opts;
- var err;
- if ( !( this instanceof Graph ) ) {
- return new Graph( options );
- }
- self = this;
- opts = copy( defaults );
- err = validate( opts, options );
- if ( err ) {
- throw err;
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- defineProperty( this, '_translateX', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.translateX
- });
- defineProperty( this, '_translateY', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.translateY
- });
- defineProperty( this, '_autoRender', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.autoRender
- });
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Graph.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Graph.prototype.constructor = Graph;
-
-/**
-* Horizontal translation.
-*
-* @name translateX
-* @memberof Graph.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 0
-*
-* @example
-* var graph = new Graph({
-* 'translateX': 90
-* });
-*
-* var v = graph.translateX;
-* // returns 90
-*/
-defineProperty( Graph.prototype, 'translateX', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setTranslateX,
- 'get': getTranslateX
-});
-
-/**
-* Vertical translation.
-*
-* @name translateY
-* @memberof Graph.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 0
-*
-* @example
-* var graph = new Graph({
-* 'translateY': 20
-* });
-*
-* var v = graph.translateY;
-* // returns 20
-*/
-defineProperty( Graph.prototype, 'translateY', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setTranslateY,
- 'get': getTranslateY
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Graph.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var graph = new Graph({
-* 'autoRender': true
-* });
-*
-* var mode = graph.autoRender;
-* // returns true
-*/
-defineProperty( Graph.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Graph.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var graph = new Graph();
-*
-* var out = graph.render();
-*/
-setReadOnly( Graph.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Graph;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/methods/render.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/methods/render.js
deleted file mode 100644
index fcd76b382398..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/methods/render.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'graph:render' );
-var ELEMENT = 'g';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var props;
- var vtree;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'graph',
- 'className': 'graph',
- 'attributes': {
- 'transform': 'translate('+this.translateX+','+this.translateY+')'
- }
- };
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, [] );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/auto-render/set.js
deleted file mode 100644
index 21191762f48a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/auto_render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'canvas:set:auto-render' );
-var CHANGE_EVENT = events( 'autoRender' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( bool );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-x/get.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-x/get.js
deleted file mode 100644
index ef5e55ce342f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-x/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the horizontal translation.
-*
-* @private
-* @returns {NonNegativeInteger} translation
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._translateX;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-x/set.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-x/set.js
deleted file mode 100644
index 49fe20f732e0..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-x/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/translate_x.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'graph:set:translate-x' );
-var CHANGE_EVENT = events( 'translateX' );
-
-
-// MAIN //
-
-/**
-* Sets the horizontal translation.
-*
-* @private
-* @param {NonNegativeInteger} v - translation
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( v ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( v );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._translateX );
-
- this._translateX = v;
- debug( 'New Value: %d.', this._translateX );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-y/get.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-y/get.js
deleted file mode 100644
index 557271953bdd..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-y/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the vertical translation.
-*
-* @private
-* @returns {NonNegativeInteger} translation
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._translateY;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-y/set.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-y/set.js
deleted file mode 100644
index e4ce28ff0319..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/props/translate-y/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/translate_y.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'graph:set:translate-y' );
-var CHANGE_EVENT = events( 'translateY' );
-
-
-// MAIN //
-
-/**
-* Sets the vertical translation.
-*
-* @private
-* @param {NonNegativeInteger} v - translation
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( v ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( v );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._translateY );
-
- this._translateY = v;
- debug( 'New Value: %d.', this._translateY );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validate.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validate.js
deleted file mode 100644
index 97725e347cc3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validate.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var objectKeys = require( '@stdlib/utils/keys' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var hasOwnProp = require( '@stdlib/assert/has-own-property' );
-var format = require( '@stdlib/string/format' );
-var validators = require( './validators' );
-
-
-// VARIABLES //
-
-var KEYS = objectKeys( validators );
-
-
-// MAIN //
-
-/**
-* Validates function options.
-*
-* @private
-* @param {Object} opts - destination object
-* @param {Options} options - function options
-* @param {NonNegativeInteger} [options.translateX] - horizontal translation
-* @param {NonNegativeInteger} [options.translateY] - vertical translation
-* @param {boolean} [options.autoRender] - indicates whether to re-render on a change event
-* @returns {(Error|null)} error or null
-*
-* @example
-* var opts = {};
-* var options = {
-* 'translateX': 90,
-* 'translateY': 20
-* };
-* var err = validate( opts, options );
-* if ( err ) {
-* throw err;
-* }
-*/
-function validate( opts, options ) {
- var err;
- var key;
- var val;
- var i;
- if ( !isObject( options ) ) {
- return new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- for ( i = 0; i < KEYS.length; i++ ) {
- key = KEYS[ i ];
- if ( hasOwnProp( options, key ) ) {
- val = options[ key ];
- err = validators[ key ]( val );
- if ( err ) {
- return err;
- }
- opts[ key ] = val;
- }
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = validate;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/auto_render.js
deleted file mode 100644
index 08da79ff51a6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/auto_render.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `autoRender`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isBoolean( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/index.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/index.js
deleted file mode 100644
index 80a856d60e6a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var translateX = require( './translate_x.js' );
-var translateY = require( './translate_y.js' );
-var autoRender = require( './auto_render.js' );
-
-
-// MAIN //
-
-var validators = {
- 'translateX': translateX,
- 'translateY': translateY,
- 'autoRender': autoRender
-};
-
-
-// EXPORTS //
-
-module.exports = validators;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/translate_x.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/translate_x.js
deleted file mode 100644
index 9d9c2b9cae13..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/translate_x.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `translateX`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isNonNegativeInteger( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'translateX', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/translate_y.js b/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/translate_y.js
deleted file mode 100644
index 523ec57433ff..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/lib/validators/translate_y.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `translateY`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isNonNegativeInteger( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'translateY', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/graph/package.json b/lib/node_modules/@stdlib/plot/components/svg/graph/package.json
deleted file mode 100644
index 935a04e4e1c1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/graph/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/graph",
- "version": "0.0.0",
- "description": "Graph component.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/marks/examples/index.js
deleted file mode 100644
index 38e827bcd28c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/examples/index.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var marks = require( './../lib' );
-
-// Create a new component:
-var node = marks({
- 'clipPathId': '1234',
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-node.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- node.clipPathId = '4321';
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/defaults.json
deleted file mode 100644
index f77788efee5f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/defaults.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "clipPathId": "",
- "autoRender": false
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/events.json
deleted file mode 100644
index 3496bcb34947..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/events.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "clipPathId": "change",
- "autoRender": "change"
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/index.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/index.js
deleted file mode 100644
index ef68b2b8fdb7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/events/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EVENTS = require( './events.json' );
-
-
-// MAIN //
-
-/**
-* Provided a property, returns a corresponding event name for when a property value changes.
-*
-* @private
-* @param {string} prop - property
-* @returns {string} event name
-*/
-function get( prop ) {
- return EVENTS[ prop ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/index.js
deleted file mode 100644
index cb305621d1f0..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Marks.
-*
-* @module @stdlib/plot/components/svg/marks
-*
-* @example
-* var Marks = require( '@stdlib/plot/components/svg/marks' );
-*
-* var marks = new Marks({
-* 'clipPathId': '1234'
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/main.js
deleted file mode 100644
index c2997637a971..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/main.js
+++ /dev/null
@@ -1,198 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var copy = require( '@stdlib/utils/copy' );
-var defaults = require( './defaults.json' );
-var validate = require( './validate.js' );
-var setClipPathId = require( './props/clip-path-id/set.js' );
-var getClipPathId = require( './props/clip-path-id/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var render = require( './methods/render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'marks:main' );
-
-
-// MAIN //
-
-/**
-* Marks constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {string} [options.clipPathId] - clipping path id
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Marks} marks instance
-*
-* @example
-* var marks = new Marks({
-* 'clipPathId': '1234'
-* });
-*/
-function Marks( options ) {
- var self;
- var opts;
- var err;
- if ( !( this instanceof Marks ) ) {
- return new Marks( options );
- }
- self = this;
- opts = copy( defaults );
- err = validate( opts, options );
- if ( err ) {
- throw err;
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- defineProperty( this, '_clipPathId', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.clipPathId
- });
- defineProperty( this, '_autoRender', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.autoRender
- });
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Marks.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Marks.prototype.constructor = Marks;
-
-/**
-* Clipping path id.
-*
-* @name clipPathId
-* @memberof Marks.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-*
-* @example
-* var marks = new Marks({
-* 'clipPathId': '1234'
-* });
-*
-* var id = marks.clipPathId;
-* // returns '1234'
-*/
-defineProperty( Marks.prototype, 'clipPathId', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setClipPathId,
- 'get': getClipPathId
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Marks.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var marks = new Marks({
-* 'autoRender': true
-* });
-*
-* var mode = marks.autoRender;
-* // returns true
-*/
-defineProperty( Marks.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Marks.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var marks = new Marks();
-*
-* var out = marks.render();
-*/
-setReadOnly( Marks.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Marks;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/methods/render.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/methods/render.js
deleted file mode 100644
index fb5a1f5880bf..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/methods/render.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'marks:render' );
-var ELEMENT = 'g';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var props;
- var vtree;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'marks',
- 'className': 'marks',
- 'attributes': {
- 'clip-path': 'url(#'+this._clipPathId+')'
- }
- };
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, [] );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/auto-render/set.js
deleted file mode 100644
index 5fd14f6198ec..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/auto_render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'marks:set:auto-render' );
-var CHANGE_EVENT = events( 'autoRender' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( bool );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/clip-path-id/get.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/clip-path-id/get.js
deleted file mode 100644
index ff6c1a974f56..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/clip-path-id/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the clipping path id.
-*
-* @private
-* @returns {string} id
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._clipPathId;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/clip-path-id/set.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/clip-path-id/set.js
deleted file mode 100644
index f0677e306567..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/props/clip-path-id/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/clip_path_id.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'marks:set:clip-path-id' );
-var CHANGE_EVENT = events( 'clipPathId' );
-
-
-// MAIN //
-
-/**
-* Sets the clipping path id.
-*
-* @private
-* @param {string} id - clipping path id
-* @throws {TypeError} must be a string
-*/
-function set( id ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( id );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._clipPathId );
-
- this._clipPathId = id;
- debug( 'New Value: %d.', this._clipPathId );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validate.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validate.js
deleted file mode 100644
index 1b5e996f7cc9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validate.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var objectKeys = require( '@stdlib/utils/keys' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var hasOwnProp = require( '@stdlib/assert/has-own-property' );
-var format = require( '@stdlib/string/format' );
-var validators = require( './validators' );
-
-
-// VARIABLES //
-
-var KEYS = objectKeys( validators );
-
-
-// MAIN //
-
-/**
-* Validates function options.
-*
-* @private
-* @param {Object} opts - destination object
-* @param {Options} options - function options
-* @param {string} [options.clipPathId] - clipping path id
-* @param {boolean} [options.autoRender] - indicates whether to re-render on a change event
-* @returns {(Error|null)} error or null
-*
-* @example
-* var opts = {};
-* var options = {
-* 'clipPathId': '1234'
-* };
-* var err = validate( opts, options );
-* if ( err ) {
-* throw err;
-* }
-*/
-function validate( opts, options ) {
- var err;
- var key;
- var val;
- var i;
- if ( !isObject( options ) ) {
- return new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- for ( i = 0; i < KEYS.length; i++ ) {
- key = KEYS[ i ];
- if ( hasOwnProp( options, key ) ) {
- val = options[ key ];
- err = validators[ key ]( val );
- if ( err ) {
- return err;
- }
- opts[ key ] = val;
- }
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = validate;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/auto_render.js
deleted file mode 100644
index 08da79ff51a6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/auto_render.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `autoRender`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isBoolean( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/clip_path_id.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/clip_path_id.js
deleted file mode 100644
index ec90d10ba4de..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/clip_path_id.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `clipPathId`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isString( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'clipPathId', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/index.js b/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/index.js
deleted file mode 100644
index c3bab2a6bb4f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/lib/validators/index.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var clipPathId = require( './clip_path_id.js' );
-var autoRender = require( './auto_render.js' );
-
-
-// MAIN //
-
-var validators = {
- 'clipPathId': clipPathId,
- 'autoRender': autoRender
-};
-
-
-// EXPORTS //
-
-module.exports = validators;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/marks/package.json b/lib/node_modules/@stdlib/plot/components/svg/marks/package.json
deleted file mode 100644
index 222235933b81..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/marks/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/marks",
- "version": "0.0.0",
- "description": "Marks.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "marks",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/path/examples/index.js
deleted file mode 100644
index b68ee2df4cf9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/examples/index.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var path = require( './../lib' );
-
-// Create a new path:
-var node = path({
- 'x': [0.10, 0.50, 0.90],
- 'y': [0.43, 0.37, 0.53],
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-node.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- node.y = [0.99, 0.87, 0.92];
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/accessors/is_defined.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/accessors/is_defined.js
deleted file mode 100644
index fe50ce480471..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/accessors/is_defined.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isnan = require( '@stdlib/assert/is-nan' ).isPrimitive;
-
-
-// VARIABLES //
-
-var debug = logger( 'path:accessor:is-defined' );
-
-
-// MAIN //
-
-/**
-* Accessor function which determines whether a datum is defined.
-*
-* @private
-* @param {number} d - datum
-* @returns {boolean} boolean indicating whether a datum is defined
-*/
-function isDefined( d ) {
- var bool = !isnan( d );
- debug( 'Datum: %s. Defined: %s.', JSON.stringify( d ), bool );
- return bool;
-}
-
-
-// EXPORTS //
-
-module.exports = isDefined;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/path/lib/defaults.json
deleted file mode 100644
index a5ca76d7877b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/defaults.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "autoRender": false,
- "color": "#000",
- "isDefined": null,
- "label": "",
- "opacity": 0.9,
- "style": "-",
- "width": 2,
- "x": [],
- "xScale": null,
- "y": [],
- "yScale": null
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/index.js
deleted file mode 100644
index d3797cbf7d77..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* SVG path component.
-*
-* @module @stdlib/plot/components/svg/path
-*
-* @example
-* var Path = require( '@stdlib/plot/components/svg/path' );
-*
-* var path = new Path({
-* 'x': [0.1,0.2,0.3],
-* 'y': [0.4,0.5,0.6]
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/main.js
deleted file mode 100644
index d2eaa36951cb..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/main.js
+++ /dev/null
@@ -1,541 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// TODO: improve JSDoc examples
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var linear = require( 'd3-scale' ).scaleLinear; // TODO: remove
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var objectKeys = require( '@stdlib/utils/keys' );
-var format = require( '@stdlib/string/format' );
-var copy = require( '@stdlib/utils/copy' );
-var merge = require( '@stdlib/utils/merge' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var isDefined = require( './accessors/is_defined.js' );
-var defaults = require( './defaults.json' );
-var setX = require( './props/x/set.js' );
-var getX = require( './props/x/get.js' );
-var setY = require( './props/y/set.js' );
-var getY = require( './props/y/get.js' );
-var setXScale = require( './props/x-scale/set.js' );
-var getXScale = require( './props/x-scale/get.js' );
-var setYScale = require( './props/y-scale/set.js' );
-var getYScale = require( './props/y-scale/get.js' );
-var setIsDefined = require( './props/is-defined/set.js' );
-var getIsDefined = require( './props/is-defined/get.js' );
-var setColor = require( './props/color/set.js' );
-var getColor = require( './props/color/get.js' );
-var setLabel = require( './props/label/set.js' );
-var getLabel = require( './props/label/get.js' );
-var setOpacity = require( './props/opacity/set.js' );
-var getOpacity = require( './props/opacity/get.js' );
-var setWidth = require( './props/width/set.js' );
-var getWidth = require( './props/width/get.js' );
-var setStyle = require( './props/style/set.js' );
-var getStyle = require( './props/style/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var getLine = require( './props/line/get.js' );
-var getXPos = require( './props/x-pos/get.js' );
-var getYPos = require( './props/y-pos/get.js' );
-var render = require( './render' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:main' );
-var PRIVATE_PROPS = [
- '_autoRender',
- '_color',
- '_isDefined',
- '_label',
- '_opacity',
- '_style',
- '_width',
- '_xData',
- '_xScale',
- '_yData',
- '_yScale'
-];
-
-
-// MAIN //
-
-/**
-* Path constructor.
-*
-* @constructor
-* @param {Options} [options] - constructor options
-* @param {ArrayLike} [options.x=[]] - x-values
-* @param {ArrayLike} [options.y=[]] - y-values
-* @param {Function} [options.xScale] - x scale function
-* @param {Function} [options.yScale] - y scale function
-* @param {Function} [options.isDefined] - accessor indicating whether a datum is defined
-* @param {string} [options.color] - color
-* @param {string} [options.label] - label
-* @param {NonNegativeInteger} [options.width=2] - width
-* @param {number} [options.opacity=0.9] - opacity
-* @param {string} [options.style='-'] - style
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Path} Path instance
-*
-* @example
-* var path = new Path({
-* 'x': [0.1,0.2,0.3],
-* 'y': [0.4,0.5,0.6]
-* });
-*/
-function Path( options ) {
- var self;
- var keys;
- var opts;
- var key;
- var i;
- if ( !( this instanceof Path ) ) {
- if ( arguments.length ) {
- return new Path( options );
- }
- return new Path();
- }
- self = this;
-
- opts = copy( defaults );
- opts.isDefined = isDefined;
- opts.xScale = linear();
- opts.yScale = linear();
-
- if ( arguments.length ) {
- if ( !isObject( options ) ) {
- throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- opts = merge( opts, options );
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- for ( i = 0; i < PRIVATE_PROPS.length; i++ ) {
- defineProperty( this, PRIVATE_PROPS[i], {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': null
- });
- }
- // Set options...
- keys = objectKeys( opts );
- for ( i = 0; i < keys.length; i++ ) {
- key = keys[ i ];
- this[ key ] = opts[ key ];
- }
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Path.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Path.prototype.constructor = Path;
-
-/**
-* `x` values.
-*
-* @name x
-* @memberof Path.prototype
-* @type {ArrayLike}
-* @throws {TypeError} must be array-like
-* @default []
-*
-* @example
-* var path = new Path({
-* 'x': [0.1,0.2,0.3]
-* });
-*
-* var x = path.x;
-* // returns [0.1,0.2,0.3]
-*/
-defineProperty( Path.prototype, 'x', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setX,
- 'get': getX
-});
-
-/**
-* `y` values.
-*
-* @name y
-* @memberof Path.prototype
-* @type {ArrayLike}
-* @throws {TypeError} must be array-like
-* @default []
-*
-* @example
-* var path = new Path({
-* 'y': [0.4,0.5,0.6]
-* });
-*
-* var y = path.y;
-* // returns [0.4,0.5,0.6]
-*/
-defineProperty( Path.prototype, 'y', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setY,
- 'get': getY
-});
-
-/**
-* `x` scale function.
-*
-* @name xScale
-* @memberof Path.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var path = new Path({
-* 'xScale': function scale(){}
-* });
-*
-* var f = path.xScale;
-* // returns
-*/
-defineProperty( Path.prototype, 'xScale', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setXScale,
- 'get': getXScale
-});
-
-/**
-* `y` scale function.
-*
-* @name yScale
-* @memberof Path.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var path = new Path({
-* 'yScale': function scale(){}
-* });
-*
-* var f = path.yScale;
-* // returns
-*/
-defineProperty( Path.prototype, 'yScale', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setYScale,
- 'get': getYScale
-});
-
-/**
-* Accessor which defines whether a datum is defined. This accessor is used to define how missing values are encoded. The default behavior is to ignore values which are `NaN`.
-*
-* @name isDefined
-* @memberof Path.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var path = new Path();
-* path.isDefined = function isDefined( d ) {
-* // Check for `NaN`:
-* return ( d === d );
-* }
-*
-* @example
-* function isDefined( d ) {
-* // Check for `NaN`:
-* return ( d === d );
-* }
-* var path = new Path({
-* 'isDefined': isDefined
-* });
-* var fcn = path.isDefined;
-* // returns
-*/
-defineProperty( Path.prototype, 'isDefined', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setIsDefined,
- 'get': getIsDefined
-});
-
-/**
-* Path color.
-*
-* @name color
-* @memberof Path.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-*
-* @example
-* var path = new Path({
-* 'color': 'steelblue'
-* });
-*
-* var color = path.color;
-* // returns 'steelblue'
-*/
-defineProperty( Path.prototype, 'color', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setColor,
- 'get': getColor
-});
-
-/**
-* Path label.
-*
-* @name label
-* @memberof Path.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-*
-* @example
-* var path = new Path({
-* 'label': 'line-1'
-* });
-*
-* var label = path.label;
-* // returns 'line-1'
-*/
-defineProperty( Path.prototype, 'label', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLabel,
- 'get': getLabel
-});
-
-/**
-* Path opacity.
-*
-* @name opacity
-* @memberof Path.prototype
-* @type {number}
-* @throws {TypeError} must be a number
-* @throws {RangeError} must be a number on the interval `[0,1]`
-* @default 0.9
-*
-* @example
-* var path = new Path({
-* 'opacity': 0.5
-* });
-*
-* var opacity = path.opacity;
-* // returns 0.5
-*/
-defineProperty( Path.prototype, 'opacity', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setOpacity,
- 'get': getOpacity
-});
-
-/**
-* Path width.
-*
-* @name width
-* @memberof Path.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 2
-*
-* @example
-* var path = new Path({
-* 'width': 1
-* });
-*
-* var width = path.width;
-* // returns 1
-*/
-defineProperty( Path.prototype, 'width', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setWidth,
- 'get': getWidth
-});
-
-/**
-* Path style.
-*
-* @name style
-* @memberof Path.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-* @default '-'
-*
-* @example
-* var path = new Path({
-* 'style': '-.'
-* });
-*
-* var style = path.style;
-* // returns '-.'
-*/
-defineProperty( Path.prototype, 'style', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setStyle,
- 'get': getStyle
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Path.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var path = new Path({
-* 'autoRender': true
-* });
-*
-* var mode = path.autoRender;
-* // returns true
-*/
-defineProperty( Path.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Returns a function to generate a line as an SVG path.
-*
-* @name line
-* @memberof Path.prototype
-* @type {Function}
-*
-* @example
-* var path = new Path();
-*
-* var line = path.line;
-* // returns
-*/
-defineProperty( Path.prototype, 'line', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getLine
-});
-
-/**
-* Function to map values to x coordinate values.
-*
-* @name xPos
-* @memberof Path.prototype
-* @type {Function}
-*
-* @example
-* var path = new Path();
-* var xPos = path.xPos;
-* // returns
-*/
-defineProperty( Path.prototype, 'xPos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getXPos
-});
-
-/**
-* Function to map values to y coordinate values.
-*
-* @name yPos
-* @memberof Path.prototype
-* @type {Function}
-*
-* @example
-* var path = new Path();
-* var yPos = path.yPos;
-* // returns
-*/
-defineProperty( Path.prototype, 'yPos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getYPos
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Path.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var path = new Path();
-*
-* var out = path.render();
-*/
-setReadOnly( Path.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Path;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/auto-render/set.js
deleted file mode 100644
index 61741759377b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:auto-render' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- if ( !isBoolean( bool ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', bool ) );
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/color/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/color/get.js
deleted file mode 100644
index 95da35e60da6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/color/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the path color.
-*
-* @private
-* @returns {string} color
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._color;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/color/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/color/set.js
deleted file mode 100644
index 654fd1948bc2..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/color/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:color' );
-
-
-// MAIN //
-
-/**
-* Sets the path color.
-*
-* @private
-* @param {string} color - color
-* @throws {TypeError} must be a string
-*/
-function set( color ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( color ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'color', color ) );
- }
- debug( 'Current value: %d.', this._color );
-
- this._color = color;
- debug( 'New Value: %d.', this._color );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/is-defined/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/is-defined/get.js
deleted file mode 100644
index fd05f22602d6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/is-defined/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the accessor for defined values.
-*
-* @private
-* @returns {Function} accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._isDefined;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/is-defined/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/is-defined/set.js
deleted file mode 100644
index 3dc6b175e7ad..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/is-defined/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:is-defined' );
-
-
-// MAIN //
-
-/**
-* Sets the accessor for defined values.
-*
-* @private
-* @param {Function} fcn - accessor
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'isDefined', fcn ) );
- }
- debug( 'Current value: %s.', this._isDefined );
-
- this._isDefined = fcn;
- debug( 'New Value: %s.', this._isDefined );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/label/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/label/get.js
deleted file mode 100644
index a068a42e6c8f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/label/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the path label.
-*
-* @private
-* @returns {string} label
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._label;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/label/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/label/set.js
deleted file mode 100644
index 42bb10076108..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/label/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:label' );
-
-
-// MAIN //
-
-/**
-* Sets the path label.
-*
-* @private
-* @param {string} label - label
-* @throws {TypeError} must be a string
-*/
-function set( label ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( label ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'label', label ) );
- }
- debug( 'Current value: %d.', this._label );
-
- this._label = label;
- debug( 'New Value: %d.', this._label );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/line/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/line/get.js
deleted file mode 100644
index 5e784f1cace1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/line/get.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var line = require( 'd3-shape' ).line; // TODO: remove
-
-
-// MAIN //
-
-/**
-* Returns a function to generate a line as an SVG path.
-*
-* @private
-* @returns {Function} function to generate a line as an SVG path
-*/
-function get() {
- /* eslint-disable no-invalid-this, stdlib/empty-line-before-comment */
- var f = line()
- .x( this.xPos )
- .y( this.yPos )
- .defined( this.isDefined );
- // TODO: interpolate (curve factory)
- // TODO: tension
-
- return f;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/opacity/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/opacity/get.js
deleted file mode 100644
index eea4f9db00f7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/opacity/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the opacity.
-*
-* @private
-* @returns {number} opacity
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._opacity;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/opacity/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/opacity/set.js
deleted file mode 100644
index f4867e8c4902..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/opacity/set.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:opacity' );
-
-
-// MAIN //
-
-/**
-* Sets the opacity.
-*
-* @private
-* @param {number} opacity - opacity
-* @throws {TypeError} must be a number
-* @throws {RangeError} must be a number on the interval `[0,1]`
-*/
-function set( opacity ) {
- /* eslint-disable no-invalid-this */
- if ( !isNumber( opacity ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', 'opacity', opacity ) );
- }
- if (
- opacity < 0.0 ||
- opacity > 1.0
- ) {
- throw new RangeError( format( 'invalid assignment. `%s` must be a number on the interval: [0, 1]. Value: `%f`.', 'opacity', opacity ) );
- }
- debug( 'Current value: %d.', this._opacity );
-
- this._opacity = opacity;
- debug( 'New Value: %d.', this._opacity );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/style/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/style/get.js
deleted file mode 100644
index 5329c649370a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/style/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the path style.
-*
-* @private
-* @returns {string} style
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._style;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/style/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/style/set.js
deleted file mode 100644
index 8c46af529fa5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/style/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:style' );
-
-
-// MAIN //
-
-/**
-* Sets the path style.
-*
-* @private
-* @param {string} v - style
-* @throws {TypeError} must be a string
-*/
-function set( v ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( v ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'style', v ) );
- }
- debug( 'Current value: %d.', this._style );
-
- this._style = v;
- debug( 'New Value: %d.', this._style );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/width/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/width/get.js
deleted file mode 100644
index b2b8e8436891..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/width/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the width.
-*
-* @private
-* @returns {NonNegativeInteger} width
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._width;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/width/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/width/set.js
deleted file mode 100644
index 73d2ce065935..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/width/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:width' );
-
-
-// MAIN //
-
-/**
-* Sets the width.
-*
-* @private
-* @param {NonNegativeInteger} v - width
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( v ) {
- /* eslint-disable no-invalid-this */
- if ( !isNonNegativeInteger( v ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'width', v ) );
- }
- debug( 'Current value: %d.', this._width );
-
- this._width = v;
- debug( 'New Value: %d.', this._width );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-pos/get.js
deleted file mode 100644
index a0f88087568e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:xpos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to x coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.xScale;
- return xPos;
-
- /**
- * Maps a value to a x coordinate value.
- *
- * @private
- * @param {Array} d - datum
- * @returns {number} pixel value
- */
- function xPos( d ) {
- var px = scale( d[0] );
- debug( 'Value: %d => Pixel: %d.', d[0], px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-scale/get.js
deleted file mode 100644
index a3ad33fb3c92..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the x-scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xScale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-scale/set.js
deleted file mode 100644
index e9412f562daf..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x-scale/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:xscale' );
-
-
-// MAIN //
-
-/**
-* Sets the x-scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'xScale', fcn ) );
- }
- debug( 'Current value: %s.', this._xScale );
-
- this._xScale = fcn;
- debug( 'New Value: %s.', this._xScale );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x/get.js
deleted file mode 100644
index fcddeb2cb0f9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the `x` values.
-*
-* @private
-* @returns {ArrayLike} x values
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xData;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x/set.js
deleted file mode 100644
index 830f7f292959..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/x/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isArrayLike = require( '@stdlib/assert/is-array-like' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:x' );
-
-
-// MAIN //
-
-/**
-* Sets the `x` values.
-*
-* @private
-* @param {ArrayLike} x - x values
-* @throws {TypeError} must be array-like
-*/
-function set( x ) {
- /* eslint-disable no-invalid-this */
- if ( !isArrayLike( x ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be array-like. Value: `%s`.', 'x', x ) );
- }
- debug( 'Current value: %s.', JSON.stringify( this._xData ) );
-
- this._xData = x;
- debug( 'New Value: %s.', JSON.stringify( this._xData ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-pos/get.js
deleted file mode 100644
index ea24de704e99..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:ypos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to y coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.yScale;
- return yPos;
-
- /**
- * Maps a value to a y coordinate value.
- *
- * @private
- * @param {Array} d - datum
- * @returns {number} pixel value
- */
- function yPos( d ) {
- var px = scale( d[1] );
- debug( 'Value: %d => Pixel: %d.', d[1], px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-scale/get.js
deleted file mode 100644
index 83f782c5faf5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the y-scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yScale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-scale/set.js
deleted file mode 100644
index df1377fb1f7c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y-scale/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:yscale' );
-
-
-// MAIN //
-
-/**
-* Sets the y-scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'yScale', fcn ) );
- }
- debug( 'Current value: %s.', this._yScale );
-
- this._yScale = fcn;
- debug( 'New Value: %s.', this._yScale );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y/get.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y/get.js
deleted file mode 100644
index 459d02249332..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the `y` values.
-*
-* @private
-* @returns {ArrayLike} y values
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yData;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y/set.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y/set.js
deleted file mode 100644
index 181b60b69605..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/props/y/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isArrayLike = require( '@stdlib/assert/is-array-like' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:set:y' );
-
-
-// MAIN //
-
-/**
-* Sets the `y` values.
-*
-* @private
-* @param {ArrayLike} y - y values
-* @throws {TypeError} must be array-like
-*/
-function set( y ) {
- /* eslint-disable no-invalid-this */
- if ( !isArrayLike( y ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be array-like. Value: `%s`.', 'y', y ) );
- }
- debug( 'Current value: %s.', JSON.stringify( this._yData ) );
-
- this._yData = y;
- debug( 'New Value: %s.', JSON.stringify( this._yData ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/index.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/index.js
deleted file mode 100644
index 8fd71a989e76..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/index.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var zip = require( './utils/zip.js' );
-var style = require( './utils/style.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'path:render' );
-var ELEMENT = 'path';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var props;
- var vtree;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'line',
- 'className': 'path line',
- 'attributes': {
- 'd': this.line( zip( this._xData, this._yData ) ),
- 'fill': 'none',
- 'stroke': this.color,
- 'stroke-width': this.width,
- 'stroke-opacity': this.opacity,
- 'stroke-dasharray': style( this.style ),
- 'data-label': this.label
- }
- };
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, [] );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/utils/style.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/utils/style.js
deleted file mode 100644
index cdfee7788598..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/utils/style.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// VARIABLES //
-
-var STYLES = {
- // Solid path:
- '-': '',
-
- // Dashes:
- '--': '5, 1',
-
- // Dotted path:
- ':': '0.9',
-
- // Dash-dotted path:
- '-.': '5, 1, 1, 1'
-};
-
-
-// MAIN //
-
-/**
-* Checks for a known style. If present, returns the [`stroke-dasharray`][1]. Otherwise, returns the provided input value.
-*
-* [1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray
-*
-* @private
-* @param {string} v - style
-* @returns {string} stroke dasharray value
-*/
-function style( v ) {
- var s = STYLES[ v ];
- if ( s ) {
- return s;
- }
- return v;
-}
-
-
-// EXPORTS //
-
-module.exports = style;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/utils/zip.js b/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/utils/zip.js
deleted file mode 100644
index 731735397afc..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/lib/render/utils/zip.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Zips two arrays.
-*
-* @private
-* @param {ArrayLike} x - x-values
-* @param {ArrayLike} y - y-values
-* @throws {Error} must provide equal length array-like objects
-* @returns {Array} zipped array
-*/
-function zip( x, y ) {
- var out;
- var i;
- if ( x.length !== y.length ) {
- throw new Error( format( 'invalid arguments. Must provide equal length array-like objects. x length: `%u`. y length: `%u`.', x.length, y.length ) );
- }
- out = new Array( x.length );
- for ( i = 0; i < x.length; i++ ) {
- out[ i ] = [ x[i], y[i] ];
- }
- return out;
-}
-
-
-// EXPORTS //
-
-module.exports = zip;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/path/package.json b/lib/node_modules/@stdlib/plot/components/svg/path/package.json
deleted file mode 100644
index 09336092da3c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/path/package.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/path",
- "version": "0.0.0",
- "description": "SVG path.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "path",
- "line",
- "series",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/auto-render/set.js
deleted file mode 100644
index 5ec6e51bad7b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:set:auto-render' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a boolean
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- if ( !isBoolean( bool ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', bool ) );
- }
- if ( bool !== this._autoRender ) {
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/label/get.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/label/get.js
deleted file mode 100644
index b7dbfda965cd..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/label/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get a rectangle's label.
-*
-* @private
-* @returns {Function} label accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isString( this._label ) ) {
- return label;
- }
- return this._label;
-
- /**
- * Returns the label.
- *
- * @private
- * @returns {string} label
- */
- function label() {
- return self._label; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/label/set.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/label/set.js
deleted file mode 100644
index ea3aa1c6f337..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/label/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:set:label' );
-
-
-// MAIN //
-
-/**
-* Sets the label.
-*
-* @private
-* @param {(string|Function)} label - label
-* @throws {TypeError} must be a string or a function
-*/
-function set( label ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( label ) && !isFunction( label ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or a function. Value: `%s`.', 'label', label ) );
- }
- if ( label !== this._label ) {
- debug( 'Current value: %d.', this._label );
-
- this._label = label;
- debug( 'New Value: %d.', this._label );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-pos/get.js
deleted file mode 100644
index df38da3418c5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:x-pos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to `x` coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.xScale;
-
- return xPos;
- /**
- * Maps a value to an `x` coordinate value.
- *
- * @private
- * @param {*} d - datum
- * @returns {number} pixel value
- */
- function xPos( d ) {
- var px = scale( d );
- debug( 'Value: %d => Pixel: %d.', d, px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-scale/get.js
deleted file mode 100644
index a3ad33fb3c92..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the x-scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xScale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-scale/set.js
deleted file mode 100644
index 3c21e462845c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/x-scale/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:set:xscale' );
-
-
-// MAIN //
-
-/**
-* Sets the x-scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'xScale', fcn ) );
- }
- if ( fcn !== this._xScale ) {
- debug( 'Current value: %s.', this._xScale );
-
- this._xScale = fcn;
- debug( 'New Value: %s.', this._xScale );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-pos/get.js
deleted file mode 100644
index 54d127c395bf..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:y-pos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to `y` coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.yScale;
- return yPos;
-
- /**
- * Maps a value to a `y` coordinate value.
- *
- * @private
- * @param {*} d - datum
- * @returns {number} pixel value
- */
- function yPos( d ) {
- var px = scale( d );
- debug( 'Value: %d => Pixel: %d.', d, px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-scale/get.js
deleted file mode 100644
index 83f782c5faf5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the y-scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yScale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-scale/set.js
deleted file mode 100644
index 5cb18935cea5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/props/y-scale/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:set:yscale' );
-
-
-// MAIN //
-
-/**
-* Sets the y-scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'yScale', fcn ) );
- }
- if ( fcn !== this._yScale ) {
- debug( 'Current value: %s.', this._yScale );
-
- this._yScale = fcn;
- debug( 'New Value: %s.', this._yScale );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/render/columns.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/render/columns.js
deleted file mode 100644
index d2e51cb0496c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/render/columns.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:render:rects' );
-var ELEMENT = 'rect';
-
-
-// MAIN //
-
-/**
-* Renders data as a rectangles.
-*
-* @private
-* @param {Object} state - state
-* @returns {Array} array of virtual trees
-*/
-function render( state ) {
- var lineOpacity;
- var faceOpacity;
- var faceColor;
- var lineColor;
- var label;
- var props;
- var xPos;
- var yPos;
- var data;
- var out;
- var pos;
- var x0;
- var x1;
- var y;
- var i;
- var j;
-
- debug( 'Rendering rectangles...' );
-
- label = state.label;
- lineOpacity = state.lineOpacity;
- faceOpacity = state.faceOpacity;
- lineColor = state.lineColor;
- faceColor = state.faceColor;
- xPos = state.xPos;
- yPos = state.yPos;
- data = state.data;
-
- out = new Array( data.length/3 );
- for ( i = 0; i < data.length; i += 3 ) {
- j = i / 3;
-
- x0 = data[ i ];
- x1 = data[ i+1 ];
- y = data[ i+2 ];
-
- pos = xPos( x0 );
-
- debug( 'Rendering datum %d...', j );
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'column',
- 'className': 'column',
- 'attributes': {
- 'x': pos,
- 'width': xPos( x1 ) - pos,
- 'height': yPos( y ), // FIXME
- 'stroke': lineColor( x0, x1, y, j ),
- 'stroke-opacity': lineOpacity( x0, x1, y, j ),
- 'fill': faceColor( x0, x1, y, j ),
- 'fill-opacity': faceOpacity( x0, x1, y, j ),
- 'data-label': label( x0, x1, y, j )
- }
- };
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- out[ j ] = h( ELEMENT, props, [] );
- }
- return out;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/render/index.js b/lib/node_modules/@stdlib/plot/components/svg/rects/lib/render/index.js
deleted file mode 100644
index c6213fb11369..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rects/lib/render/index.js
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var columns = require( './columns.js' );
-var bars = require( './bars.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rects:render' );
-var ELEMENT = 'g';
-var RENDER = {
- 'vertical': columns,
- 'horizontal': bars
-};
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var children;
- var props;
- var vtree;
- var f;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'rects',
- 'className': 'rects'
- };
- f = RENDER[ this.orientation ];
- children = f( this );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, children );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/README.md b/lib/node_modules/@stdlib/plot/components/svg/rug/README.md
deleted file mode 100644
index 7f0ff357befd..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/README.md
+++ /dev/null
@@ -1,464 +0,0 @@
-
-
-# Rug
-
-> [SVG][svg] rug component.
-
-
-
-
-
-
-
-
-
-
-
-A **rug plot** provides a compact 1-dimensional visualization to supplement higher dimensional plots by displaying a [marginal distribution][marginal-distribution] along one axis. Displaying a [marginal distribution][marginal-distribution] is useful in helping reveal the "shape" of data, especially when visual space is limited.
-
-
-
-
-
-
-
-
-
-## Usage
-
-```javascript
-var Rug = require( '@stdlib/plot/components/svg/rug' );
-```
-
-#### Rug( \[options] )
-
-Returns a `Rug` instance.
-
-```javascript
-var node = new Rug();
-// returns
-```
-
-The constructor accepts the following `options`:
-
-- **autoRender**: `boolean` indicating whether to re-render on a `'change'` event. Default: `true`.
-- **color**: tick (tassel) color. May be either a `string` or a `function`. Default: `'#aaa'`.
-- **data**: array-like `object` containing tick data. Default: `[]`.
-- **isDefined**: predicate function indicating whether a datum is defined. By default, the function treats `NaN` values as undefined data values.
-- **label**: tick (tassel) label. May be either a `string` or a `function`. Default: `''`.
-- **opacity**: tick (tassel) opacity. Must be on the interval `[0,1]`. Default: `0.9`.
-- **orientation**: rug orientation. Must be either bottom, top, right, or left. Default: `'bottom'`.
-- **scale**: scale function which maps data values to coordinates.
-- **size**: tick (tassel) size. Default: `6` pixels.
-
-To specify rug plot options at instantiation, provide an `options` object.
-
-```javascript
-var opts = {
- 'data': [ 0.1, 0.3, 0.5 ],
- 'color': '#ff0000',
- 'label': 'group-1',
- 'opacity': 0.7,
- 'orientation': 'bottom',
- 'size': 5,
- 'autoRender': false
-};
-
-var node = new Rug( opts );
-// returns
-```
-
-* * *
-
-### Properties
-
-
-
-#### Rug.prototype.autoRender
-
-**Writable** property which specifies whether an instance re-renders on each `'change'` event.
-
-```javascript
-var node = new Rug({
- 'autoRender': false
-});
-
-var mode = node.autoRender;
-// returns false
-```
-
-
-
-#### Rug.prototype.color
-
-**Writable** property which specifies tick (tassel) color. A color value may be either a `string` or an accessor `function`.
-
-```javascript
-var node = new Rug({
- 'color': 'steelblue'
-});
-
-var color = node.color;
-// returns
-```
-
-When retrieved, the returned value is always an accessor which accepts two parameters:
-
-- **d**: datum
-- **i**: datum index
-
-
-
-#### Rug.prototype.data
-
-**Writable** property which specifies the tick (tassel) data.
-
-```javascript
-var node = new Rug({
- 'data': [ 0.1, 0.2, 0.3 ]
-});
-
-var data = node.data;
-// returns [ 0.1, 0.2, 0.3 ]
-```
-
-
-
-#### Rug.prototype.isDefined( d, i )
-
-**Writable** property whose value is a predicate `function` which indicates whether a datum is defined and thus determines how missing values are encoded. When invoked, the function is provided two arguments:
-
-- **d**: datum.
-- **i**: datum index.
-
-```javascript
-function isDefined( d ) {
- return ( d !== null );
-}
-
-var node = new Rug({
- 'isDefined': isDefined
-});
-
-node.isDefined = isDefined;
-// returns
-```
-
-The default function behavior defines `NaN` data values as undefined.
-
-
-
-#### Rug.prototype.label
-
-**Writable** property specifying a tick (tassel) label. A label value may be either a `string` or an accessor `function`.
-
-```javascript
-var node = new Rug({
- 'label': 'group-1'
-});
-
-var label = node.label;
-// returns
-```
-
-When retrieved, the returned value is always an accessor which accepts two parameters:
-
-- **d**: datum.
-- **i**: datum index.
-
-
-
-#### Rug.prototype.opacity
-
-**Writable** property specifying tick (tassel) opacity. An opacity value may be either a `number` or an accessor `function`.
-
-```javascript
-var node = new Rug({
- 'opacity': 0.5
-});
-
-var opacity = node.opacity;
-// returns
-```
-
-When retrieved, the returned value is always an accessor which accepts two parameters:
-
-- **d**: datum.
-- **i**: datum index.
-
-
-
-#### Rug.prototype.orientation
-
-**Writable** property specifying the rug plot orientation.
-
-```javascript
-var node = new Rug({
- 'orientation': 'left'
-});
-
-var orient = node.orientation;
-// returns 'left'
-```
-
-An orientation may be one of the following values:
-
-- **bottom**: bottom orientation (default)
-- **top**: top orientation
-- **left**: left orientation
-- **right**: right orientation
-
-
-
-#### Rug.prototype.scale
-
-**Writable** property providing a function which maps data values to coordinate values.
-
-```javascript
-function scale( d, i ) {
- console.log( d, i );
- return d;
-}
-
-var node = new Rug({
- 'scale': scale
-});
-
-var fcn = node.scale;
-// returns
-```
-
-
-
-#### Rug.prototype.size
-
-**Writable** property specifying tick (tassel) size.
-
-```javascript
-var node = new Rug({
- 'size': 5
-});
-
-var size = node.size;
-// returns 5
-```
-
-* * *
-
-### Methods
-
-
-
-#### Rug.prototype.render()
-
-Renders an instance as a [virtual DOM tree][virtual-dom].
-
-```javascript
-var node = new Rug({
- 'data': [ 0.1 ]
-});
-
-var vtree = node.render();
-/* e.g., returns
- {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
-*/
-```
-
-* * *
-
-### Events
-
-
-
-#### 'render'
-
-Event emitted when an instance renders. The event object is the rendered [Virtual DOM tree][virtual-dom].
-
-```javascript
-var node = new Rug();
-
-function onRender( vtree ) {
- console.log( vtree );
-}
-
-// Attach an event listener:
-node.on( 'render', onRender );
-
-// Render an instance:
-node.render();
-```
-
-* * *
-
-### Listeners
-
-
-
-#### 'change'
-
-If `autoRender` is `true`, upon receiving a `'change'` event, an instance re-renders.
-
-```javascript
-var node = new Rug({
- 'autoRender': true
-});
-
-function onRender( vtree ) {
- console.log( vtree );
-}
-
-// Attach an event listener:
-node.on( 'render', onRender );
-
-// Manually trigger a change event:
-node.emit( 'change' );
-```
-
-
-
-
-
-
-
-
-
-
-
-
-
-* * *
-
-
-
-## Examples
-
-
-
-```javascript
-var toHTML = require( 'vdom-to-html' );
-var rug = require( '@stdlib/plot/components/svg/rug' );
-
-// Create a new rug component:
-var opts = {
- 'data': [ 0.10, 0.50, 0.90 ],
- 'orientation': 'bottom'
-};
-var r = rug( opts );
-
-// Render as a virtual DOM tree:
-var vtree = r.render();
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-// returns
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-r.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- r.data = [ 0.99, 0.87, 0.92 ];
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
-```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-[svg]: https://www.w3.org/Graphics/SVG/
-
-[virtual-dom]: https://github.com/Matt-Esch/virtual-dom
-
-[marginal-distribution]: https://en.wikipedia.org/wiki/Marginal_distribution
-
-
-
-
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/components/svg/rug/benchmark/benchmark.js
deleted file mode 100644
index fae73530b51d..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/benchmark/benchmark.js
+++ /dev/null
@@ -1,336 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var bench = require( '@stdlib/bench' );
-var noop = require( '@stdlib/utils/noop' );
-var randu = require( '@stdlib/random/base/randu' );
-var isArray = require( '@stdlib/assert/is-array' );
-var pkg = require( './../package.json' ).name;
-var Rug = require( './../lib' );
-
-
-// MAIN //
-
-bench( pkg+'::instantiation', function benchmark( b ) {
- var node;
- var i;
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node = new Rug();
- if ( !( node instanceof Rug ) ) {
- b.fail( 'should return an instance' );
- }
- }
- b.toc();
- if ( !( node instanceof Rug ) ) {
- b.fail( 'should return an instance' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::instantiation,no_new', function benchmark( b ) {
- var ctor;
- var node;
- var i;
-
- ctor = Rug;
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node = ctor();
- if ( !( node instanceof Rug ) ) {
- b.fail( 'should return an instance' );
- }
- }
- b.toc();
- if ( !( node instanceof Rug ) ) {
- b.fail( 'should return an instance' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::instantiation,options', function benchmark( b ) {
- var node;
- var opts;
- var i;
-
- opts = {
- 'autoRender': false,
- 'color': '#474747',
- 'data': [ 1, 2, 3 ],
- 'isDefined': noop,
- 'label': 'beep',
- 'opacity': 1.0,
- 'orientation': 'left',
- 'size': 10,
- 'scale': noop
- };
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node = new Rug( opts );
- if ( !( node instanceof Rug ) ) {
- b.fail( 'should return an instance' );
- }
- }
- b.toc();
- if ( !( node instanceof Rug ) ) {
- b.fail( 'should return an instance' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::set,get:autoRender', function benchmark( b ) {
- var node;
- var bool;
- var i;
-
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node.autoRender = !bool;
- if ( typeof node.autoRender !== 'boolean' ) {
- b.fail( 'should return a boolean' );
- }
- }
- b.toc();
- if ( typeof node.autoRender !== 'boolean' ) {
- b.fail( 'should return a boolean' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::set,get:color', function benchmark( b ) {
- var values;
- var node;
- var i;
-
- values = [
- '#fff',
- '#000'
- ];
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node.color = values[ i % values.length ];
- if ( typeof node.color !== 'function' ) {
- b.fail( 'should return a function' );
- }
- }
- b.toc();
- if ( typeof node.color !== 'function' ) {
- b.fail( 'should return a function' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::set,get:data', function benchmark( b ) {
- var node;
- var i;
-
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node.data = [ randu(), randu(), randu() ];
- if ( typeof node.data !== 'object' ) {
- b.fail( 'should return an object' );
- }
- }
- b.toc();
- if ( !isArray( node.data ) ) {
- b.fail( 'should return an array' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::set,get:isDefined', function benchmark( b ) {
- var node;
- var i;
-
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node.isDefined = createFcn();
- if ( typeof node.isDefined !== 'function' ) {
- b.fail( 'should return a function' );
- }
- }
- b.toc();
- if ( typeof node.isDefined !== 'function' ) {
- b.fail( 'should return a function' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-
- function createFcn() {
- return beep;
- function beep() {
- // No-op...
- }
- }
-});
-
-bench( pkg+'::set,get:label', function benchmark( b ) {
- var values;
- var node;
- var i;
-
- values = [
- 'beep',
- 'boop'
- ];
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node.label = values[ i % values.length ];
- if ( typeof node.label !== 'function' ) {
- b.fail( 'should return a function' );
- }
- }
- b.toc();
- if ( typeof node.label !== 'function' ) {
- b.fail( 'should return a function' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::set,get:opacity', function benchmark( b ) {
- var node;
- var i;
-
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node.opacity = randu();
- if ( typeof node.opacity !== 'function' ) {
- b.fail( 'should return a function' );
- }
- }
- b.toc();
- if ( typeof node.opacity !== 'function' ) {
- b.fail( 'should return a function' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::set,get:orientation', function benchmark( b ) {
- var values;
- var node;
- var v;
- var i;
-
- values = [
- 'left',
- 'right',
- 'top',
- 'bottom'
- ];
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- v = values[ i % values.length ];
- node.orientation = v;
- if ( node.orientation !== v ) {
- b.fail( 'should return set value' );
- }
- }
- b.toc();
- if ( typeof node.orientation !== 'string' ) {
- b.fail( 'should return a string' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
-
-bench( pkg+'::set,get:scale', function benchmark( b ) {
- var node;
- var i;
-
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- node.scale = createFcn();
- if ( typeof node.scale !== 'function' ) {
- b.fail( 'should return a function' );
- }
- }
- b.toc();
- if ( typeof node.scale !== 'function' ) {
- b.fail( 'should return a function' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-
- function createFcn() {
- return beep;
- function beep() {
- // No-op...
- }
- }
-});
-
-bench( pkg+'::set,get:size', function benchmark( b ) {
- var values;
- var node;
- var v;
- var i;
-
- values = [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ];
- node = new Rug();
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- v = values[ i % values.length ];
- node.size = v;
- if ( node.size !== v ) {
- b.fail( 'should return set value' );
- }
- }
- b.toc();
- if ( typeof node.size !== 'number' ) {
- b.fail( 'should return a number' );
- }
- b.pass( 'benchmark finished' );
- b.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/benchmark/benchmark.render.js b/lib/node_modules/@stdlib/plot/components/svg/rug/benchmark/benchmark.render.js
deleted file mode 100644
index e8cf993bf01d..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/benchmark/benchmark.render.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var bench = require( '@stdlib/bench' );
-var randu = require( '@stdlib/random/base/randu' );
-var pow = require( '@stdlib/math/base/special/pow' );
-var Float64Array = require( '@stdlib/array/float64' );
-var pkg = require( './../package.json' ).name;
-var Rug = require( './../lib' );
-
-
-// FUNCTIONS //
-
-/**
-* Creates a benchmark function.
-*
-* @private
-* @param {PositiveInteger} len - array length
-* @returns {Function} benchmark function
-*/
-function createBenchmark( len ) {
- var node;
- var x;
- var i;
-
- x = new Float64Array( len );
- for ( i = 0; i < x.length; i++ ) {
- x[ i ] = randu();
- }
- node = new Rug({
- 'data': x
- });
- return benchmark;
-
- /**
- * Benchmark function.
- *
- * @private
- * @param {Benchmark} b - benchmark instance
- */
- function benchmark( b ) {
- var vtree;
- var i;
-
- b.tic();
- for ( i = 0; i < b.iterations; i++ ) {
- x[ x.length-1 ] = randu();
- vtree = node.render();
- if ( typeof vtree !== 'object' ) {
- b.fail( 'should return an object' );
- }
- }
- b.toc();
- if ( typeof vtree !== 'object' ) {
- b.fail( 'should return an object' );
- }
- b.pass( 'benchmark finished' );
- b.end();
- }
-}
-
-
-// MAIN //
-
-/**
-* Main execution sequence.
-*
-* @private
-*/
-function main() {
- var len;
- var min;
- var max;
- var f;
- var i;
-
- min = 1; // 10^min
- max = 4; // 10^max
-
- for ( i = min; i <= max; i++ ) {
- len = pow( 10, i );
- f = createBenchmark( len );
- bench( pkg+':render:len='+len, f );
- }
-}
-
-main();
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/rug/examples/index.js
deleted file mode 100644
index d30bc38bdff6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/examples/index.js
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var rug = require( './../lib' );
-
-// Create a new rug component:
-var opts = {
- 'data': [ 0.10, 0.50, 0.90 ],
- 'orientation': 'bottom',
- 'autoRender': true
-};
-var r = rug( opts );
-
-// Render as a virtual DOM tree:
-var vtree = r.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-// =>
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-r.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- r.data = [ 0.99, 0.87, 0.92 ];
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/accessors/is_defined.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/accessors/is_defined.js
deleted file mode 100644
index 72d4dc4f9d53..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/accessors/is_defined.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isnan = require( '@stdlib/assert/is-nan' ).isPrimitive;
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:accessor:is-defined' );
-
-
-// MAIN //
-
-/**
-* Predicate function which returns a boolean indicating whether a datum is defined.
-*
-* @private
-* @param {number} d - datum
-* @param {integer} i - index
-* @returns {boolean} boolean indicating whether a datum is defined
-*/
-function isDefined( d ) {
- var bool = !isnan( d );
- debug( 'Datum: %s. Defined: %s.', JSON.stringify( d ), bool );
- return bool;
-}
-
-
-// EXPORTS //
-
-module.exports = isDefined;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/defaults.json
deleted file mode 100644
index be3c01de77d8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/defaults.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "autoRender": false,
- "color": "#aaa",
- "data": [],
- "isDefined": null,
- "label": "",
- "opacity": 0.9,
- "orientation": "bottom",
- "scale": null,
- "size": 6
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/index.js
deleted file mode 100644
index 8133d0a2cb20..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* SVG rug component.
-*
-* @module @stdlib/plot/components/svg/rug
-*
-* @example
-* var Rug = require( '@stdlib/plot/components/svg/rug' );
-*
-* var node = new Rug({
-* 'data': [ 0.1, 0.2, 0.3 ]
-* });
-* // returns
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/main.js
deleted file mode 100644
index a625d7d2974c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/main.js
+++ /dev/null
@@ -1,445 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var linear = require( 'd3-scale' ).scaleLinear; // TODO: remove
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var objectKeys = require( '@stdlib/utils/keys' );
-var format = require( '@stdlib/string/format' );
-var copy = require( '@stdlib/utils/copy' );
-var merge = require( '@stdlib/utils/merge' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var instanceOf = require( '@stdlib/assert/instance-of' );
-var inherit = require( '@stdlib/utils/inherit' );
-var isDefined = require( './accessors/is_defined.js' );
-var defaults = require( './defaults.json' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var setColor = require( './props/color/set.js' );
-var getColor = require( './props/color/get.js' );
-var setData = require( './props/data/set.js' );
-var getData = require( './props/data/get.js' );
-var setIsDefined = require( './props/is-defined/set.js' );
-var getIsDefined = require( './props/is-defined/get.js' );
-var setLabel = require( './props/label/set.js' );
-var getLabel = require( './props/label/get.js' );
-var setOpacity = require( './props/opacity/set.js' );
-var getOpacity = require( './props/opacity/get.js' );
-var setOrientation = require( './props/orientation/set.js' );
-var getOrientation = require( './props/orientation/get.js' );
-var getPos = require( './props/pos/get.js' );
-var setScale = require( './props/scale/set.js' );
-var getScale = require( './props/scale/get.js' );
-var setSize = require( './props/size/set.js' );
-var getSize = require( './props/size/get.js' );
-var render = require( './render' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:main' );
-var PRIVATE_PROPS = [
- '_autoRender',
- '_color',
- '_data',
- '_isDefined',
- '_label',
- '_opacity',
- '_orientation',
- '_scale',
- '_size'
-];
-
-
-// MAIN //
-
-/**
-* Rug constructor.
-*
-* @constructor
-* @param {Options} [options] - constructor options
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @param {(string|Function)} [options.color="#aaa"] - color
-* @param {ArrayLike} [options.data=[]] - data
-* @param {Function} [options.isDefined] - predicate function indicating whether a datum is defined
-* @param {(string|Function)} [options.label] - label
-* @param {(number|Function)} [options.opacity=0.9] - opacity
-* @param {string} [options.orientation="bottom"] - orientation
-* @param {Function} [options.scale] - scale function
-* @param {NonNegativeInteger} [options.size=6] - tick (tassel) size
-* @throws {TypeError} options argument must be an object
-* @throws {TypeError} must provide valid options
-* @returns {Rug} Rug instance
-*
-* @example
-* var node = new Rug({
-* 'data': [ 0.1, 0.2, 0.3 ]
-* });
-* // returns
-*/
-function Rug( options ) {
- var self;
- var keys;
- var opts;
- var key;
- var i;
- if ( !instanceOf( this, Rug ) ) {
- if ( arguments.length ) {
- return new Rug( options );
- }
- return new Rug();
- }
- self = this;
-
- opts = copy( defaults );
- opts.isDefined = isDefined;
- opts.scale = linear();
-
- if ( arguments.length ) {
- if ( !isObject( options ) ) {
- throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- opts = merge( opts, options );
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- for ( i = 0; i < PRIVATE_PROPS.length; i++ ) {
- defineProperty( this, PRIVATE_PROPS[i], {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': null
- });
- }
- // Set options...
- keys = objectKeys( opts );
- for ( i = 0; i < keys.length; i++ ) {
- key = keys[ i ];
- this[ key ] = opts[ key ];
- }
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Inherit from the `EventEmitter` prototype.
-*/
-inherit( Rug, EventEmitter );
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Rug.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var node = new Rug({
-* 'autoRender': true
-* });
-*
-* var mode = node.autoRender;
-* // returns true
-*/
-defineProperty( Rug.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Tick color. When retrieved, the returned value is a color accessor.
-*
-* @name color
-* @memberof Rug.prototype
-* @type {(string|Function)}
-* @throws {TypeError} must be a string or function
-*
-* @example
-* var node = new Rug({
-* 'color': 'steelblue'
-* });
-*
-* var color = node.color;
-* // returns
-*/
-defineProperty( Rug.prototype, 'color', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setColor,
- 'get': getColor
-});
-
-/**
-* Data.
-*
-* @name data
-* @memberof Rug.prototype
-* @type {ArrayLike}
-* @throws {TypeError} must be array-like
-* @default []
-*
-* @example
-* var node = new Rug({
-* 'data': [ 0.1, 0.2, 0.3 ]
-* });
-*
-* var data = node.data;
-* // returns [ 0.1, 0.2, 0.3 ]
-*/
-defineProperty( Rug.prototype, 'data', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setData,
- 'get': getData
-});
-
-/**
-* Predicate function which defines whether a datum is defined. This accessor is used to define how missing values are encoded. The default behavior is to ignore values which are `NaN`.
-*
-* @name isDefined
-* @memberof Rug.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var node = new Rug();
-*
-* function isDefined( d ) {
-* // Check for `NaN`:
-* return ( d === d );
-* }
-* node.isDefined = isDefined;
-*
-* @example
-* function isDefined( d ) {
-* // Check for `NaN`:
-* return ( d === d );
-* }
-* var node = new Rug({
-* 'isDefined': isDefined
-* });
-* var fcn = node.isDefined;
-* // returns
-*/
-defineProperty( Rug.prototype, 'isDefined', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setIsDefined,
- 'get': getIsDefined
-});
-
-/**
-* Tick label. When retrieved, the returned value is a label accessor.
-*
-* @name label
-* @memberof Rug.prototype
-* @type {(string|Function)}
-* @throws {TypeError} must be a string or function
-*
-* @example
-* var node = new Rug({
-* 'label': 'group-1'
-* });
-*
-* var label = node.label;
-* // returns
-*/
-defineProperty( Rug.prototype, 'label', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLabel,
- 'get': getLabel
-});
-
-/**
-* Tick opacity. When retrieved, the returned value is an opacity accessor.
-*
-* @name opacity
-* @memberof Rug.prototype
-* @type {number}
-* @throws {TypeError} must be a number
-* @throws {RangeError} must be a number on the interval `[0,1]`
-* @default 0.9
-*
-* @example
-* var node = new Rug({
-* 'opacity': 0.5
-* });
-*
-* var opacity = node.opacity;
-* // returns
-*/
-defineProperty( Rug.prototype, 'opacity', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setOpacity,
- 'get': getOpacity
-});
-
-/**
-* Rug orientation.
-*
-* @name orientation
-* @memberof Rug.prototype
-* @type {string}
-* @throws {TypeError} must be a supported orientation
-*
-* @example
-* var node = new Rug({
-* 'orientation': 'left'
-* });
-*
-* var orient = node.orientation;
-* // returns 'left'
-*/
-defineProperty( Rug.prototype, 'orientation', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setOrientation,
- 'get': getOrientation
-});
-
-/**
-* Function to map values to x coordinate values.
-*
-* @name pos
-* @memberof Rug.prototype
-* @type {Function}
-*
-* @example
-* var node = new Rug();
-*
-* var pos = node.pos;
-* // returns
-*/
-defineProperty( Rug.prototype, 'pos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getPos
-});
-
-/**
-* Scale function.
-*
-* @name scale
-* @memberof Rug.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var node = new Rug({
-* 'scale': function scale() {}
-* });
-*
-* var fcn = node.scale;
-* // returns
-*/
-defineProperty( Rug.prototype, 'scale', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setScale,
- 'get': getScale
-});
-
-/**
-* Tick (tassel) size.
-*
-* @name size
-* @memberof Rug.prototype
-* @type {NonNegativeInteger}
-* @throws {TypeError} must be a nonnegative integer
-* @default 6
-*
-* @example
-* var node = new Rug({
-* 'size': 5
-* });
-*
-* var size = node.size;
-* // returns 5
-*/
-defineProperty( Rug.prototype, 'size', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setSize,
- 'get': getSize
-});
-
-/**
-* Renders a Virtual DOM tree.
-*
-* @name render
-* @memberof Rug.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var node = new Rug();
-*
-* var out = node.render();
-* // returns
-*/
-setReadOnly( Rug.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Rug;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/auto-render/set.js
deleted file mode 100644
index a0926869fb93..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:auto-render' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a boolean
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- if ( !isBoolean( bool ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', bool ) );
- }
- if ( bool !== this._autoRender ) {
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/color/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/color/get.js
deleted file mode 100644
index cf0aabe11e15..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/color/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get a color.
-*
-* @private
-* @returns {Function} color accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isString( this._color ) ) {
- return color;
- }
- return this._color;
-
- /**
- * Returns a color value.
- *
- * @private
- * @returns {string} color
- */
- function color() {
- return self._color; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/color/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/color/set.js
deleted file mode 100644
index 0b106193daa6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/color/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:color' );
-
-
-// MAIN //
-
-/**
-* Sets the color.
-*
-* @private
-* @param {(string|Function)} color - color
-* @throws {TypeError} must be a string or function
-*/
-function set( color ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( color ) && !isFunction( color ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or a function. Value: `%s`.', 'color', color ) );
- }
- if ( color !== this._color ) {
- debug( 'Current value: %d.', this._color );
-
- this._color = color;
- debug( 'New Value: %d.', this._color );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/data/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/data/get.js
deleted file mode 100644
index 281803ed1a3d..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/data/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the data values.
-*
-* @private
-* @returns {ArrayLike} data values
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._data;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/data/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/data/set.js
deleted file mode 100644
index 4a1afeec39cb..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/data/set.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isArrayLike = require( '@stdlib/assert/is-array-like' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:data' );
-
-
-// MAIN //
-
-/**
-* Sets the data values.
-*
-* ## Notes
-*
-* - We always fire a `change` event when set, even if the provided reference is the same, to allow signaling that data values have changed (e.g., a data array has mutated).
-*
-* @private
-* @param {ArrayLike} data - data values
-* @throws {TypeError} must be array-like
-*/
-function set( data ) {
- /* eslint-disable no-invalid-this */
- if ( !isArrayLike( data ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be array-like. Value: `%s`.', 'data', data ) );
- }
- debug( 'Current value: %s.', JSON.stringify( this._data ) );
-
- this._data = data;
- debug( 'New Value: %s.', JSON.stringify( this._data ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/is-defined/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/is-defined/get.js
deleted file mode 100644
index 8d6d7448aff0..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/is-defined/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the predicate function for determining whether a value is defined.
-*
-* @private
-* @returns {Function} predicate function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._isDefined;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/is-defined/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/is-defined/set.js
deleted file mode 100644
index d6aebbe95573..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/is-defined/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:is-defined' );
-
-
-// MAIN //
-
-/**
-* Sets the predicate function for determining whether a value is defined.
-*
-* @private
-* @param {Function} fcn - predicate function
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'isDefined', fcn ) );
- }
- if ( fcn !== this._isDefined ) {
- debug( 'Current value: %s.', this._isDefined );
-
- this._isDefined = fcn;
- debug( 'New Value: %s.', this._isDefined );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/label/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/label/get.js
deleted file mode 100644
index 680c572bb612..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/label/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get a label.
-*
-* @private
-* @returns {Function} label accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isString( this._label ) ) {
- return label;
- }
- return this._label;
-
- /**
- * Returns a label.
- *
- * @private
- * @returns {string} label
- */
- function label() {
- return self._label; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/label/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/label/set.js
deleted file mode 100644
index 98107f63ecc6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/label/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:label' );
-
-
-// MAIN //
-
-/**
-* Sets the label.
-*
-* @private
-* @param {(string|Function)} label - label
-* @throws {TypeError} must be a string or a function
-*/
-function set( label ) {
- /* eslint-disable no-invalid-this */
- if ( !isString( label ) && !isFunction( label ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or a function. Value: `%s`.', 'label', label ) );
- }
- if ( label !== this._label ) {
- debug( 'Current value: %d.', this._label );
-
- this._label = label;
- debug( 'New Value: %d.', this._label );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/opacity/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/opacity/get.js
deleted file mode 100644
index a6e45913780d..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/opacity/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get an opacity.
-*
-* @private
-* @returns {Function} opacity accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isNumber( this._opacity ) ) {
- return opacity;
- }
- return this._opacity;
-
- /**
- * Returns the opacity.
- *
- * @private
- * @returns {number} opacity
- */
- function opacity() {
- return self._opacity; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/opacity/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/opacity/set.js
deleted file mode 100644
index 03fc2c40fce5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/opacity/set.js
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:opacity' );
-
-
-// MAIN //
-
-/**
-* Sets the opacity.
-*
-* @private
-* @param {(number|Function)} opacity - opacity
-* @throws {TypeError} must be a number or a function
-* @throws {RangeError} must be a number on the interval `[0,1]`
-*/
-function set( opacity ) {
- /* eslint-disable no-invalid-this */
- var isNum = isNumber( opacity );
- if ( !isNum && !isFunction( opacity ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a number or a function. Value: `%s`.', 'opacity', opacity ) );
- }
- if ( isNum && (opacity !== opacity || opacity < 0.0 || opacity > 1.0) ) {
- throw new RangeError( format( 'invalid assignment. `%s` must be a number on the interval: [0, 1]. Value: `%f`.', 'opacity', opacity ) );
- }
- if ( opacity !== this._opacity ) {
- debug( 'Current value: %d.', this._opacity );
-
- this._opacity = opacity;
- debug( 'New Value: %d.', this._opacity );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/get.js
deleted file mode 100644
index 2067d1d2dc35..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the orientation.
-*
-* @private
-* @returns {string} orientation
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._orientation;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/orientations.json b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/orientations.json
deleted file mode 100644
index c3d57be9dcb8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/orientations.json
+++ /dev/null
@@ -1,6 +0,0 @@
-[
- "bottom",
- "left",
- "right",
- "top"
-]
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/set.js
deleted file mode 100644
index 4fe7468f49ae..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/orientation/set.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var indexOf = require( '@stdlib/utils/index-of' );
-var format = require( '@stdlib/string/format' );
-var ORIENTATIONS = require( './orientations.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:orientation' );
-
-
-// MAIN //
-
-/**
-* Sets the orientation.
-*
-* @private
-* @param {string} orient - orientation
-* @throws {TypeError} must be a supported orientation
-*/
-function set( orient ) {
- /* eslint-disable no-invalid-this */
- if ( indexOf( ORIENTATIONS, orient ) === -1 ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', 'orientation', ORIENTATIONS.join( '", "' ), orient ) );
- }
- if ( orient !== this._orientation ) {
- debug( 'Current value: %d.', this._orientation );
-
- this._orientation = orient;
- debug( 'New Value: %d.', this._orientation );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/pos/get.js
deleted file mode 100644
index 3fd54c4aa7c4..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:pos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.scale;
- return pos;
-
- /**
- * Maps a value to a coordinate value.
- *
- * @private
- * @param {*} d - datum
- * @returns {number} pixel value
- */
- function pos( d ) {
- var p = scale( d );
- debug( 'Value: %d => Pixel: %d.', d, p );
- return p;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/scale/get.js
deleted file mode 100644
index 4ef9bb2c0ea8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._scale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/scale/set.js
deleted file mode 100644
index 8beb12de3481..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/scale/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:scale' );
-
-
-// MAIN //
-
-/**
-* Sets the scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'scale', fcn ) );
- }
- if ( fcn !== this._scale ) {
- debug( 'Current value: %s.', this._scale );
-
- this._scale = fcn;
- debug( 'New Value: %s.', this._scale );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/size/get.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/size/get.js
deleted file mode 100644
index b4c45e13cdf6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/size/get.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-/**
-* Returns the tick (tassel) size.
-*
-* @private
-* @returns {NonNegativeInteger} tick size
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._size;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/size/set.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/size/set.js
deleted file mode 100644
index 8db6c48b0084..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/props/size/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:set:size' );
-
-
-// MAIN //
-
-/**
-* Sets the tick (tassel) size.
-*
-* @private
-* @param {NonNegativeInteger} size - size
-* @throws {TypeError} must be a nonnegative integer
-*/
-function set( size ) {
- /* eslint-disable no-invalid-this */
- if ( !isNonNegativeInteger( size ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer. Value: `%s`.', 'size', size ) );
- }
- if ( size !== this._size ) {
- debug( 'Current value: %d.', this._size );
-
- this._size = size;
- debug( 'New Value: %d.', this._size );
-
- this.emit( 'change' );
- }
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/index.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/index.js
deleted file mode 100644
index 44b2517ce116..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/index.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var ticks = require( './ticks.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:render' );
-var ELEMENT = 'g';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var children;
- var props;
- var vtree;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'rug',
- 'className': 'rug'
- };
-
- children = ticks( this );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, children );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/ticks.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/ticks.js
deleted file mode 100644
index 19bbfe02bb69..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/ticks.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var xAttr = require( './utils/x_attr.js' );
-var yAttr = require( './utils/y_attr.js' );
-var tickDir = require( './utils/tick_dir.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'rug:render:ticks' );
-var ELEMENT = 'line';
-
-
-// MAIN //
-
-/**
-* Renders rug ticks (tassels).
-*
-* @private
-* @param {Object} ctx - context
-* @returns {Array} array of virtual trees
-*/
-function render( ctx ) {
- var props;
- var data;
- var out;
- var pos;
- var dir;
- var p;
- var x;
- var y;
- var d;
- var i;
-
- debug( 'Rendering ticks...' );
-
- data = ctx.data;
- pos = ctx.pos;
- x = xAttr( ctx.orientation );
- y = yAttr( ctx.orientation );
- dir = tickDir( ctx.orientation );
-
- out = new Array( data.length );
- for ( i = 0; i < data.length; i++ ) {
- d = data[ i ];
- if ( !ctx.isDefined( d, i ) ) {
- debug( 'Datum %d is not defined. Value: %s.', i, d );
- continue;
- }
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': ctx.opacity( d, i ),
- 'stroke': ctx.color( d, i ),
- 'stroke-width': 1,
- 'data-label': ctx.label( d, i )
- }
- };
-
- p = pos( d );
- props.attributes[ x+'1' ] = 0;
- props.attributes[ x+'2' ] = dir * ctx.size;
- props.attributes[ y+'1' ] = p;
- props.attributes[ y+'2' ] = p;
-
- debug( 'Rendering tick %d with value %s...', i, d );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- out[ i ] = h( ELEMENT, props, [] );
- }
- debug( 'Finished rendering ticks.' );
- return out;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/tick_dir.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/tick_dir.js
deleted file mode 100644
index 60ef70606fc6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/tick_dir.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the tick direction.
-*
-* @private
-* @param {string} orient - orientation
-* @returns {number} tick direction
-*/
-function tickDir( orient ) {
- if ( orient === 'bottom' || orient === 'right' ) {
- return -1;
- }
- return 1;
-}
-
-
-// EXPORTS //
-
-module.exports = tickDir;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/x_attr.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/x_attr.js
deleted file mode 100644
index 8a7ec9f02be6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/x_attr.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the "x" attribute for tick positioning.
-*
-* @private
-* @param {string} orient - rug orientation
-* @returns {string} attribute
-*/
-function xAttr( orient ) {
- if ( orient === 'left' || orient === 'right' ) {
- return 'x';
- }
- return 'y';
-}
-
-
-// EXPORTS //
-
-module.exports = xAttr;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/y_attr.js b/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/y_attr.js
deleted file mode 100644
index e43b62806831..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/lib/render/utils/y_attr.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the "y" attribute for tick positioning.
-*
-* @private
-* @param {string} orient - rug orientation
-* @returns {string} attribute
-*/
-function yAttr( orient ) {
- if ( orient === 'left' || orient === 'right' ) {
- return 'y';
- }
- return 'x';
-}
-
-
-// EXPORTS //
-
-module.exports = yAttr;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/package.json b/lib/node_modules/@stdlib/plot/components/svg/rug/package.json
deleted file mode 100644
index 18048f28dc13..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/package.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/rug",
- "version": "0.0.0",
- "description": "SVG rug component.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "benchmark": "./benchmark",
- "example": "./examples",
- "lib": "./lib",
- "test": "./test"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "rug",
- "density",
- "component",
- "vdom",
- "virtual",
- "dom",
- "virtual-dom"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/srv/scripts/fig_into_plot.js b/lib/node_modules/@stdlib/plot/components/svg/rug/srv/scripts/fig_into_plot.js
deleted file mode 100644
index bfac7b92f8b9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/srv/scripts/fig_into_plot.js
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var randn = require( '@stdlib/random/base/box-muller' );
-var Float64Array = require( '@stdlib/array/float64' );
-var Float32Array = require( '@stdlib/array/float32' );
-var Plot = require( '@stdlib/plot/ctor' );
-
-
-// MAIN //
-
-/**
-* Generates a plot.
-*
-* @private
-*/
-function main() {
- var html;
- var plot;
- var opts;
- var x1;
- var x2;
- var y1;
- var y2;
- var i;
-
- // Create some data...
- x1 = new Float64Array( 1000 );
- x2 = new Float64Array( x1.length );
- y1 = new Float64Array( x1.length );
- y2 = new Float32Array( x1.length );
- for ( i = 0; i < x1.length; i++ ) {
- x1[ i ] = 30.0 + (7.5*randn());
- x2[ i ] = 40.0 + (12.5*randn());
- y1[ i ] = 50.0 + (10.0*randn());
- y2[ i ] = 30.0 + (5.0*randn());
- }
-
- // Define the plot options:
- opts = {
- 'width': 600,
- 'height': 480,
- 'xMin': 0.0,
- 'xMax': 100.0,
- 'yMin': 0.0,
- 'yMax': 100.0,
- 'lineStyle': 'none',
- 'symbols': 'closed-circle',
- 'symbolsSize': 6,
- 'symbolsOpacity': 0.2,
- 'xRug': true,
- 'yRug': true,
- 'xRugOrient': 'top',
- 'yRugOrient': 'right'
- };
-
- // Create a new plot:
- plot = new Plot( [ x1, x2 ], [ y1, y2 ], opts );
-
- // Render as HTML/SVG:
- html = plot.render( 'html' );
-
- // Write to `stdout`:
- console.log( html );
-}
-
-main();
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.color_function.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.color_function.js
deleted file mode 100644
index a2448ee8b240..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.color_function.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#ffa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#ffb',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#ffc',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.color_string.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.color_string.js
deleted file mode 100644
index 15176950808f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.color_string.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#fff',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#fff',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#fff',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.data.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.data.js
deleted file mode 100644
index 6ea06b0a449e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.data.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.15,
- 'x2': 0.15
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.55,
- 'x2': 0.55
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.95,
- 'x2': 0.95
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.is_defined.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.is_defined.js
deleted file mode 100644
index decb1a6660ae..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.is_defined.js
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 2,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.js
deleted file mode 100644
index 8cc704c5b262..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.label_function.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.label_function.js
deleted file mode 100644
index 4d0e834bf3c6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.label_function.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': 'beep',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': 'boop',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': 'bop',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.label_string.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.label_string.js
deleted file mode 100644
index 94c5b74700ee..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.label_string.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': 'beep',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': 'beep',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': 'beep',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.opacity_function.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.opacity_function.js
deleted file mode 100644
index d895e4594257..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.opacity_function.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.25,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.5,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.75,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.opacity_number.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.opacity_number.js
deleted file mode 100644
index 764d6e7af6f6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.opacity_number.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.1,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.1,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.1,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_left.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_left.js
deleted file mode 100644
index cf3bf599a7b9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_left.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'x1': 0,
- 'x2': 6,
- 'y1': 0.1,
- 'y2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'x1': 0,
- 'x2': 6,
- 'y1': 0.5,
- 'y2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'x1': 0,
- 'x2': 6,
- 'y1': 0.9,
- 'y2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_right.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_right.js
deleted file mode 100644
index 083bff6e09d1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_right.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'x1': 0,
- 'x2': -6,
- 'y1': 0.1,
- 'y2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'x1': 0,
- 'x2': -6,
- 'y1': 0.5,
- 'y2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'x1': 0,
- 'x2': -6,
- 'y1': 0.9,
- 'y2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_top.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_top.js
deleted file mode 100644
index 7f7d21178291..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.orientation_top.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': 6,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': 6,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': 6,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.scale.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.scale.js
deleted file mode 100644
index 3934d431d9e9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.scale.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 1.0,
- 'x2': 1.0
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 5.0,
- 'x2': 5.0
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -6,
- 'x1': 9.0,
- 'x2': 9.0
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.size.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.size.js
deleted file mode 100644
index 91d52ce06d93..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/fixtures/vtree.size.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MAIN //
-
-var vtree = {
- 'tagName': 'g',
- 'properties': {
- 'property': 'rug',
- 'className': 'rug',
- 'namespace': void 0
- },
- 'children': [
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -12,
- 'x1': 0.1,
- 'x2': 0.1
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -12,
- 'x1': 0.5,
- 'x2': 0.5
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- },
- {
- 'tagName': 'line',
- 'properties': {
- 'property': 'rug.tick',
- 'className': 'tick',
- 'attributes': {
- 'fill': 'none',
- 'opacity': 0.9,
- 'stroke': '#aaa',
- 'stroke-width': 1,
- 'data-label': '',
- 'y1': 0,
- 'y2': -12,
- 'x1': 0.9,
- 'x2': 0.9
- },
- 'namespace': void 0
- },
- 'children': [],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 0,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
- }
- ],
- 'namespace': 'http://www.w3.org/2000/svg',
- 'count': 3,
- 'hasWidgets': false,
- 'hasThunks': false,
- 'descendantHooks': false,
- 'hooks': void 0,
- 'key': void 0
-};
-
-
-// EXPORTS //
-
-module.exports = vtree;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.auto_render.js
deleted file mode 100644
index 3cf3f17be554..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.auto_render.js
+++ /dev/null
@@ -1,172 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `autoRender` value', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 5,
- NaN,
- null,
- void 0,
- {},
- [],
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.autoRender = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false
- });
- t.strictEqual( node.autoRender, false, 'returns expected value' );
-
- node.autoRender = true;
- t.strictEqual( node.autoRender, true, 'returns expected value' );
-
- node.autoRender = false;
- t.strictEqual( node.autoRender, false, 'returns expected value' );
-
- t.end();
-});
-
-tape( 'if `autoRender` is `true`, when a returned instance receives a `change` event, it re-renders and emits a `render` event', function test( t ) {
- var node = ctor({
- 'autoRender': true,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- node.on( 'render', onRender );
- node.emit( 'change' );
-
- function onRender( obj ) {
- t.ok( true, 'emits a render event' );
- t.deepEqual( obj, VTREE, 'provides virtual tree' );
- t.end();
- }
-});
-
-tape( 'if `autoRender` is `false`, when a returned instance receives a `change` event, it does not re-render or emit a `render` event', function test( t ) {
- var node = ctor({
- 'data': [ 0.10, 0.50, 0.90 ],
- 'autoRender': false
- });
- node.on( 'render', onRender );
- node.emit( 'change' );
- t.pass( 'is ok' );
- t.end();
-
- function onRender() {
- t.fail( 'should never be invoked' );
- }
-});
-
-tape( 'setting the `autoRender` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': true
- });
- node.on( 'change', onChange );
- node.autoRender = false;
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `autoRender` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': false
- });
- node.on( 'change', onChange );
- node.autoRender = true;
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `autoRender` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': true
- });
- node.on( 'change', onChange );
- node.autoRender = true;
- t.pass( 'is ok' );
- t.end();
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'setting the `autoRender` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': false
- });
- node.on( 'change', onChange );
- node.autoRender = false;
- t.pass( 'is ok' );
- t.end();
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.color.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.color.js
deleted file mode 100644
index 2dcf0f6623d1..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.color.js
+++ /dev/null
@@ -1,294 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_COLOR_STRING = require( './fixtures/vtree.color_string.js' );
-var VTREE_COLOR_FCN = require( './fixtures/vtree.color_function.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `color` value', function test( t ) {
- var values;
- var i;
-
- values = [
- 5,
- NaN,
- -3.14,
- 3.14,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.color = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value (string)', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#abc'
- });
- t.strictEqual( node.color(), '#abc', 'returns expected value' );
-
- node.color = '#cba';
- t.strictEqual( node.color(), '#cba', 'returns expected value' );
-
- t.end();
-});
-
-tape( 'an instance supports setting and getting the property value (function)', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': color1
- });
- t.strictEqual( node.color, color1, 'returns expected value' );
-
- node.color = color2;
- t.strictEqual( node.color, color2, 'returns expected value' );
-
- t.end();
-
- function color1() {
- // no-op...
- }
-
- function color2() {
- // no-op...
- }
-});
-
-tape( 'a color function is provided two arguments: datum and index', function test( t ) {
- var expected;
- var actual;
- var node;
-
- node = ctor({
- 'data': [ 0.10, 0.50, 0.90 ],
- 'color': color,
- 'autoRender': false
- });
-
- expected = [
- [ 0.10, 0 ],
- [ 0.50, 1 ],
- [ 0.90, 2 ]
- ];
- actual = [];
-
- node.render();
-
- t.deepEqual( actual, expected, 'provides expected arguments' );
- t.end();
-
- function color( d, i ) {
- actual.push( [ d, i ] );
- }
-});
-
-tape( 'setting the `color` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'color': '#aaa'
- });
- node.on( 'change', onChange );
- node.color = '#fff';
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `color` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'color': '#aaa'
- });
- node.on( 'change', onChange );
- node.color = color;
-
- function color() {
- return '#fff';
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `color` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'color': color
- });
- node.on( 'change', onChange );
- node.color = '#aaa';
-
- function color() {
- return '#fff';
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `color` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'color': color1
- });
- node.on( 'change', onChange );
- node.color = color2;
-
- function color1() {
- return '#fff';
- }
-
- function color2() {
- return '#aaa';
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `color` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'color': '#aaa'
- });
- node.on( 'change', onChange );
- node.color = '#aaa';
- t.pass( 'is ok' );
- t.end();
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'setting the `color` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'color': color
- });
- node.on( 'change', onChange );
- node.color = color;
- t.pass( 'is ok' );
- t.end();
-
- function color() {
- return '#fff';
- }
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'the value of the color property determines the tick (tassel) color (string)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.color = '#fff';
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_COLOR_STRING, 'expected virtual tree' );
- t.end();
-});
-
-tape( 'the value of the color property determines the tick (tassel) color (function)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.color = color;
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_COLOR_FCN, 'expected virtual tree' );
- t.end();
-
- function color( d ) {
- if ( d === 0.10 ) {
- return '#ffa';
- }
- if ( d === 0.50 ) {
- return '#ffb';
- }
- return '#ffc';
- }
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.data.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.data.js
deleted file mode 100644
index fb29b52f8cbb..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.data.js
+++ /dev/null
@@ -1,138 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_DATA = require( './fixtures/vtree.data.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `data` value', function test( t ) {
- var values;
- var i;
-
- values = [
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.data = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'data': [ 0.10, 0.50, 0.90 ]
- });
- t.deepEqual( node.data, [ 0.10, 0.50, 0.90 ], 'returns expected value' );
-
- node.data = [ 0.15, 0.55, 0.95 ];
- t.deepEqual( node.data, [ 0.15, 0.55, 0.95 ], 'returns expected value' );
-
- t.end();
-});
-
-tape( 'setting the `data` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': false,
- 'data': [ 0.10, 0.50, 0.90 ]
- });
- node.on( 'change', onChange );
- node.data = [ 0.10, 0.50, 0.90 ]; // new reference
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `data` property to an existing value triggers a `change` event', function test( t ) {
- var node;
- var data;
-
- data = [ 0.10, 0.50, 0.90 ];
- node = ctor({
- 'autoRender': false,
- 'data': data
- });
- node.on( 'change', onChange );
- node.data = data;
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'the value of the `data` property determines the tick (tassel) location', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.data = [ 0.15, 0.55, 0.95 ];
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_DATA, 'expected virtual tree' );
- t.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.is_defined.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.is_defined.js
deleted file mode 100644
index 6475cf0f34c8..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.is_defined.js
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_IS_DEFINED = require( './fixtures/vtree.is_defined.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `isDefined` value', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.isDefined = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'isDefined': isDefined1
- });
- t.deepEqual( node.isDefined, isDefined1, 'returns expected value' );
-
- node.isDefined = isDefined2;
- t.deepEqual( node.isDefined, isDefined2, 'returns expected value' );
-
- t.end();
-
- function isDefined1() {
- // no-op...
- }
-
- function isDefined2() {
- // no-op...
- }
-});
-
-tape( 'an accessor function is provided two arguments: datum and index', function test( t ) {
- var expected;
- var actual;
- var node;
-
- node = ctor({
- 'data': [ 0.10, 0.50, 0.90 ],
- 'isDefined': isDefined,
- 'autoRender': false
- });
-
- expected = [
- [ 0.10, 0 ],
- [ 0.50, 1 ],
- [ 0.90, 2 ]
- ];
- actual = [];
-
- node.render();
-
- t.deepEqual( actual, expected, 'provides expected arguments' );
- t.end();
-
- function isDefined( d, i ) {
- actual.push( [ d, i ] );
- }
-});
-
-tape( 'setting the `isDefined` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': false,
- 'isDefined': isDefined1
- });
- node.on( 'change', onChange );
- node.isDefined = isDefined2;
-
- function isDefined1() {
- // no-op...
- }
-
- function isDefined2() {
- // no-op...
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `isDefined` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': false,
- 'isDefined': isDefined
- });
- node.on( 'change', onChange );
- node.isDefined = isDefined;
- t.pass( 'is ok' );
- t.end();
-
- function isDefined() {
- // no-op...
- }
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'the value returned by the `isDefined` accessor determines whether a tick is rendered', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'isDefined': isDefined1,
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.isDefined = isDefined2;
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_IS_DEFINED, 'expected virtual tree' );
- t.end();
-
- function isDefined1( d ) {
- return ( d === d );
- }
-
- function isDefined2( d ) {
- return ( d !== 0.50 );
- }
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.js
deleted file mode 100644
index 2e3ace3f5ee9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var tape = require( 'tape' );
-var instanceOf = require( '@stdlib/assert/instance-of' );
-var Rug = require( './../lib' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof Rug, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'the function is a constructor', function test( t ) {
- var node = new Rug();
- t.strictEqual( instanceOf( node, Rug ), true, 'is an instance' );
- t.end();
-});
-
-tape( 'the constructor does not require the `new` operator', function test( t ) {
- var ctor;
- var node;
-
- ctor = Rug;
- node = ctor();
-
- t.strictEqual( instanceOf( node, Rug ), true, 'is an instance' );
- t.end();
-});
-
-tape( 'the returned instance is an event emitter', function test( t ) {
- var node = new Rug();
- t.strictEqual( instanceOf( node, EventEmitter ), true, 'is an event emitter' );
- t.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.label.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.label.js
deleted file mode 100644
index b8e46a17f3fb..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.label.js
+++ /dev/null
@@ -1,294 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_LABEL_STRING = require( './fixtures/vtree.label_string.js' );
-var VTREE_LABEL_FCN = require( './fixtures/vtree.label_function.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `label` value', function test( t ) {
- var values;
- var i;
-
- values = [
- 5,
- NaN,
- -3.14,
- 3.14,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.label = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value (string)', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'label': 'beep'
- });
- t.strictEqual( node.label(), 'beep', 'returns expected value' );
-
- node.label = 'boop';
- t.strictEqual( node.label(), 'boop', 'returns expected value' );
-
- t.end();
-});
-
-tape( 'an instance supports setting and getting the property value (function)', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'label': label1
- });
- t.strictEqual( node.label, label1, 'returns expected value' );
-
- node.label = label2;
- t.strictEqual( node.label, label2, 'returns expected value' );
-
- t.end();
-
- function label1() {
- // no-op...
- }
-
- function label2() {
- // no-op...
- }
-});
-
-tape( 'a label function is provided two arguments: datum and index', function test( t ) {
- var expected;
- var actual;
- var node;
-
- node = ctor({
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': label,
- 'autoRender': false
- });
-
- expected = [
- [ 0.10, 0 ],
- [ 0.50, 1 ],
- [ 0.90, 2 ]
- ];
- actual = [];
-
- node.render();
-
- t.deepEqual( actual, expected, 'provides expected arguments' );
- t.end();
-
- function label( d, i ) {
- actual.push( [ d, i ] );
- }
-});
-
-tape( 'setting the `label` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'label': 'beep'
- });
- node.on( 'change', onChange );
- node.label = 'boop';
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `label` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'label': 'beep'
- });
- node.on( 'change', onChange );
- node.label = label;
-
- function label() {
- return 'boop';
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `label` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'label': label
- });
- node.on( 'change', onChange );
- node.label = 'boop';
-
- function label() {
- return 'beep';
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `label` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'label': label1
- });
- node.on( 'change', onChange );
- node.label = label2;
-
- function label1() {
- return 'beep';
- }
-
- function label2() {
- return 'boop';
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `label` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'label': 'beep'
- });
- node.on( 'change', onChange );
- node.label = 'beep';
- t.pass( 'is ok' );
- t.end();
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'setting the `label` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'label': label
- });
- node.on( 'change', onChange );
- node.label = label;
- t.pass( 'is ok' );
- t.end();
-
- function label() {
- return 'beep';
- }
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'the value of the label property determines the tick data label (string)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.label = 'beep';
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_LABEL_STRING, 'expected virtual tree' );
- t.end();
-});
-
-tape( 'the value of the label property determines the tick data label (function)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.label = label;
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_LABEL_FCN, 'expected virtual tree' );
- t.end();
-
- function label( d ) {
- if ( d === 0.10 ) {
- return 'beep';
- }
- if ( d === 0.50 ) {
- return 'boop';
- }
- return 'bop';
- }
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.opacity.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.opacity.js
deleted file mode 100644
index 4fc5a5569988..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.opacity.js
+++ /dev/null
@@ -1,314 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_OPACITY_NUM = require( './fixtures/vtree.opacity_number.js' );
-var VTREE_OPACITY_FCN = require( './fixtures/vtree.opacity_function.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `opacity` value', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.opacity = value;
- };
- }
-});
-
-tape( 'an instance throws a range error if provided an `opacity` value which is not on the interval `[0,1]`', function test( t ) {
- var values;
- var i;
-
- values = [
- -3.14,
- 3.14,
- NaN
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), RangeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.opacity = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value (number)', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'opacity': 0.9
- });
- t.strictEqual( node.opacity(), 0.9, 'returns expected value' );
-
- node.opacity = 0.5;
- t.strictEqual( node.opacity(), 0.5, 'returns expected value' );
-
- t.end();
-});
-
-tape( 'an instance supports setting and getting the property value (function)', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'opacity': opacity1
- });
- t.strictEqual( node.opacity, opacity1, 'returns expected value' );
-
- node.opacity = opacity2;
- t.strictEqual( node.opacity, opacity2, 'returns expected value' );
-
- t.end();
-
- function opacity1() {
- // no-op...
- }
-
- function opacity2() {
- // no-op...
- }
-});
-
-tape( 'an opacity function is provided two arguments: datum and index', function test( t ) {
- var expected;
- var actual;
- var node;
-
- node = ctor({
- 'data': [ 0.10, 0.50, 0.90 ],
- 'opacity': opacity,
- 'autoRender': false
- });
-
- expected = [
- [ 0.10, 0 ],
- [ 0.50, 1 ],
- [ 0.90, 2 ]
- ];
- actual = [];
-
- node.render();
-
- t.deepEqual( actual, expected, 'provides expected arguments' );
- t.end();
-
- function opacity( d, i ) {
- actual.push( [ d, i ] );
- }
-});
-
-tape( 'setting the `opacity` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'opacity': 0.9
- });
- node.on( 'change', onChange );
- node.opacity = 0.1;
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `opacity` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'opacity': 0.9
- });
- node.on( 'change', onChange );
- node.opacity = opacity;
-
- function opacity() {
- return 0.1;
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `opacity` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'opacity': opacity
- });
- node.on( 'change', onChange );
- node.opacity = 0.9;
-
- function opacity() {
- return 0.1;
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `opacity` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'opacity': opacity1
- });
- node.on( 'change', onChange );
- node.opacity = opacity2;
-
- function opacity1() {
- return 0.9;
- }
-
- function opacity2() {
- return 0.1;
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `opacity` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'opacity': 0.9
- });
- node.on( 'change', onChange );
- node.opacity = 0.9;
- t.pass( 'is ok' );
- t.end();
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'setting the `opacity` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'opacity': opacity
- });
- node.on( 'change', onChange );
- node.opacity = opacity;
- t.pass( 'is ok' );
- t.end();
-
- function opacity() {
- return 0.9;
- }
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'the value of the `opacity` property determines the tick (tassel) opacity (number)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.opacity = 0.1;
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_OPACITY_NUM, 'expected virtual tree' );
- t.end();
-});
-
-tape( 'the value of the `opacity` property determines the tick (tassel) opacity (function)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.opacity = opacity;
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_OPACITY_FCN, 'expected virtual tree' );
- t.end();
-
- function opacity( d ) {
- if ( d === 0.10 ) {
- return 0.25;
- }
- if ( d === 0.50 ) {
- return 0.5;
- }
- return 0.75;
- }
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.orientation.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.orientation.js
deleted file mode 100644
index be1b1e99b50d..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.orientation.js
+++ /dev/null
@@ -1,219 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_ORIENTATION_TOP = require( './fixtures/vtree.orientation_top.js' );
-var VTREE_ORIENTATION_RIGHT = require( './fixtures/vtree.orientation_right.js' );
-var VTREE_ORIENTATION_LEFT = require( './fixtures/vtree.orientation_left.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `orientation` value', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 'beep',
- 'toppy',
- 'lefty',
- 'righty',
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- [],
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), Error, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.orientation = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'orientation': 'bottom'
- });
- t.strictEqual( node.orientation, 'bottom', 'returns expected value' );
-
- node.orientation = 'left';
- t.strictEqual( node.orientation, 'left', 'returns expected value' );
-
- node.orientation = 'right';
- t.strictEqual( node.orientation, 'right', 'returns expected value' );
-
- node.orientation = 'top';
- t.strictEqual( node.orientation, 'top', 'returns expected value' );
-
- t.end();
-});
-
-tape( 'setting the `orientation` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'orientation': 'bottom'
- });
- node.on( 'change', onChange );
- node.orientation = 'right';
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `orientation` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'orientation': 'bottom'
- });
- node.on( 'change', onChange );
- node.orientation = 'bottom';
- t.pass( 'is ok' );
- t.end();
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'the value of the `orientation` property determines the tick (tassel) orientation (top)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.orientation = 'top';
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_ORIENTATION_TOP, 'expected virtual tree' );
- t.end();
-});
-
-tape( 'the value of the `orientation` property determines the tick (tassel) orientation (right)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.orientation = 'right';
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_ORIENTATION_RIGHT, 'expected virtual tree' );
- t.end();
-});
-
-tape( 'the value of the `orientation` property determines the tick (tassel) orientation (left)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.orientation = 'left';
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_ORIENTATION_LEFT, 'expected virtual tree' );
- t.end();
-});
-
-tape( 'the value of the `orientation` property determines the tick (tassel) orientation (bottom)', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'top',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_ORIENTATION_TOP, 'default behavior' );
-
- node.orientation = 'bottom';
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'expected virtual tree' );
- t.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.render.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.render.js
deleted file mode 100644
index 8e490c29a5e0..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.render.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'the `render` method returns a rendered virtual tree', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'returns a virtual tree' );
- t.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.scale.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.scale.js
deleted file mode 100644
index f68345c05a9d..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.scale.js
+++ /dev/null
@@ -1,188 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_SCALE = require( './fixtures/vtree.scale.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `scale` value', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.scale = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'scale': scale1
- });
- t.deepEqual( node.scale, scale1, 'returns expected value' );
-
- node.scale = scale2;
- t.deepEqual( node.scale, scale2, 'returns expected value' );
-
- t.end();
-
- function scale1() {
- // no-op...
- }
-
- function scale2() {
- // no-op...
- }
-});
-
-tape( 'a scale function is provided one argument: datum', function test( t ) {
- var expected;
- var actual;
- var node;
-
- node = ctor({
- 'data': [ 0.10, 0.50, 0.90 ],
- 'scale': scale,
- 'autoRender': false
- });
-
- expected = [
- 0.10,
- 0.50,
- 0.90
- ];
- actual = [];
-
- node.render();
-
- t.deepEqual( actual, expected, 'provides expected arguments' );
- t.end();
-
- function scale( d ) {
- actual.push( d );
- }
-});
-
-tape( 'setting the `scale` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': false,
- 'scale': scale1
- });
- node.on( 'change', onChange );
- node.scale = scale2;
-
- function scale1() {
- // no-op...
- }
-
- function scale2() {
- // no-op...
- }
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `scale` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'autoRender': false,
- 'scale': scale
- });
- node.on( 'change', onChange );
- node.scale = scale;
- t.pass( 'is ok' );
- t.end();
-
- function scale() {
- // no-op...
- }
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'a scale function maps each data value to a corresponding coordinate value', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.scale = scale;
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_SCALE, 'expected virtual tree' );
- t.end();
-
- function scale( d ) {
- return d * 10.0;
- }
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.size.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.size.js
deleted file mode 100644
index 4fe7d91deb27..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.size.js
+++ /dev/null
@@ -1,136 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// FIXTURES //
-
-var VTREE = require( './fixtures/vtree.js' );
-var VTREE_SIZE = require( './fixtures/vtree.size.js' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'an instance throws an error if provided an invalid `size` value', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- NaN,
- -3.14,
- 3.14,
- true,
- false,
- null,
- void 0,
- {},
- [],
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor();
- node.size = value;
- };
- }
-});
-
-tape( 'an instance supports setting and getting the property value', function test( t ) {
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'size': 6
- });
- t.strictEqual( node.size, 6, 'returns expected value' );
-
- node.size = 12;
- t.strictEqual( node.size, 12, 'returns expected value' );
-
- t.end();
-});
-
-tape( 'setting the `size` property triggers a `change` event', function test( t ) {
- var node = ctor({
- 'size': 6
- });
- node.on( 'change', onChange );
- node.size = 12;
-
- function onChange() {
- t.ok( true, 'triggers event' );
- t.end();
- }
-});
-
-tape( 'setting the `size` property to an existing value does not trigger a `change` event', function test( t ) {
- var node = ctor({
- 'size': 6
- });
- node.on( 'change', onChange );
- node.size = 6;
- t.pass( 'is ok' );
- t.end();
-
- function onChange() {
- t.fail( 'should never be called' );
- }
-});
-
-tape( 'the value of the `size` property determines the tick (tassel) size', function test( t ) {
- var vtree;
- var node;
-
- node = ctor({
- 'autoRender': false,
- 'color': '#aaa',
- 'data': [ 0.10, 0.50, 0.90 ],
- 'label': '',
- 'opacity': 0.9,
- 'orientation': 'bottom',
- 'size': 6
- });
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE, 'default behavior' );
-
- node.size = 12;
- vtree = node.render();
-
- t.deepEqual( vtree, VTREE_SIZE, 'expected virtual tree' );
- t.end();
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.validation.js b/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.validation.js
deleted file mode 100644
index 9a05709969e4..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/rug/test/test.validation.js
+++ /dev/null
@@ -1,371 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var tape = require( 'tape' );
-var ctor = require( './../lib' );
-
-
-// TESTS //
-
-tape( 'main export is a function', function test( t ) {
- t.ok( true, __filename );
- t.strictEqual( typeof ctor, 'function', 'main export is a function' );
- t.end();
-});
-
-tape( 'the constructor throws an error if provided an `options` argument which is not an object', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- [],
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor( value );
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `autoRender` option', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 5,
- NaN,
- null,
- void 0,
- {},
- [],
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'autoRender': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `color` option', function test( t ) {
- var values;
- var i;
-
- values = [
- 5,
- NaN,
- -3.14,
- 3.14,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'color': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `data` option', function test( t ) {
- var values;
- var i;
-
- values = [
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'data': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `isDefined` option', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'isDefined': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `label` option', function test( t ) {
- var values;
- var i;
-
- values = [
- 5,
- NaN,
- -3.14,
- 3.14,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'label': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `opacity` option', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'opacity': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws a range error if provided an `opacity` option which is not on the interval `[0,1]`', function test( t ) {
- var values;
- var i;
-
- values = [
- -3.14,
- 3.14,
- NaN
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), RangeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'opacity': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `orientation` option', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 'beep',
- 'toppy',
- 'lefty',
- 'righty',
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- [],
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), Error, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'orientation': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `scale` option', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- 5,
- NaN,
- true,
- false,
- null,
- void 0,
- {},
- []
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'scale': value
- });
- return node;
- };
- }
-});
-
-tape( 'the constructor throws an error if provided an invalid `size` option', function test( t ) {
- var values;
- var i;
-
- values = [
- '5',
- NaN,
- -3.14,
- 3.14,
- true,
- false,
- null,
- void 0,
- {},
- [],
- function noop() {}
- ];
-
- for ( i = 0; i < values.length; i++ ) {
- t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
- }
- t.end();
-
- function badValue( value ) {
- return function badValue() {
- var node = ctor({
- 'size': value
- });
- return node;
- };
- }
-});
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/examples/index.js
deleted file mode 100644
index 0e9b2d96b51c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/examples/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var symbols = require( './../lib' );
-
-// Create a new symbols component:
-var sym = symbols({
- 'x': [0.10, 0.50, 0.90],
- 'y': [0.43, 0.37, 0.53],
- 'symbol': 'open-circle',
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = sym.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-sym.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- sym.y = [0.99, 0.87, 0.92];
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/accessors/is_defined.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/accessors/is_defined.js
deleted file mode 100644
index 347f00b40d6b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/accessors/is_defined.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isnan = require( '@stdlib/assert/is-nan' ).isPrimitive;
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:accessor:is-defined' );
-
-
-// MAIN //
-
-/**
-* Accessor function which determines whether a datum is defined.
-*
-* @private
-* @param {number} d - datum
-* @returns {boolean} boolean indicating whether a datum is defined
-*/
-function isDefined( d ) {
- var bool = !isnan( d );
- debug( 'Datum: %s. Defined: %s.', JSON.stringify( d ), bool );
- return bool;
-}
-
-
-// EXPORTS //
-
-module.exports = isDefined;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json
deleted file mode 100644
index 76679ca89cac..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/defaults.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "autoRender": false,
- "color": "#000",
- "isDefined": null,
- "label": "",
- "opacity": 0.9,
- "size": 6,
- "symbol": "closed-circle",
- "x": [],
- "xScale": null,
- "y": [],
- "yScale": null
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/index.js
deleted file mode 100644
index c9deaf320c98..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* SVG symbols.
-*
-* @module @stdlib/plot/components/svg/symbols
-*
-* @example
-* var Symbols = require( '@stdlib/plot/components/svg/symbols' );
-*
-* var symbols = new Symbols({
-* 'x': [0.1,0.2,0.3],
-* 'y': [0.4,0.5,0.6]
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/main.js
deleted file mode 100644
index 0aeb8ca62888..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/main.js
+++ /dev/null
@@ -1,521 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// TODO: improve JSDoc examples
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var linear = require( 'd3-scale' ).scaleLinear; // TODO: remove
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var objectKeys = require( '@stdlib/utils/keys' );
-var format = require( '@stdlib/string/format' );
-var copy = require( '@stdlib/utils/copy' );
-var merge = require( '@stdlib/utils/merge' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var isDefined = require( './accessors/is_defined.js' );
-var defaults = require( './defaults.json' );
-var setSymbol = require( './props/symbol/set.js' );
-var getSymbol = require( './props/symbol/get.js' );
-var setX = require( './props/x/set.js' );
-var getX = require( './props/x/get.js' );
-var setY = require( './props/y/set.js' );
-var getY = require( './props/y/get.js' );
-var setXScale = require( './props/x-scale/set.js' );
-var getXScale = require( './props/x-scale/get.js' );
-var setYScale = require( './props/y-scale/set.js' );
-var getYScale = require( './props/y-scale/get.js' );
-var setIsDefined = require( './props/is-defined/set.js' );
-var getIsDefined = require( './props/is-defined/get.js' );
-var setSize = require( './props/size/set.js' );
-var getSize = require( './props/size/get.js' );
-var setOpacity = require( './props/opacity/set.js' );
-var getOpacity = require( './props/opacity/get.js' );
-var setColor = require( './props/color/set.js' );
-var getColor = require( './props/color/get.js' );
-var setLabel = require( './props/label/set.js' );
-var getLabel = require( './props/label/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var getXPos = require( './props/x-pos/get.js' );
-var getYPos = require( './props/y-pos/get.js' );
-var render = require( './render' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:main' );
-var PRIVATE_PROPS = [
- '_autoRender',
- '_color',
- '_isDefined',
- '_label',
- '_opacity',
- '_size',
- '_symbol',
- '_xData',
- '_xScale',
- '_yData',
- '_yScale'
-];
-
-
-// MAIN //
-
-/**
-* Symbols constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {ArrayLike} [options.x=[]] - x-values
-* @param {ArrayLike} [options.y=[]] - y-values
-* @param {Function} [options.xScale] - x scale function
-* @param {Function} [options.yScale] - y scale function
-* @param {Function} [options.isDefined] - accessor indicating whether a datum is defined
-* @param {string} [options.symbol='closed-circle'] - symbol
-* @param {(number|Function)} [options.opacity=0.9] - opacity
-* @param {(string|Function)} [options.color] - color
-* @param {(string|Function)} [options.label] - label
-* @param {(NonNegativeInteger|Function)} [options.size=6] - symbol size
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Symbols} Symbols instance
-*
-* @example
-* var symbols = new Symbols({
-* 'x': [0.1,0.2,0.3],
-* 'y': [0.4,0.5,0.6]
-* });
-*/
-function Symbols( options ) {
- var self;
- var keys;
- var opts;
- var key;
- var i;
- if ( !( this instanceof Symbols ) ) {
- if ( arguments.length ) {
- return new Symbols( options );
- }
- return new Symbols();
- }
- self = this;
-
- opts = copy( defaults );
- opts.isDefined = isDefined;
- opts.xScale = linear();
- opts.yScale = linear();
-
- if ( arguments.length ) {
- if ( !isObject( options ) ) {
- throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- opts = merge( opts, options );
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- for ( i = 0; i < PRIVATE_PROPS.length; i++ ) {
- defineProperty( this, PRIVATE_PROPS[i], {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': null
- });
- }
- // Set options...
- keys = objectKeys( opts );
- for ( i = 0; i < keys.length; i++ ) {
- key = keys[ i ];
- this[ key ] = opts[ key ];
- }
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Symbols.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Symbols.prototype.constructor = Symbols;
-
-/**
-* Symbol.
-*
-* @name symbol
-* @memberof Symbols.prototype
-* @type {string}
-* @throws {TypeError} must be a supported symbol
-* @default 'closed-circle'
-*
-* @example
-* var symbols = new Symbols({
-* 'symbol': 'open-circle'
-* });
-*
-* var symbol = symbols.symbol;
-* // returns 'open-circle'
-*/
-defineProperty( Symbols.prototype, 'symbol', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setSymbol,
- 'get': getSymbol
-});
-
-/**
-* `x` values.
-*
-* @name x
-* @memberof Symbols.prototype
-* @type {ArrayLike}
-* @throws {TypeError} must be array-like
-* @default []
-*
-* @example
-* var symbols = new Symbols({
-* 'x': [0.1,0.2,0.3]
-* });
-*
-* var x = symbols.x;
-* // returns [0.1,0.2,0.3]
-*/
-defineProperty( Symbols.prototype, 'x', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setX,
- 'get': getX
-});
-
-/**
-* `y` values.
-*
-* @name y
-* @memberof Symbols.prototype
-* @type {ArrayLike}
-* @throws {TypeError} must be array-like
-* @default []
-*
-* @example
-* var symbols = new Symbols({
-* 'y': [0.4,0.5,0.6]
-* });
-*
-* var y = symbols.y;
-* // returns [0.4,0.5,0.6]
-*/
-defineProperty( Symbols.prototype, 'y', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setY,
- 'get': getY
-});
-
-/**
-* `x` scale function.
-*
-* @name xScale
-* @memberof Symbols.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var symbols = new Symbols({
-* 'xScale': function scale(){}
-* });
-*
-* var f = symbols.xScale;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'xScale', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setXScale,
- 'get': getXScale
-});
-
-/**
-* `y` scale function.
-*
-* @name yScale
-* @memberof Symbols.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var symbols = new Symbols({
-* 'yScale': function scale(){}
-* });
-*
-* var f = symbols.yScale;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'yScale', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setYScale,
- 'get': getYScale
-});
-
-/**
-* Accessor which defines whether a datum is defined. This accessor is used to define how missing values are encoded. The default behavior is to ignore values which are `NaN`.
-*
-* @name isDefined
-* @memberof Symbols.prototype
-* @type {Function}
-* @throws {TypeError} must be a function
-*
-* @example
-* var symbols = new Symbols();
-* symbols.isDefined = function isDefined( d ) {
-* // Check for `NaN`:
-* return ( d === d );
-* }
-*
-* @example
-* function isDefined( d ) {
-* // Check for `NaN`:
-* return ( d === d );
-* }
-* var symbols = new Symbols({
-* 'isDefined': isDefined
-* });
-* var fcn = symbols.isDefined;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'isDefined', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setIsDefined,
- 'get': getIsDefined
-});
-
-/**
-* Symbol size. When retrieved, the returned value is a size accessor.
-*
-* @name size
-* @memberof Symbols.prototype
-* @type {(NonNegativeInteger|Function)}
-* @throws {TypeError} must be a nonnegative integer or function
-* @default 6
-*
-* @example
-* var symbols = new Symbols({
-* 'size': 5
-* });
-*
-* var size = symbols.size;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'size', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setSize,
- 'get': getSize
-});
-
-/**
-* Symbol opacity. When retrieved, the returned value is an opacity accessor.
-*
-* @name opacity
-* @memberof Symbols.prototype
-* @type {(number|Function)}
-* @throws {TypeError} must be a number or function
-* @throws {RangeError} must be a number on the interval `[0,1]`
-* @default 0.9
-*
-* @example
-* var symbols = new Symbols({
-* 'opacity': 0.5
-* });
-*
-* var opacity = symbols.opacity;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'opacity', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setOpacity,
- 'get': getOpacity
-});
-
-/**
-* Symbols color. When retrieved, the returned value is a color accessor.
-*
-* @name color
-* @memberof Symbols.prototype
-* @type {(string|Function)}
-* @throws {TypeError} must be a string or function
-*
-* @example
-* var symbols = new Symbols({
-* 'color': 'steelblue'
-* });
-*
-* var color = symbols.color;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'color', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setColor,
- 'get': getColor
-});
-
-/**
-* Symbols label. When retrieved, the returned value is a label accessor.
-*
-* @name label
-* @memberof Symbols.prototype
-* @type {(string|Function)}
-* @throws {TypeError} must be a string or function
-*
-* @example
-* var symbols = new Symbols({
-* 'label': 'group-1'
-* });
-*
-* var label = symbols.label;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'label', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setLabel,
- 'get': getLabel
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Symbols.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var symbols = new Symbols({
-* 'autoRender': true
-* });
-*
-* var mode = symbols.autoRender;
-* // returns true
-*/
-defineProperty( Symbols.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Function to map values to x coordinate values.
-*
-* @name xPos
-* @memberof Symbols.prototype
-* @type {Function}
-*
-* @example
-* var symbols = new Symbols();
-* var xPos = symbols.xPos;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'xPos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getXPos
-});
-
-/**
-* Function to map values to y coordinate values.
-*
-* @name yPos
-* @memberof Symbols.prototype
-* @type {Function}
-*
-* @example
-* var symbols = new Symbols();
-* var yPos = symbols.yPos;
-* // returns
-*/
-defineProperty( Symbols.prototype, 'yPos', {
- 'configurable': false,
- 'enumerable': true,
- 'get': getYPos
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Symbols.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var symbols = new Symbols();
-*
-* var out = symbols.render();
-*/
-setReadOnly( Symbols.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Symbols;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/auto-render/set.js
deleted file mode 100644
index 8509b85a2102..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:auto-render' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a boolean
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- if ( !isBoolean( bool ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', bool ) );
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/color/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/color/get.js
deleted file mode 100644
index e087bef3f9b2..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/color/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get a symbol's color.
-*
-* @private
-* @returns {Function} color accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isString( this._color ) ) {
- return color;
- }
- return this._color;
-
- /**
- * Returns the color.
- *
- * @private
- * @returns {string} color
- */
- function color() {
- return self._color; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/color/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/color/set.js
deleted file mode 100644
index e72fcb11e708..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/color/set.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:color' );
-
-
-// MAIN //
-
-/**
-* Sets the color.
-*
-* @private
-* @param {(string|Function)} color - color
-* @throws {TypeError} must be a string or function
-*/
-function set( color ) {
- /* eslint-disable no-invalid-this */
- if (
- !isString( color ) &&
- !isFunction( color )
- ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or a function. Value: `%s`.', 'color', color ) );
- }
- debug( 'Current value: %d.', this._color );
-
- this._color = color;
- debug( 'New Value: %d.', this._color );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/is-defined/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/is-defined/get.js
deleted file mode 100644
index fd05f22602d6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/is-defined/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the accessor for defined values.
-*
-* @private
-* @returns {Function} accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._isDefined;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/is-defined/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/is-defined/set.js
deleted file mode 100644
index 8c449377a333..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/is-defined/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:is-defined' );
-
-
-// MAIN //
-
-/**
-* Sets the accessor for defined values.
-*
-* @private
-* @param {Function} fcn - accessor
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'isDefined', fcn ) );
- }
- debug( 'Current value: %s.', this._isDefined );
-
- this._isDefined = fcn;
- debug( 'New Value: %s.', this._isDefined );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/label/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/label/get.js
deleted file mode 100644
index 8aa635d23880..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/label/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get a symbol's label.
-*
-* @private
-* @returns {Function} label accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isString( this._label ) ) {
- return label;
- }
- return this._label;
-
- /**
- * Returns the label.
- *
- * @private
- * @returns {string} label
- */
- function label() {
- return self._label; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/label/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/label/set.js
deleted file mode 100644
index 698c3f28491a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/label/set.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:label' );
-
-
-// MAIN //
-
-/**
-* Sets the label.
-*
-* @private
-* @param {(string|Function)} label - label
-* @throws {TypeError} must be a string or a function
-*/
-function set( label ) {
- /* eslint-disable no-invalid-this */
- if (
- !isString( label ) &&
- !isFunction( label )
- ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a string or a function. Value: `%s`.', 'label', label ) );
- }
- debug( 'Current value: %d.', this._label );
-
- this._label = label;
- debug( 'New Value: %d.', this._label );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/opacity/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/opacity/get.js
deleted file mode 100644
index bc8833f554b9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/opacity/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get a symbol's opacity.
-*
-* @private
-* @returns {Function} opacity accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isNumber( this._opacity ) ) {
- return opacity;
- }
- return this._opacity;
-
- /**
- * Returns the opacity.
- *
- * @private
- * @returns {number} opacity
- */
- function opacity() {
- return self._opacity; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/opacity/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/opacity/set.js
deleted file mode 100644
index e718d2200764..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/opacity/set.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:opacity' );
-
-
-// MAIN //
-
-/**
-* Sets the symbol opacity.
-*
-* @private
-* @param {(number|Function)} opacity - opacity
-* @throws {TypeError} must be a number or a function
-* @throws {RangeError} must be a number on the interval `[0,1]`
-*/
-function set( opacity ) {
- /* eslint-disable no-invalid-this */
- var isNum = isNumber( opacity );
- if (
- !isNum &&
- !isFunction( opacity )
- ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a number or a function. Value: `%s`.', 'opacity', opacity ) );
- }
- if (
- isNum &&
- (opacity < 0.0 || opacity > 1.0)
- ) {
- throw new RangeError( format( 'invalid assignment. `%s` must be a number on the interval: [0, 1]. Value: `%f`.', 'opacity', opacity ) );
- }
- debug( 'Current value: %d.', this._opacity );
-
- this._opacity = opacity;
- debug( 'New Value: %d.', this._opacity );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/size/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/size/get.js
deleted file mode 100644
index 2958a6befa4e..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/size/get.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
-
-
-// MAIN //
-
-/**
-* Returns a function to get a symbol's size.
-*
-* @private
-* @returns {Function} size accessor
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var self = this;
- if ( isNumber( this._size ) ) {
- return size;
- }
- return this._size;
-
- /**
- * Returns the size.
- *
- * @private
- * @returns {number} size
- */
- function size() {
- return self._size; // eslint-disable-line no-underscore-dangle
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/size/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/size/set.js
deleted file mode 100644
index 1c4eef94478f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/size/set.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:size' );
-
-
-// MAIN //
-
-/**
-* Sets the symbol size.
-*
-* @private
-* @param {(NonNegativeInteger|Function)} size - size
-* @throws {TypeError} must be a nonnegative integer or a function
-*/
-function set( size ) {
- /* eslint-disable no-invalid-this */
- if (
- !isNonNegativeInteger( size ) &&
- !isFunction( size )
- ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative integer or a function. Value: `%s`.', 'size', size ) );
- }
- debug( 'Current value: %d.', this._size );
-
- this._size = size;
- debug( 'New Value: %d.', this._size );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/get.js
deleted file mode 100644
index 54e93654d075..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the symbol.
-*
-* @private
-* @returns {string} symbol
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._symbol;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/set.js
deleted file mode 100644
index 6fd10f88ad17..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/set.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var indexOf = require( '@stdlib/utils/index-of' );
-var format = require( '@stdlib/string/format' );
-var SYMBOLS = require( './symbols.json' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:symbol' );
-
-
-// MAIN //
-
-/**
-* Sets the symbol.
-*
-* @private
-* @param {string} symbol - symbol
-* @throws {TypeError} must be a supported symbol
-*/
-function set( symbol ) {
- /* eslint-disable no-invalid-this */
- if ( indexOf( SYMBOLS, symbol ) === -1 ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a supported symbol. Symbols: "%s". Value: `%s`.', 'symbol', SYMBOLS.join( '", "' ), symbol ) );
- }
- debug( 'Current value: %d.', this._symbol );
-
- this._symbol = symbol;
- debug( 'New Value: %d.', this._symbol );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/symbols.json b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/symbols.json
deleted file mode 100644
index 0f0345a38e1c..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/symbol/symbols.json
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- "closed-circle",
- "open-circle"
-]
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-pos/get.js
deleted file mode 100644
index 75c92dcd3e8f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:xpos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to x coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.xScale;
-
- return xPos;
- /**
- * Maps a value to a x coordinate value.
- *
- * @private
- * @param {*} d - datum
- * @returns {number} pixel value
- */
- function xPos( d ) {
- var px = scale( d );
- debug( 'Value: %d => Pixel: %d.', d, px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-scale/get.js
deleted file mode 100644
index a3ad33fb3c92..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the x-scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xScale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-scale/set.js
deleted file mode 100644
index bb7d9f4eb07b..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x-scale/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:xscale' );
-
-
-// MAIN //
-
-/**
-* Sets the x-scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'xScale', fcn ) );
- }
- debug( 'Current value: %s.', this._xScale );
-
- this._xScale = fcn;
- debug( 'New Value: %s.', this._xScale );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x/get.js
deleted file mode 100644
index fcddeb2cb0f9..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the `x` values.
-*
-* @private
-* @returns {ArrayLike} x values
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._xData;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x/set.js
deleted file mode 100644
index fc654b83eb96..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/x/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isArrayLike = require( '@stdlib/assert/is-array-like' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:x' );
-
-
-// MAIN //
-
-/**
-* Sets the `x` values.
-*
-* @private
-* @param {ArrayLike} x - x values
-* @throws {TypeError} must be array-like
-*/
-function set( x ) {
- /* eslint-disable no-invalid-this */
- if ( !isArrayLike( x ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be array-like. Value: `%s`.', 'x', x ) );
- }
- debug( 'Current value: %s.', JSON.stringify( this._xData ) );
-
- this._xData = x;
- debug( 'New Value: %s.', JSON.stringify( this._xData ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-pos/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-pos/get.js
deleted file mode 100644
index d8bed7c2b1da..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-pos/get.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:ypos' );
-
-
-// MAIN //
-
-/**
-* Returns a function to map values to y coordinate values.
-*
-* @private
-* @returns {Function} map function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- var scale = this.yScale;
- return yPos;
-
- /**
- * Maps a value to a y coordinate value.
- *
- * @private
- * @param {*} d - datum
- * @returns {number} pixel value
- */
- function yPos( d ) {
- var px = scale( d );
- debug( 'Value: %d => Pixel: %d.', d, px );
- return px;
- }
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-scale/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-scale/get.js
deleted file mode 100644
index 83f782c5faf5..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-scale/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the y-scale function.
-*
-* @private
-* @returns {Function} scale function
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yScale;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-scale/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-scale/set.js
deleted file mode 100644
index 055b20f2712f..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-scale/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isFunction = require( '@stdlib/assert/is-function' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:yscale' );
-
-
-// MAIN //
-
-/**
-* Sets the y-scale function.
-*
-* @private
-* @param {Function} fcn - scale
-* @throws {TypeError} must be a function
-*/
-function set( fcn ) {
- /* eslint-disable no-invalid-this */
- if ( !isFunction( fcn ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be a function. Value: `%s`.', 'yScale', fcn ) );
- }
- debug( 'Current value: %s.', this._yScale );
-
- this._yScale = fcn;
- debug( 'New Value: %s.', this._yScale );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y/get.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y/get.js
deleted file mode 100644
index 459d02249332..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the `y` values.
-*
-* @private
-* @returns {ArrayLike} y values
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._yData;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y/set.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y/set.js
deleted file mode 100644
index 83be3a303db3..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y/set.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var isArrayLike = require( '@stdlib/assert/is-array-like' );
-var format = require( '@stdlib/string/format' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:set:y' );
-
-
-// MAIN //
-
-/**
-* Sets the `y` values.
-*
-* @private
-* @param {ArrayLike} y - y values
-* @throws {TypeError} must be array-like
-*/
-function set( y ) {
- /* eslint-disable no-invalid-this */
- if ( !isArrayLike( y ) ) {
- throw new TypeError( format( 'invalid assignment. `%s` must be array-like. Value: `%s`.', 'y', y ) );
- }
- debug( 'Current value: %s.', JSON.stringify( this._yData ) );
-
- this._yData = y;
- debug( 'New Value: %s.', JSON.stringify( this._yData ) );
-
- this.emit( 'change' );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/closed_circles.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/closed_circles.js
deleted file mode 100644
index fcc6a30ef2cb..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/closed_circles.js
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:render:closed-circles' );
-var ELEMENT = 'circle';
-
-
-// MAIN //
-
-/**
-* Renders data as a closed circles.
-*
-* @private
-* @param {Object} state - state
-* @returns {Array} array of virtual trees
-*/
-function render( state ) {
- var isDefined;
- var opacity;
- var label;
- var color;
- var props;
- var size;
- var xPos;
- var yPos;
- var out;
- var xi;
- var yi;
- var x;
- var y;
- var i;
-
- debug( 'Rendering closed circles...' );
-
- isDefined = state.isDefined;
- opacity = state.opacity;
- label = state.label;
- color = state.color;
- size = state.size;
- xPos = state.xPos;
- yPos = state.yPos;
- x = state.x;
- y = state.y;
-
- out = [];
- for ( i = 0; i < x.length; i++ ) {
- xi = x[ i ];
- yi = y[ i ];
- if ( !isDefined( xi ) || !isDefined( yi ) ) {
- debug( 'Datum %d is undefined. [%s,%s].', i, xi, yi );
- continue;
- }
- debug( 'Rendering datum %d...', i );
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'closed-circle',
- 'className': 'closed-circle',
- 'attributes': {
- 'cx': xPos( xi ),
- 'cy': yPos( yi ),
- 'r': size( xi, yi, i ) / 2,
- 'stroke': 'none',
- 'opacity': opacity( xi, yi, i ),
- 'fill': color( xi, yi, i ),
- 'data-label': label( xi, yi, i )
- }
- };
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- out.push( h( ELEMENT, props, [] ) );
- }
- return out;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/index.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/index.js
deleted file mode 100644
index 63c13dc8980a..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/index.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-var closedCircles = require( './closed_circles.js' );
-var openCircles = require( './open_circles.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:render' );
-var ELEMENT = 'g';
-var RENDER = {
- 'closed-circle': closedCircles,
- 'open-circle': openCircles
-};
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var children;
- var props;
- var vtree;
- var f;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'symbols',
- 'className': 'symbols'
- };
- debug( 'Symbol: %s.', this.symbol );
-
- f = RENDER[ this.symbol ];
- children = f( this );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, children );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/open_circles.js b/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/open_circles.js
deleted file mode 100644
index 57f5d5582567..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/open_circles.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'symbols:render:open-circles' );
-var ELEMENT = 'circle';
-
-
-// MAIN //
-
-/**
-* Renders data as a open circles.
-*
-* @private
-* @param {Object} state - state
-* @returns {Array} array of virtual trees
-*/
-function render( state ) {
- var isDefined;
- var opacity;
- var label;
- var color;
- var props;
- var size;
- var xPos;
- var yPos;
- var out;
- var xi;
- var yi;
- var x;
- var y;
- var i;
-
- debug( 'Rendering open circles...' );
-
- isDefined = state.isDefined;
- opacity = state.opacity;
- label = state.label;
- color = state.color;
- size = state.size;
- xPos = state.xPos;
- yPos = state.yPos;
- x = state.x;
- y = state.y;
-
- out = new Array( x.length );
- for ( i = 0; i < x.length; i++ ) {
- xi = x[ i ];
- yi = y[ i ];
- if ( !isDefined( xi ) || !isDefined( yi ) ) {
- debug( 'Datum %d is undefined. [%s,%s].', i, xi, yi );
- continue;
- }
- debug( 'Rendering datum %d...', i );
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'open-circle',
- 'className': 'open-circle',
- 'attributes': {
- 'cx': xPos( xi ),
- 'cy': yPos( yi ),
- 'r': size( xi, yi, i ) / 2,
- 'fill': 'none',
- 'opacity': opacity( xi, yi, i ),
- 'stroke': color( xi, yi, i ),
- 'stroke-width': 1, // TODO: make property? I certainly don't see a good reason or use case why this should be a function.
- 'data-label': label( xi, yi, i )
- }
- };
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- out[ i ] = h( ELEMENT, props, [] );
- }
- return out;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/symbols/package.json b/lib/node_modules/@stdlib/plot/components/svg/symbols/package.json
deleted file mode 100644
index 587e0554e1da..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/symbols/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/symbols",
- "version": "0.0.0",
- "description": "SVG symbols.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "symbols",
- "circles",
- "scatter",
- "series",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/examples/index.js b/lib/node_modules/@stdlib/plot/components/svg/title/examples/index.js
deleted file mode 100644
index 7f6c4b82d266..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/examples/index.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-var toHTML = require( 'vdom-to-html' );
-var title = require( './../lib' );
-
-// Create a new title:
-var node = title({
- 'text': 'Beep',
- 'autoRender': true
-});
-
-// Render as a virtual DOM tree:
-var vtree = node.render();
-console.log( JSON.stringify( vtree ) );
-
-// Transform the virtual DOM tree to HTML:
-var html = toHTML( vtree );
-console.log( html );
-
-// Listen for 'render' events (e.g., when triggered due to changes in state):
-node.on( 'render', onRender );
-
-setTimeout( update, 1000 );
-
-function update() {
- node.text = 'Boop';
-}
-
-function onRender( vtree ) {
- console.log( toHTML( vtree ) );
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/defaults.json b/lib/node_modules/@stdlib/plot/components/svg/title/lib/defaults.json
deleted file mode 100644
index c835193348ce..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/defaults.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "text": "",
- "autoRender": false
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/events.json b/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/events.json
deleted file mode 100644
index 31e673d21b55..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/events.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "text": "change",
- "autoRender": "change"
-}
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/index.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/index.js
deleted file mode 100644
index ef68b2b8fdb7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/events/index.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EVENTS = require( './events.json' );
-
-
-// MAIN //
-
-/**
-* Provided a property, returns a corresponding event name for when a property value changes.
-*
-* @private
-* @param {string} prop - property
-* @returns {string} event name
-*/
-function get( prop ) {
- return EVENTS[ prop ];
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/index.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/index.js
deleted file mode 100644
index 7c83f0a29c40..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Title.
-*
-* @module @stdlib/plot/components/svg/title
-*
-* @example
-* var Title = require( '@stdlib/plot/components/svg/title' );
-*
-* var title = new Title({
-* 'text': 'Beep'
-* });
-*/
-
-// MODULES //
-
-var main = require( './main.js' );
-
-
-// EXPORTS //
-
-module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/main.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/main.js
deleted file mode 100644
index e45678b01df7..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/main.js
+++ /dev/null
@@ -1,198 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var EventEmitter = require( 'events' ).EventEmitter;
-var logger = require( 'debug' );
-var defineProperty = require( '@stdlib/utils/define-property' );
-var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
-var copy = require( '@stdlib/utils/copy' );
-var defaults = require( './defaults.json' );
-var validate = require( './validate.js' );
-var setText = require( './props/text/set.js' );
-var getText = require( './props/text/get.js' );
-var setAutoRender = require( './props/auto-render/set.js' );
-var getAutoRender = require( './props/auto-render/get.js' );
-var render = require( './methods/render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'title:main' );
-
-
-// MAIN //
-
-/**
-* Title constructor.
-*
-* @constructor
-* @param {Options} options - constructor options
-* @param {string} [options.text] - title text
-* @param {boolean} [options.autoRender=false] - indicates whether to re-render on a change event
-* @throws {TypeError} must provide valid options
-* @returns {Title} title instance
-*
-* @example
-* var title = new Title({
-* 'text':'Beep'
-* });
-*/
-function Title( options ) {
- var self;
- var opts;
- var err;
- if ( !( this instanceof Title ) ) {
- return new Title( options );
- }
- self = this;
- opts = copy( defaults );
- err = validate( opts, options );
- if ( err ) {
- throw err;
- }
- debug( 'Creating an instance with the following configuration: %s.', JSON.stringify( opts ) );
- EventEmitter.call( this );
-
- defineProperty( this, '_text', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.text
- });
- defineProperty( this, '_autoRender', {
- 'configurable': false,
- 'enumerable': false,
- 'writable': true,
- 'value': opts.autoRender
- });
-
- this.on( 'change', onChange );
- this.on( '_render', onRender );
-
- return this;
-
- /**
- * Callback invoked upon receiving a change event.
- *
- * @private
- */
- function onChange() {
- debug( 'Received a change event.' );
- if ( self._autoRender ) { // eslint-disable-line no-underscore-dangle
- self.render();
- }
- }
-
- /**
- * Re-emits a render event.
- *
- * @private
- */
- function onRender() {
- var args;
- var i;
- debug( 'Received a render event. Re-emitting...' );
- args = new Array( arguments.length+1 );
- args[ 0 ] = 'render';
- for ( i = 0; i < arguments.length; i++ ) {
- args[ i+1 ] = arguments[ i ];
- }
- self.emit.apply( self, args );
- }
-}
-
-/*
-* Create a prototype which inherits from the parent prototype.
-*/
-Title.prototype = Object.create( EventEmitter.prototype );
-
-/*
-* Set the constructor.
-*/
-Title.prototype.constructor = Title;
-
-/**
-* Title text.
-*
-* @name text
-* @memberof Title.prototype
-* @type {string}
-* @throws {TypeError} must be a string
-*
-* @example
-* var title = new Title({
-* 'text': 'Beep'
-* });
-*
-* var text = title.text;
-* // returns 'Beep'
-*/
-defineProperty( Title.prototype, 'text', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setText,
- 'get': getText
-});
-
-/**
-* Rendering mode. If `true`, an instance re-renders on each change event.
-*
-* @name autoRender
-* @memberof Title.prototype
-* @type {boolean}
-* @throws {TypeError} must be a boolean
-* @default false
-*
-* @example
-* var title = new Title({
-* 'autoRender': true
-* });
-*
-* var mode = title.autoRender;
-* // returns true
-*/
-defineProperty( Title.prototype, 'autoRender', {
- 'configurable': false,
- 'enumerable': true,
- 'set': setAutoRender,
- 'get': getAutoRender
-});
-
-/**
-* Renders a virtual DOM tree.
-*
-* @name render
-* @memberof Title.prototype
-* @type {Function}
-* @returns {VTree} virtual tree
-*
-* @example
-* var title = new Title();
-*
-* var out = title.render();
-*/
-setReadOnly( Title.prototype, 'render', render );
-
-
-// EXPORTS //
-
-module.exports = Title;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/methods/render.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/methods/render.js
deleted file mode 100644
index bd7418cd7f97..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/methods/render.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var h = require( 'virtual-dom/h.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'title:render' );
-var ELEMENT = 'text';
-
-
-// MAIN //
-
-/**
-* Renders a virtual DOM tree.
-*
-* @private
-* @returns {VTree} virtual DOM tree
-*/
-function render() {
- /* eslint-disable no-invalid-this */
- var props;
- var vtree;
- var text;
-
- debug( 'Rendering...' );
-
- props = {
- 'namespace': 'http://www.w3.org/2000/svg',
- 'property': 'title',
- 'className': 'title noselect',
- 'attributes': {
- 'x': 0,
- 'y': 0,
- 'text-anchor': 'middle'
- }
- };
-
- text = this.text;
- debug( 'Title: %s.', text );
-
- debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
- vtree = h( ELEMENT, props, text );
-
- // Announce that a new tree has been rendered:
- this.emit( '_render', vtree );
-
- return vtree;
-}
-
-
-// EXPORTS //
-
-module.exports = render;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/auto-render/get.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/auto-render/get.js
deleted file mode 100644
index 7df40dec3f47..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/auto-render/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the rendering mode.
-*
-* @private
-* @returns {boolean} rendering mode
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._autoRender;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/auto-render/set.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/auto-render/set.js
deleted file mode 100644
index 13d40d733f36..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/auto-render/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/auto_render.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'title:set:auto-render' );
-var CHANGE_EVENT = events( 'autoRender' );
-
-
-// MAIN //
-
-/**
-* Sets the rendering mode.
-*
-* @private
-* @param {boolean} bool - boolean indicating whether to re-render on a change event
-* @throws {TypeError} must be a positive number
-*/
-function set( bool ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( bool );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._autoRender );
-
- this._autoRender = bool;
- debug( 'New Value: %d.', this._autoRender );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/text/get.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/text/get.js
deleted file mode 100644
index b206c3c53476..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/text/get.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-/**
-* Returns the title text.
-*
-* @private
-* @returns {string} text
-*/
-function get() {
- /* eslint-disable no-invalid-this */
- return this._text;
-}
-
-
-// EXPORTS //
-
-module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/text/set.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/text/set.js
deleted file mode 100644
index cdc1e4015657..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/props/text/set.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var logger = require( 'debug' );
-var events = require( './../../events' );
-var isValid = require( './../../validators/text.js' );
-
-
-// VARIABLES //
-
-var debug = logger( 'title:set:text' );
-var CHANGE_EVENT = events( 'text' );
-
-
-// MAIN //
-
-/**
-* Sets the title text.
-*
-* @private
-* @param {string} text - text
-* @throws {TypeError} must be a string
-*/
-function set( text ) {
- /* eslint-disable no-invalid-this */
- var err = isValid( text );
- if ( err ) {
- throw err;
- }
- debug( 'Current value: %d.', this._text );
-
- this._text = text;
- debug( 'New Value: %d.', this._text );
-
- this.emit( CHANGE_EVENT );
-}
-
-
-// EXPORTS //
-
-module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validate.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/validate.js
deleted file mode 100644
index fbf33ae1ce80..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validate.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var objectKeys = require( '@stdlib/utils/keys' );
-var isObject = require( '@stdlib/assert/is-plain-object' );
-var hasOwnProp = require( '@stdlib/assert/has-own-property' );
-var format = require( '@stdlib/string/format' );
-var validators = require( './validators' );
-
-
-// VARIABLES //
-
-var KEYS = objectKeys( validators );
-
-
-// MAIN //
-
-/**
-* Validates function options.
-*
-* @private
-* @param {Object} opts - destination object
-* @param {Options} options - function options
-* @param {string} [options.text] - title text
-* @param {boolean} [options.autoRender] - indicates whether to re-render on a change event
-* @returns {(Error|null)} error or null
-*
-* @example
-* var opts = {};
-* var options = {
-* 'text': 'Beep'
-* };
-* var err = validate( opts, options );
-* if ( err ) {
-* throw err;
-* }
-*/
-function validate( opts, options ) {
- var err;
- var key;
- var val;
- var i;
- if ( !isObject( options ) ) {
- return new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
- }
- for ( i = 0; i < KEYS.length; i++ ) {
- key = KEYS[ i ];
- if ( hasOwnProp( options, key ) ) {
- val = options[ key ];
- err = validators[ key ]( val );
- if ( err ) {
- return err;
- }
- opts[ key ] = val;
- }
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = validate;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/auto_render.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/auto_render.js
deleted file mode 100644
index 08da79ff51a6..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/auto_render.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `autoRender`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isBoolean( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/index.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/index.js
deleted file mode 100644
index 40a493e740de..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/index.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var text = require( './text.js' );
-var autoRender = require( './auto_render.js' );
-
-
-// MAIN //
-
-var validators = {
- 'text': text,
- 'autoRender': autoRender
-};
-
-
-// EXPORTS //
-
-module.exports = validators;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/text.js b/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/text.js
deleted file mode 100644
index 1a15f410f7cb..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/lib/validators/text.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
-* @license Apache-2.0
-*
-* Copyright (c) 2018 The Stdlib Authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-'use strict';
-
-// MODULES //
-
-var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
-var format = require( '@stdlib/string/format' );
-
-
-// MAIN //
-
-/**
-* Validates `text`.
-*
-* @private
-* @param {*} v - value to test
-* @returns {(Error|null)} error object or null
-*/
-function test( v ) {
- if ( !isString( v ) ) {
- return new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', 'text', v ) );
- }
- return null;
-}
-
-
-// EXPORTS //
-
-module.exports = test;
diff --git a/lib/node_modules/@stdlib/plot/components/svg/title/package.json b/lib/node_modules/@stdlib/plot/components/svg/title/package.json
deleted file mode 100644
index 942b88277665..000000000000
--- a/lib/node_modules/@stdlib/plot/components/svg/title/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "name": "@stdlib/plot/components/svg/title",
- "version": "0.0.0",
- "description": "SVG title.",
- "license": "Apache-2.0",
- "author": {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- },
- "contributors": [
- {
- "name": "The Stdlib Authors",
- "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
- }
- ],
- "main": "./lib",
- "directories": {
- "example": "./examples",
- "lib": "./lib"
- },
- "scripts": {},
- "homepage": "https://github.com/stdlib-js/stdlib",
- "repository": {
- "type": "git",
- "url": "git://github.com/stdlib-js/stdlib.git"
- },
- "bugs": {
- "url": "https://github.com/stdlib-js/stdlib/issues"
- },
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": ">=0.10.0",
- "npm": ">2.7.0"
- },
- "os": [
- "aix",
- "darwin",
- "freebsd",
- "linux",
- "macos",
- "openbsd",
- "sunos",
- "win32",
- "windows"
- ],
- "keywords": [
- "stdlib",
- "plot",
- "graph",
- "chart",
- "engine",
- "svg",
- "scalable",
- "vector",
- "graphics",
- "title",
- "component"
- ]
-}
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/examples/index.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/examples/index.js
new file mode 100644
index 000000000000..3eac54f1d6f8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/examples/index.js
@@ -0,0 +1,24 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Autosize = require( './../lib' );
+
+var autosize = new Autosize();
+console.log( autosize.toJSON() );
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/change_event.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/change_event.js
new file mode 100644
index 000000000000..cec6ecaee47e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/change_event.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a new change event object.
+*
+* @private
+* @param {string} property - property name
+* @returns {Object} event object
+*/
+function event( property ) { // eslint-disable-line stdlib/no-redeclare
+ return {
+ 'type': 'update',
+ 'source': 'autosize',
+ 'property': property
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = event;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/get.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/get.js
new file mode 100644
index 000000000000..cb1d26bf7a90
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the method for determining how a size calculation should be performed.
+*
+* @private
+* @returns {string} method
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/methods.json b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/methods.json
new file mode 100644
index 000000000000..9e48e819015d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/methods.json
@@ -0,0 +1,4 @@
+[
+ "content",
+ "padding"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/properties.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/properties.js
new file mode 100644
index 000000000000..a003bd7f98ce
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'contains' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/set.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/set.js
new file mode 100644
index 000000000000..889e978cba02
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/contains/set.js
@@ -0,0 +1,64 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var join = require( '@stdlib/array/base/join' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var METHODS = require( './methods.json' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:autosize:set:'+prop.name );
+var isMethod = contains( METHODS );
+
+
+// MAIN //
+
+/**
+* Sets the method for determining how a size calculation should be performed.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid method
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isMethod( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', prop.name, join( METHODS, '", "' ), value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/defaults.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/defaults.js
new file mode 100644
index 000000000000..355468a88e80
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/defaults.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns defaults.
+*
+* @private
+* @returns {Object} default options
+*
+* @example
+* var o = defaults();
+* // returns {...}
+*/
+function defaults() {
+ return {
+ // Method for determining how a size calculation should be performed:
+ 'contains': 'content',
+
+ // Boolean indicating whether to re-calculate an autosize layout on every view update:
+ 'resize': false,
+
+ // Autosize type:
+ 'type': 'pad'
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = defaults;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/index.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/index.js
new file mode 100644
index 000000000000..373093a4f2b5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Autosize constructor.
+*
+* @module @stdlib/plot/vega/autosize/ctor
+*
+* @example
+* var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+*
+* var autosize = new Autosize();
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/main.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/main.js
new file mode 100644
index 000000000000..738544244288
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/main.js
@@ -0,0 +1,236 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-restricted-syntax, no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var EventEmitter = require( 'events' ).EventEmitter;
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var setNonEnumerableReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var setNonEnumerableReadOnlyAccessor = require( '@stdlib/utils/define-nonenumerable-read-only-accessor' ); // eslint-disable-line id-length
+var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var inherit = require( '@stdlib/utils/inherit' );
+var objectKeys = require( '@stdlib/utils/keys' );
+var instance2json = require( '@stdlib/plot/vega/base/to-json' );
+var transformErrorMessage = require( '@stdlib/plot/vega/base/transform-validation-message' );
+var format = require( '@stdlib/string/format' );
+var properties = require( './properties.json' );
+var defaults = require( './defaults.js' );
+
+// Note: keep the following in alphabetical order according to the `require` path...
+var getContains = require( './contains/get.js' );
+var setContains = require( './contains/set.js' );
+
+var getProperties = require( './properties/get.js' );
+
+var getResize = require( './resize/get.js' );
+var setResize = require( './resize/set.js' );
+
+var getType = require( './type/get.js' );
+var setType = require( './type/set.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:autosize:main' );
+
+
+// MAIN //
+
+/**
+* Autosize constructor.
+*
+* @constructor
+* @param {Options} [options] - constructor options
+* @param {string} [options.contains='content'] - method for determining how a size calculation should be performed
+* @param {boolean} [options.resize=false] - boolean indicating whether to re-calculate an autosize layout on every view update
+* @param {string} [options.type='pad'] - autosize method
+* @throws {TypeError} options argument must be an object
+* @throws {Error} must provide valid options
+* @returns {Autosize} autosize instance
+*
+* @example
+* var autosize = new Autosize();
+* // returns
+*/
+function Autosize( options ) {
+ var nargs;
+ var opts;
+ var keys;
+ var v;
+ var k;
+ var i;
+
+ nargs = arguments.length;
+ if ( !( this instanceof Autosize ) ) {
+ if ( nargs ) {
+ return new Autosize( options );
+ }
+ return new Autosize();
+ }
+ EventEmitter.call( this );
+
+ // Resolve the default configuration:
+ opts = defaults();
+
+ // Set internal properties according to the default configuration...
+ keys = objectKeys( opts );
+ for ( i = 0; i < keys.length; i++ ) {
+ k = keys[ i ];
+ this[ '_'+k ] = opts[ k ];
+ }
+ if ( nargs ) {
+ if ( !isObject( options ) ) {
+ throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
+ }
+ // Validate provided options by attempting to assign option values to corresponding fields...
+ for ( i = 0; i < properties.length; i++ ) {
+ k = properties[ i ];
+ if ( !hasProp( options, k ) ) {
+ continue;
+ }
+ v = options[ k ];
+ try {
+ this[ k ] = v;
+ } catch ( err ) {
+ debug( 'Encountered an error. Error: %s', err.message );
+
+ // FIXME: retain thrown error type
+ throw new Error( transformErrorMessage( err.message ) );
+ }
+ }
+ }
+ return this;
+}
+
+/*
+* Inherit from the `EventEmitter` prototype.
+*/
+inherit( Autosize, EventEmitter );
+
+/**
+* Constructor name.
+*
+* @private
+* @name name
+* @memberof Autosize
+* @readonly
+* @type {string}
+*/
+setNonEnumerableReadOnly( Autosize, 'name', 'Autosize' );
+
+/**
+* Method for determining how a size calculation should be performed.
+*
+* @name contains
+* @memberof Autosize.prototype
+* @type {string}
+* @default 'content'
+*
+* @example
+* var autosize = new Autosize({
+* 'contains': 'padding'
+* });
+*
+* var v = autosize.contains;
+* // returns 'padding'
+*/
+setReadWriteAccessor( Autosize.prototype, 'contains', getContains, setContains );
+
+/**
+* Autosize properties.
+*
+* @name properties
+* @memberof Autosize.prototype
+* @type {Array}
+*
+* @example
+* var autosize = new Autosize();
+*
+* var v = autosize.properties;
+* // returns [...]
+*/
+setNonEnumerableReadOnlyAccessor( Autosize.prototype, 'properties', getProperties );
+
+/**
+* Boolean indicating whether to re-calculate an autosize layout on every view update.
+*
+* @name resize
+* @memberof Autosize.prototype
+* @type {boolean}
+* @default false
+*
+* @example
+* var autosize = new Autosize({
+* 'resize': true
+* });
+*
+* var v = autosize.resize;
+* // returns true
+*/
+setReadWriteAccessor( Autosize.prototype, 'resize', getResize, setResize );
+
+/**
+* Autosize type.
+*
+* @name type
+* @memberof Autosize.prototype
+* @type {string}
+* @default 'pad'
+*
+* @example
+* var autosize = new Autosize({
+* 'type': 'none'
+* });
+*
+* var v = autosize.type;
+* // returns 'none'
+*/
+setReadWriteAccessor( Autosize.prototype, 'type', getType, setType );
+
+/**
+* Serializes an instance to a JSON object.
+*
+* ## Notes
+*
+* - This method is implicitly invoked by `JSON.stringify`.
+*
+* @name toJSON
+* @memberof Autosize.prototype
+* @type {Function}
+* @returns {Object} JSON object
+*
+* @example
+* var autosize = new Autosize();
+*
+* var v = autosize.toJSON();
+* // returns {...}
+*/
+setNonEnumerableReadOnly( Autosize.prototype, 'toJSON', function toJSON() {
+ return instance2json( this, properties );
+});
+
+
+// EXPORTS //
+
+module.exports = Autosize;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/properties.json b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/properties.json
new file mode 100644
index 000000000000..846cb1dca855
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/properties.json
@@ -0,0 +1,5 @@
+[
+ "contains",
+ "resize",
+ "type"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/properties/get.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/properties/get.js
new file mode 100644
index 000000000000..8fc57de14e90
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/properties/get.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var properties = require( './../properties.json' );
+
+
+// MAIN //
+
+/**
+* Returns the list of enumerable properties.
+*
+* @private
+* @returns {Array} properties
+*/
+function get() {
+ return properties.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/get.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/get.js
new file mode 100644
index 000000000000..93ced0f9c5d2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a boolean indicating whether a layout should be re-calculated on every view update.
+*
+* @private
+* @returns {boolean} boolean flag
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/properties.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/properties.js
new file mode 100644
index 000000000000..7d37293d24ba
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'resize' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/set.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/set.js
new file mode 100644
index 000000000000..609a7a4ef50b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/resize/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:autosize:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a boolean flag indicating whether a layout should be re-calculated on every view update.
+*
+* @private
+* @param {boolean} value - input value
+* @throws {TypeError} must be a boolean
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/get.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/get.js
new file mode 100644
index 000000000000..0dad1909219d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// VARIABLES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the autosize method.
+*
+* @private
+* @returns {string} type
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/properties.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/properties.js
new file mode 100644
index 000000000000..d4cf0dee043b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'type' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/set.js b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/set.js
new file mode 100644
index 000000000000..788cf577cd4b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/lib/type/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isAutosizeMethod = require( '@stdlib/plot/vega/base/assert/is-autosize-method' );
+var join = require( '@stdlib/array/base/join' );
+var autosizeMethods = require( '@stdlib/plot/vega/autosize/methods' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:autosize:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the autosize method.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid type
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isAutosizeMethod( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', prop.name, join( autosizeMethods(), '", "' ), value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/ctor/package.json b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/package.json
new file mode 100644
index 000000000000..a304ff2f9ac2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/ctor/package.json
@@ -0,0 +1,61 @@
+{
+ "name": "@stdlib/plot/vega/autosize/ctor",
+ "version": "0.0.0",
+ "description": "Autosize constructor.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "autosize",
+ "resize",
+ "constructor",
+ "ctor"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/README.md b/lib/node_modules/@stdlib/plot/vega/autosize/methods/README.md
new file mode 100644
index 000000000000..0b1f4bd82ca4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/README.md
@@ -0,0 +1,117 @@
+
+
+# autosizeMethods
+
+> List of supported Vega autosize methods.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var autosizeMethods = require( '@stdlib/plot/vega/autosize/methods' );
+```
+
+#### autosizeMethods()
+
+Returns a list of autosize methods.
+
+```javascript
+var out = autosizeMethods();
+// returns [ 'pad', 'fit', 'fit-x', 'fit-y', 'none' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var autosizeMethods = require( '@stdlib/plot/vega/autosize/methods' );
+
+var isAutosizeMethod = contains( autosizeMethods() );
+
+var bool = isAutosizeMethod( 'pad' );
+// returns true
+
+bool = isAutosizeMethod( 'none' );
+// returns true
+
+bool = isAutosizeMethod( 'beep' );
+// returns false
+
+bool = isAutosizeMethod( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/autosize/methods/benchmark/benchmark.js
new file mode 100644
index 000000000000..1250bd5bfbd8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var autosizeMethods = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = autosizeMethods();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/repl.txt
new file mode 100644
index 000000000000..40d64460aa4c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of autosize methods.
+
+ Returns
+ -------
+ out: Array
+ List of autosize methods.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'pad', 'fit', 'fit-x', 'fit-y', 'none' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/types/index.d.ts
new file mode 100644
index 000000000000..43901c507974
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of autosize methods.
+*
+* @returns list of autosize methods
+*
+* @example
+* var list = autosizeMethods();
+* // returns [ 'pad', 'fit', 'fit-x', 'fit-y', 'none' ]
+*/
+declare function autosizeMethods(): Array;
+
+
+// EXPORTS //
+
+export = autosizeMethods;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/types/test.ts
new file mode 100644
index 000000000000..f4f6cae6bdc3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import autosizeMethods = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ autosizeMethods(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ autosizeMethods( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/examples/index.js b/lib/node_modules/@stdlib/plot/vega/autosize/methods/examples/index.js
new file mode 100644
index 000000000000..3f0aa15bfbed
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var autosizeMethods = require( './../lib' );
+
+var isAutosizeMethod = contains( autosizeMethods() );
+
+var bool = isAutosizeMethod( 'pad' );
+console.log( bool );
+// => true
+
+bool = isAutosizeMethod( 'none' );
+console.log( bool );
+// => true
+
+bool = isAutosizeMethod( 'beep' );
+console.log( bool );
+// => false
+
+bool = isAutosizeMethod( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/data.json b/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/data.json
new file mode 100644
index 000000000000..108aa2535c1d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/data.json
@@ -0,0 +1,7 @@
+[
+ "pad",
+ "fit",
+ "fit-x",
+ "fit-y",
+ "none"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/index.js b/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/index.js
new file mode 100644
index 000000000000..cad24ebbff53
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of autosize methods.
+*
+* @module @stdlib/plot/vega/autosize/methods
+*
+* @example
+* var autosizeMethods = require( '@stdlib/plot/vega/autosize/methods' );
+*
+* var out = autosizeMethods();
+* // returns [ 'pad', 'fit', 'fit-x', 'fit-y', 'none' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/main.js b/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/main.js
new file mode 100644
index 000000000000..3ac33a5209dc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of autosize methods.
+*
+* @returns {StringArray} list of autosize methods
+*
+* @example
+* var out = orientations();
+* // returns [ 'pad', 'fit', 'fit-x', 'fit-y', 'none' ]
+*/
+function orientations() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = orientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/package.json b/lib/node_modules/@stdlib/plot/vega/autosize/methods/package.json
new file mode 100644
index 000000000000..8e246cb96a8a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/autosize/methods",
+ "version": "0.0.0",
+ "description": "List of supported Vega autosize methods.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "autosize",
+ "resize",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/autosize/methods/test/test.js b/lib/node_modules/@stdlib/plot/vega/autosize/methods/test/test.js
new file mode 100644
index 000000000000..5cea1700806d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/autosize/methods/test/test.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var autosizeMethods = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof autosizeMethods, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of autosize methods', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'pad',
+ 'fit',
+ 'fit-x',
+ 'fit-y',
+ 'none'
+ ];
+ actual = autosizeMethods();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/examples/index.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/examples/index.js
new file mode 100644
index 000000000000..5a26d589ddf3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/examples/index.js
@@ -0,0 +1,28 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Axis = require( './../lib' );
+
+var axis = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+});
+
+console.log( axis.toJSON() );
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/get.js
new file mode 100644
index 000000000000..53f67df8b546
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a boolean indicating whether ARIA attributes should be included in SVG output.
+*
+* @private
+* @returns {boolean} boolean flag
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/properties.js
new file mode 100644
index 000000000000..e8ae54164c30
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'aria' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/set.js
new file mode 100644
index 000000000000..f8afc4bfaf35
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/aria/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a boolean flag indicating whether ARIA attributes should be included in SVG output.
+*
+* @private
+* @param {boolean} value - input value
+* @throws {TypeError} must be a boolean
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/get.js
new file mode 100644
index 000000000000..2b490434673b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the interpolation fraction (if set) indicating where axis ticks should be positioned when an axis has a band scale.
+*
+* @private
+* @returns {(number|void)} band position
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/properties.js
new file mode 100644
index 000000000000..d0ce99fc4e5a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'bandPosition' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/set.js
new file mode 100644
index 000000000000..24d09b089505
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/band-position/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var isBetween = require( '@stdlib/assert/is-between' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a band position.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a valid value
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBetween( value, 0.0, 1.0 ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be on the interval: [0, 1]. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/change_event.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/change_event.js
new file mode 100644
index 000000000000..8791df0dd0d2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/change_event.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a new change event object.
+*
+* @private
+* @param {string} property - property name
+* @returns {Object} event object
+*/
+function event( property ) { // eslint-disable-line stdlib/no-redeclare
+ return {
+ 'type': 'update',
+ 'source': 'axis',
+ 'property': property
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = event;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/defaults.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/defaults.js
new file mode 100644
index 000000000000..1198e950738b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/defaults.js
@@ -0,0 +1,124 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns defaults.
+*
+* @private
+* @returns {Object} default options
+*
+* @example
+* var o = defaults();
+* // returns {...}
+*/
+function defaults() {
+ return {
+ // Boolean indicating whether to include ARIA attributes in SVG output:
+ 'aria': true,
+
+ // Axis description:
+ 'description': '',
+
+ // Boolean indicating whether the axis baseline should be included as part of an axis:
+ 'domain': true,
+
+ // Stroke cap for the axis domain line:
+ 'domainCap': 'butt',
+
+ // Stroke dash for the axis domain line:
+ 'domainDash': [],
+
+ // Opacity of the axis domain line:
+ 'domainOpacity': 1,
+
+ // Boolean indicating whether axis grid lines should be included as part of an axis:
+ 'grid': false,
+
+ // Stroke cap for axis grid lines:
+ 'gridCap': 'butt',
+
+ // Stroke dash for axis grid lines:
+ 'gridDash': [],
+
+ // Opacity of axis grid lines:
+ 'gridOpacity': 1,
+
+ // Boolean indicating whether axis tick labels should be included as part of an axis:
+ 'labels': true,
+
+ // Vertical text baseline of axis tick labels:
+ 'labelBaseline': 'alphabetic',
+
+ // Boolean indicating whether to hide axis tick labels which exceed the axis range:
+ 'labelBound': false,
+
+ // Number of pixels by which to offset flush-adjusted labels:
+ 'labelFlushOffset': 0,
+
+ // Opacity of axis tick labels:
+ 'labelOpacity': 1,
+
+ // Strategy to use for resolving overlapping axis tick labels:
+ 'labelOverlap': false,
+
+ // Minimum separation which must be between label bounding boxes for them to be considered non-overlapping:
+ 'labelSeparation': 0,
+
+ // Axis position of an axis in pixels:
+ 'position': 0,
+
+ // Boolean indicating whether axis tick marks should be included as part of an axis:
+ 'ticks': true,
+
+ // Type of tick style to use in conjunction with an axis having a band scale:
+ 'tickBand': 'center',
+
+ // Stroke cap for axis tick marks:
+ 'tickCap': 'butt',
+
+ // Stroke dash for axis tick marks:
+ 'tickDash': [],
+
+ // Opacity of axis tick marks:
+ 'tickOpacity': 1,
+
+ // Axis title:
+ 'title': [ '' ],
+
+ // Anchor position for placing an axis title:
+ 'titleAnchor': null,
+
+ // Opacity of an axis title:
+ 'titleOpacity': 1,
+
+ // Coordinate space translation offset for an axis layout (in pixels):
+ 'translate': 0.5,
+
+ // Integer z-index indicating the layering of an axis group relative to other axis, mark, and legend groups:
+ 'zindex': 0
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = defaults;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/get.js
new file mode 100644
index 000000000000..450002a600f8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the axis description.
+*
+* @private
+* @returns {string} axis description
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/properties.js
new file mode 100644
index 000000000000..4df8dba29cc1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'description' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/set.js
new file mode 100644
index 000000000000..cf03160637aa
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/description/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the axis description.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/get.js
new file mode 100644
index 000000000000..a171f01020a4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the stroke cap for an axis domain line.
+*
+* @private
+* @returns {string} stroke cap
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/properties.js
new file mode 100644
index 000000000000..f64d0f396820
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'domainCap' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/set.js
new file mode 100644
index 000000000000..d11d46c6ec7d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-cap/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isStrokeCap = require( '@stdlib/plot/vega/base/assert/is-stroke-cap' );
+var join = require( '@stdlib/array/base/join' );
+var strokeCaps = require( '@stdlib/plot/vega/base/stroke-caps' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the stroke cap for an axis domain line.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid stroke cap
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isStrokeCap( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', prop.name, join( strokeCaps(), '", "' ), value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/get.js
new file mode 100644
index 000000000000..0d452883e104
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the color of the axis domain line.
+*
+* @private
+* @returns {(string|void)} color string
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/properties.js
new file mode 100644
index 000000000000..4bf7fbde773e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'domainColor' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/set.js
new file mode 100644
index 000000000000..78560d2c6809
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-color/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the color of an axis domain line.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(string|void)} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/get.js
new file mode 100644
index 000000000000..c2cbd1deee70
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the pixel offset at which to start an axis domain dash array.
+*
+* @private
+* @returns {(void|number)} pixel offset
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/properties.js
new file mode 100644
index 000000000000..1bbca12195f9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'domainDashOffset' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/set.js
new file mode 100644
index 000000000000..a85691801cb4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash-offset/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the pixel offset at which to start an axis domain line dash array.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(void|number)} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/get.js
new file mode 100644
index 000000000000..8599a28bb7bd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the stroke dash of the axis domain line.
+*
+* @private
+* @returns {Array} stroke dash
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/properties.js
new file mode 100644
index 000000000000..19c0b631da4f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'domainDash' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/set.js
new file mode 100644
index 000000000000..b3e85d45d0ad
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-dash/set.js
@@ -0,0 +1,65 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumericArray = require( '@stdlib/assert/is-numeric-array' );
+var isEmptyCollection = require( '@stdlib/assert/is-empty-collection' );
+var hasSameValues = require( '@stdlib/array/base/assert/has-same-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var join = require( '@stdlib/array/base/join' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the stroke dash for an axis domain line.
+*
+* @private
+* @param {NumericArray} value - input value
+* @throws {TypeError} must be a numeric array
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumericArray( value ) && !isEmptyCollection( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a numeric array. Value: `%s`.', prop.name, value ) );
+ }
+ if ( !hasSameValues( value, this[ prop.private ] ) ) {
+ debug( 'Current value: [%s]. New value: [%s].', join( this[ prop.private ], ', ' ), join( value, ', ' ) );
+ this[ prop.private ] = copy( value );
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/get.js
new file mode 100644
index 000000000000..c522072b8f0b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the opacity of an axis domain line.
+*
+* @private
+* @returns {number} opacity
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/properties.js
new file mode 100644
index 000000000000..87542531514f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'domainOpacity' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/set.js
new file mode 100644
index 000000000000..b61d3ef921a6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-opacity/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBetween = require( '@stdlib/assert/is-between' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the opacity of an axis domain line.
+*
+* @private
+* @param {number} value - input value
+* @throws {TypeError} must be a number on the interval `[0, 1]`
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBetween( value, 0.0, 1.0 ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be on the interval: [0, 1]. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/get.js
new file mode 100644
index 000000000000..cf10cfa4d606
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the stroke width of an axis domain line.
+*
+* @private
+* @returns {(void|number)} stroke width
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/properties.js
new file mode 100644
index 000000000000..d0ad12135e92
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'domainWidth' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/set.js
new file mode 100644
index 000000000000..0af837383eed
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain-width/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNonNegativeNumber = require( '@stdlib/assert/is-nonnegative-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the width of an axis domain line.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(NonNegativeNumber|void)} value - input value
+* @throws {TypeError} must be a nonnegative number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNonNegativeNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/get.js
new file mode 100644
index 000000000000..5180721d9326
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a boolean indicating whether the axis baseline should be included as part of the axis.
+*
+* @private
+* @returns {boolean} boolean flag
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/properties.js
new file mode 100644
index 000000000000..fe79c7fb79f6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'domain' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/set.js
new file mode 100644
index 000000000000..cb61b95beef6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/domain/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a boolean flag indicating whether the axis baseline should be included as part of the axis.
+*
+* @private
+* @param {boolean} value - input value
+* @throws {TypeError} must be a boolean
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/get.js
new file mode 100644
index 000000000000..626e3bf594e7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the stroke cap for axis grid lines.
+*
+* @private
+* @returns {string} stroke cap
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/properties.js
new file mode 100644
index 000000000000..f0743b30d81b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'gridCap' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/set.js
new file mode 100644
index 000000000000..2d00282944ed
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-cap/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isStrokeCap = require( '@stdlib/plot/vega/base/assert/is-stroke-cap' );
+var join = require( '@stdlib/array/base/join' );
+var strokeCaps = require( '@stdlib/plot/vega/base/stroke-caps' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the stroke cap for axis grid lines.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid stroke cap
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isStrokeCap( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', prop.name, join( strokeCaps(), '", "' ), value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/get.js
new file mode 100644
index 000000000000..af91e8589e85
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the color of axis grid lines as a CSS color string.
+*
+* @private
+* @returns {(string|void)} color
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/properties.js
new file mode 100644
index 000000000000..fac129924922
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'gridColor' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/set.js
new file mode 100644
index 000000000000..fee3d19703c5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-color/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the color of axis grid lines.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(string|void)} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/get.js
new file mode 100644
index 000000000000..6125e3f4c3d9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the pixel offset at which to start an axis grid line stroke dash.
+*
+* @private
+* @returns {(void|number)} pixel offset
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/properties.js
new file mode 100644
index 000000000000..6a0a5652c1b0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'gridDashOffset' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/set.js
new file mode 100644
index 000000000000..273cb5898bfa
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash-offset/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the pixel offset at which to start an axis grid line stroke dash.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/get.js
new file mode 100644
index 000000000000..c7cdc5e820a2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the stroke dash for axis grid lines.
+*
+* @private
+* @returns {Array} stroke dash
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/properties.js
new file mode 100644
index 000000000000..5c1da825d3e6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'gridDash' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/set.js
new file mode 100644
index 000000000000..fefff96ad59b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-dash/set.js
@@ -0,0 +1,65 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumericArray = require( '@stdlib/assert/is-numeric-array' );
+var isEmptyCollection = require( '@stdlib/assert/is-empty-collection' );
+var hasSameValues = require( '@stdlib/array/base/assert/has-same-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var join = require( '@stdlib/array/base/join' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the stroke dash for axis grid lines.
+*
+* @private
+* @param {NumericArray} value - input value
+* @throws {TypeError} must be a numeric array
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumericArray( value ) && !isEmptyCollection( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a numeric array. Value: `%s`.', prop.name, value ) );
+ }
+ if ( !hasSameValues( value, this[ prop.private ] ) ) {
+ debug( 'Current value: [%s]. New value: [%s].', join( this[ prop.private ], ', ' ), join( value, ', ' ) );
+ this[ prop.private ] = copy( value );
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/get.js
new file mode 100644
index 000000000000..f6097197919d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the opacity of axis grid lines.
+*
+* @private
+* @returns {number} opacity
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/properties.js
new file mode 100644
index 000000000000..85cc27109375
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'gridOpacity' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/set.js
new file mode 100644
index 000000000000..d80db2ab3380
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-opacity/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBetween = require( '@stdlib/assert/is-between' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the opacity of axis grid lines.
+*
+* @private
+* @param {number} value - input value
+* @throws {TypeError} must be a number on the interval `[0, 1]`
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBetween( value, 0.0, 1.0 ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be on the interval: [0, 1]. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/get.js
new file mode 100644
index 000000000000..e33873ee61b3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the scale name to use for including axis grid lines.
+*
+* @private
+* @returns {(void|string)} scale name
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/properties.js
new file mode 100644
index 000000000000..97daefd817c8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'gridScale' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/set.js
new file mode 100644
index 000000000000..618e1d5748ac
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-scale/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the scale name to use for including axis grid lines.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(string|void)} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/get.js
new file mode 100644
index 000000000000..807431fc96b9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the stroke width of axis grid lines.
+*
+* @private
+* @returns {(void|NonNegativeNumber)} stroke width
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/properties.js
new file mode 100644
index 000000000000..cd133f3ef5eb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'gridWidth' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/set.js
new file mode 100644
index 000000000000..c473979978e3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid-width/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNonNegativeNumber = require( '@stdlib/assert/is-nonnegative-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the stroke width of axis grid lines.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(NonNegativeNumber|void)} value - input value
+* @throws {TypeError} must be a nonnegative number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNonNegativeNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/get.js
new file mode 100644
index 000000000000..9c22e1b89501
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a boolean indicating whether grid lines should be included as part of an axis.
+*
+* @private
+* @returns {boolean} boolean flag
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/properties.js
new file mode 100644
index 000000000000..35cab12083df
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'grid' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/set.js
new file mode 100644
index 000000000000..48570e13107e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/grid/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a boolean flag indicating whether grid lines should be included as part of an axis.
+*
+* @private
+* @param {boolean} value - input value
+* @throws {TypeError} must be a boolean
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/index.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/index.js
new file mode 100644
index 000000000000..362f7549cfb9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/index.js
@@ -0,0 +1,45 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable stdlib/jsdoc-main-export */
+
+'use strict';
+
+/**
+* Axis constructor.
+*
+* @module @stdlib/plot/vega/axis/ctor
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+*
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/get.js
new file mode 100644
index 000000000000..45c3f82b7c46
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the horizontal text alignment of axis tick labels.
+*
+* @private
+* @returns {(string|void)} alignment
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/properties.js
new file mode 100644
index 000000000000..d0a561e76454
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelAlign' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/set.js
new file mode 100644
index 000000000000..dbae0519995c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-align/set.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the horizontal text alignment of axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+* - Setting the alignment overrides the default setting for the current axis orientation.
+*
+* @private
+* @param {(string|void)} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/get.js
new file mode 100644
index 000000000000..2d9ffffe66c6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the angle (in degrees) of axis tick labels.
+*
+* @private
+* @returns {(void|number)} angle
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/properties.js
new file mode 100644
index 000000000000..2ff7349d3768
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelAngle' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/set.js
new file mode 100644
index 000000000000..10205c10a0cd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-angle/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the angle (in degrees) of axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/get.js
new file mode 100644
index 000000000000..4ee2bb3544a6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the vertical baseline of axis tick labels.
+*
+* @private
+* @returns {string} vertical baseline
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/properties.js
new file mode 100644
index 000000000000..9fddd87722a2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelBaseline' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/set.js
new file mode 100644
index 000000000000..949e6396a1b6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-baseline/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isVerticalBaseline = require( '@stdlib/plot/vega/base/assert/is-vertical-baseline' );
+var join = require( '@stdlib/array/base/join' );
+var verticalBaselines = require( '@stdlib/plot/vega/base/vertical-baselines' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the vertical baseline position of axis tick labels.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid vertical baseline
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isVerticalBaseline( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', prop.name, join( verticalBaselines(), '", "' ), value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/get.js
new file mode 100644
index 000000000000..daa83981016e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a setting indicating whether axis tick labels should be hidden if they exceed the axis range.
+*
+* @private
+* @returns {(boolean|number)} value
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/properties.js
new file mode 100644
index 000000000000..7c8adf15a162
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelBound' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/set.js
new file mode 100644
index 000000000000..ea6368679dd4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-bound/set.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a setting indicating whether axis tick labels should be hidden if they exceed the axis range.
+*
+* @private
+* @param {(boolean|number)} value - input value
+* @throws {TypeError} must be a boolean or number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) && !isNumber( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean or number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/get.js
new file mode 100644
index 000000000000..b4b539ae6d35
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the color of axis tick labels.
+*
+* @private
+* @returns {(void|string)} color string
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/properties.js
new file mode 100644
index 000000000000..2eee47acfac3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelColor' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/set.js
new file mode 100644
index 000000000000..037731ec3d47
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-color/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the color of axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(string|void)} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/get.js
new file mode 100644
index 000000000000..aa3b7e90ecd9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the number of pixels by which to offset flush-adjusted labels.
+*
+* @private
+* @returns {number} pixel offset
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/properties.js
new file mode 100644
index 000000000000..9685d20d30b9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelFlushOffset' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/set.js
new file mode 100644
index 000000000000..88c2261b08f3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush-offset/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the number of pixels by which to offset flush-adjusted labels.
+*
+* @private
+* @param {number} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/get.js
new file mode 100644
index 000000000000..b207ff50ebc6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a setting indicating whether axis tick labels at the beginning or end of the axis should be aligned flush with the scale range.
+*
+* @private
+* @returns {(void|boolean|number)} value
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/properties.js
new file mode 100644
index 000000000000..0e49117cd921
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelFlush' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/set.js
new file mode 100644
index 000000000000..567b68507829
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-flush/set.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a setting indicating whether axis tick labels at the beginning or end of the axis should be aligned flush with the scale range.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(boolean|number|void)} value - input value
+* @throws {TypeError} must be a boolean or number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) && !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean or number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/get.js
new file mode 100644
index 000000000000..3f3547093b37
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the font size (in pixels) of axis tick labels.
+*
+* @private
+* @returns {(number|void)} font size
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/properties.js
new file mode 100644
index 000000000000..35ba1e647eb7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelFontSize' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/set.js
new file mode 100644
index 000000000000..0e1a30daee5e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-size/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the font size (in pixels) of axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/get.js
new file mode 100644
index 000000000000..baded5b9085f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the font style of axis tick labels.
+*
+* @private
+* @returns {(string|void)} font style
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/properties.js
new file mode 100644
index 000000000000..2af0062002e1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelFontStyle' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/set.js
new file mode 100644
index 000000000000..31c67c4a881f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-style/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the font style of axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(string|void)} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/get.js
new file mode 100644
index 000000000000..ee9068d1b8f1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the font weight of axis tick labels.
+*
+* @private
+* @returns {(number|string|void)} font weight
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/properties.js
new file mode 100644
index 000000000000..d77bc78a6fda
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelFontWeight' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/set.js
new file mode 100644
index 000000000000..2363fcea1e5d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font-weight/set.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the font weight of axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|string|void)} value - input value
+* @throws {TypeError} must be a number or string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number or string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/get.js
new file mode 100644
index 000000000000..fc569976f27e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the font name for axis tick labels.
+*
+* @private
+* @returns {(string|void)} font name
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/properties.js
new file mode 100644
index 000000000000..44988050dae6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelFont' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/set.js
new file mode 100644
index 000000000000..786526f61750
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-font/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the font name for axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(string|void)} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/get.js
new file mode 100644
index 000000000000..86850900cb32
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the maximum allowed length (in pixels) of axis tick labels.
+*
+* @private
+* @returns {(void|NonNegativeNumber)} maximum allowed length
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/properties.js
new file mode 100644
index 000000000000..4e92e5c63e8d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelLimit' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/set.js
new file mode 100644
index 000000000000..2fbe9cf4b93f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-limit/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNonNegativeNumber = require( '@stdlib/assert/is-nonnegative-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the maximum allowed length (in pixels) of axis tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(NonNegativeNumber|void)} value - input value
+* @throws {TypeError} must be a nonnegative number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNonNegativeNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/get.js
new file mode 100644
index 000000000000..3493a54a6197
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the line height (in pixels) for multi-line axis tick label text or axis tick label text with "line-top" or "line-bottom" baseline.
+*
+* @private
+* @returns {(number|void)} line height
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/properties.js
new file mode 100644
index 000000000000..4ad67bf6edc0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelLineHeight' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/set.js
new file mode 100644
index 000000000000..44596cb0dcef
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-line-height/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the line height (in pixels) for multi-line axis tick label text or axis tick label text with "line-top" or "line-bottom" baseline.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/get.js
new file mode 100644
index 000000000000..6f8c11ffcb9b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the position offset (in pixels) to apply to labels in addition to `tickOffset`.
+*
+* @private
+* @returns {(void|number)} position offset
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/properties.js
new file mode 100644
index 000000000000..3682089dc723
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelOffset' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/set.js
new file mode 100644
index 000000000000..8d1943337b30
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-offset/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the position offset (in pixels) to apply to labels in addition to `tickOffset`.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/get.js
new file mode 100644
index 000000000000..36e31d879cbb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the opacity of axis tick labels.
+*
+* @private
+* @returns {number} opacity
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/properties.js
new file mode 100644
index 000000000000..dedf2f92d5bb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelOpacity' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/set.js
new file mode 100644
index 000000000000..6bba5d146e68
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-opacity/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBetween = require( '@stdlib/assert/is-between' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the opacity of axis tick labels.
+*
+* @private
+* @param {number} value - input value
+* @throws {TypeError} must be a number on the interval `[0, 1]`
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBetween( value, 0.0, 1.0 ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be on the interval: [0, 1]. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/get.js
new file mode 100644
index 000000000000..b2462b141fa2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the strategy to use for resolving overlapping axis tick labels.
+*
+* @private
+* @returns {(boolean|string)} value
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/properties.js
new file mode 100644
index 000000000000..59dd92c1c564
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelOverlap' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/set.js
new file mode 100644
index 000000000000..d772e74d0527
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-overlap/set.js
@@ -0,0 +1,68 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var join = require( '@stdlib/array/base/join' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+var STRATEGIES = [
+ 'parity',
+ 'greedy'
+];
+var isStrategy = contains( STRATEGIES );
+
+
+// MAIN //
+
+/**
+* Sets the strategy to use for resolving overlapping axis tick labels.
+*
+* @private
+* @param {(boolean|string)} value - input value
+* @throws {TypeError} must be a boolean or supported strategy
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) && !isStrategy( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean or one of the following: "%s". Value: `%s`.', prop.name, join( STRATEGIES, '", "' ), value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/get.js
new file mode 100644
index 000000000000..f3e27e2d4a7c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the padding (in pixels) between axis ticks and tick labels.
+*
+* @private
+* @returns {(number|void)} padding
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/properties.js
new file mode 100644
index 000000000000..9b67110d89e4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelPadding' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/set.js
new file mode 100644
index 000000000000..b35d48f64ea1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-padding/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var isUndefined = require( '@stdlib/assert/is-undefined' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:title:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the padding (in pixels) between axis ticks and tick labels.
+*
+* ## Notes
+*
+* - Providing `undefined` "unsets" the configured value.
+*
+* @private
+* @param {(number|void)} value - input value
+* @throws {TypeError} must be a number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNumber( value ) && !isUndefined( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/get.js
new file mode 100644
index 000000000000..7f2f0041c717
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the minimum separation (in pixels) between axis tick label bounding boxes for them to be considered non-overlapping.
+*
+* @private
+* @returns {NonNegativeNumber} minimum separation
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/properties.js
new file mode 100644
index 000000000000..38db20094353
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labelSeparation' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/set.js
new file mode 100644
index 000000000000..340184ede67d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/label-separation/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNonNegativeNumber = require( '@stdlib/assert/is-nonnegative-number' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the minimum separation (in pixels) between axis tick label bounding boxes for them to be considered non-overlapping.
+*
+* @private
+* @param {(NonNegativeNumber|void)} value - input value
+* @throws {TypeError} must be a nonnegative number
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNonNegativeNumber( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a nonnegative number. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/get.js
new file mode 100644
index 000000000000..5d227d513a4b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a boolean indicating whether axis tick labels should be included as part of the axis.
+*
+* @private
+* @returns {boolean} boolean flag
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/properties.js
new file mode 100644
index 000000000000..9709d425d345
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'labels' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/set.js
new file mode 100644
index 000000000000..0238f95a364e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/labels/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a boolean flag indicating whether axis tick labels should be included as part of the axis.
+*
+* @private
+* @param {boolean} value - input value
+* @throws {TypeError} must be a boolean
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/main.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/main.js
new file mode 100644
index 000000000000..9253d8c5eee9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/main.js
@@ -0,0 +1,1126 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-restricted-syntax, no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var EventEmitter = require( 'events' ).EventEmitter;
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var setNonEnumerableReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var setNonEnumerableReadOnlyAccessor = require( '@stdlib/utils/define-nonenumerable-read-only-accessor' ); // eslint-disable-line id-length
+var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var inherit = require( '@stdlib/utils/inherit' );
+var objectKeys = require( '@stdlib/utils/keys' );
+var instance2json = require( '@stdlib/plot/vega/base/to-json' );
+var transformErrorMessage = require( '@stdlib/plot/vega/base/transform-validation-message' );
+var format = require( '@stdlib/string/format' );
+var properties = require( './properties.json' );
+var defaults = require( './defaults.js' );
+
+// Note: keep the following in alphabetical order according to the `require` path...
+var getARIA = require( './aria/get.js' );
+var setARIA = require( './aria/set.js' );
+
+var getBandPosition = require( './band-position/get.js' );
+var setBandPosition = require( './band-position/set.js' );
+
+var getDescription = require( './description/get.js' );
+var setDescription = require( './description/set.js' );
+
+var getDomain = require( './domain/get.js' );
+var setDomain = require( './domain/set.js' );
+var getDomainCap = require( './domain-cap/get.js' );
+var setDomainCap = require( './domain-cap/set.js' );
+var getDomainColor = require( './domain-color/get.js' );
+var setDomainColor = require( './domain-color/set.js' );
+var getDomainDash = require( './domain-dash/get.js' );
+var setDomainDash = require( './domain-dash/set.js' );
+var getDomainDashOffset = require( './domain-dash-offset/get.js' );
+var setDomainDashOffset = require( './domain-dash-offset/set.js' );
+var getDomainOpacity = require( './domain-opacity/get.js' );
+var setDomainOpacity = require( './domain-opacity/set.js' );
+var getDomainWidth = require( './domain-width/get.js' );
+var setDomainWidth = require( './domain-width/set.js' );
+
+var getGrid = require( './grid/get.js' );
+var setGrid = require( './grid/set.js' );
+var getGridCap = require( './grid-cap/get.js' );
+var setGridCap = require( './grid-cap/set.js' );
+var getGridColor = require( './grid-color/get.js' );
+var setGridColor = require( './grid-color/set.js' );
+var getGridDash = require( './grid-dash/get.js' );
+var setGridDash = require( './grid-dash/set.js' );
+var getGridDashOffset = require( './grid-dash-offset/get.js' );
+var setGridDashOffset = require( './grid-dash-offset/set.js' );
+var getGridOpacity = require( './grid-opacity/get.js' );
+var setGridOpacity = require( './grid-opacity/set.js' );
+var getGridScale = require( './grid-scale/get.js' );
+var setGridScale = require( './grid-scale/set.js' );
+var getGridWidth = require( './grid-width/get.js' );
+var setGridWidth = require( './grid-width/set.js' );
+
+var getLabelAlign = require( './label-align/get.js' );
+var setLabelAlign = require( './label-align/set.js' );
+var getLabelAngle = require( './label-angle/get.js' );
+var setLabelAngle = require( './label-angle/set.js' );
+var getLabelBaseline = require( './label-baseline/get.js' );
+var setLabelBaseline = require( './label-baseline/set.js' );
+var getLabelBound = require( './label-bound/get.js' );
+var setLabelBound = require( './label-bound/set.js' );
+var getLabelColor = require( './label-color/get.js' );
+var setLabelColor = require( './label-color/set.js' );
+var getLabelFlush = require( './label-flush/get.js' );
+var setLabelFlush = require( './label-flush/set.js' );
+var getLabelFlushOffset = require( './label-flush-offset/get.js' );
+var setLabelFlushOffset = require( './label-flush-offset/set.js' );
+var getLabelFont = require( './label-font/get.js' );
+var setLabelFont = require( './label-font/set.js' );
+var getLabelFontSize = require( './label-font-size/get.js' );
+var setLabelFontSize = require( './label-font-size/set.js' );
+var getLabelFontStyle = require( './label-font-style/get.js' );
+var setLabelFontStyle = require( './label-font-style/set.js' );
+var getLabelFontWeight = require( './label-font-weight/get.js' );
+var setLabelFontWeight = require( './label-font-weight/set.js' );
+var getLabelLimit = require( './label-limit/get.js' );
+var setLabelLimit = require( './label-limit/set.js' );
+var getLabelLineHeight = require( './label-line-height/get.js' );
+var setLabelLineHeight = require( './label-line-height/set.js' );
+var getLabelOffset = require( './label-offset/get.js' );
+var setLabelOffset = require( './label-offset/set.js' );
+var getLabelOpacity = require( './label-opacity/get.js' );
+var setLabelOpacity = require( './label-opacity/set.js' );
+var getLabelOverlap = require( './label-overlap/get.js' );
+var setLabelOverlap = require( './label-overlap/set.js' );
+var getLabelPadding = require( './label-padding/get.js' );
+var setLabelPadding = require( './label-padding/set.js' );
+var getLabelSeparation = require( './label-separation/get.js' );
+var setLabelSeparation = require( './label-separation/set.js' );
+var getLabels = require( './labels/get.js' );
+var setLabels = require( './labels/set.js' );
+
+var getOrient = require( './orient/get.js' );
+var setOrient = require( './orient/set.js' );
+
+var getProperties = require( './properties/get.js' );
+
+var getScale = require( './scale/get.js' );
+var setScale = require( './scale/set.js' );
+
+var getTitle = require( './title/get.js' );
+var setTitle = require( './title/set.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:main' );
+
+
+// MAIN //
+
+/**
+* Axis constructor.
+*
+* @constructor
+* @param {Options} options - constructor options
+* @param {string} options.scale - axis scale
+* @param {string} options.orient - axis orientation
+* @param {boolean} [options.aria=true] - boolean indicating whether ARIA attributes should be included in SVG output
+* @param {number} [options.bandPosition] - an interpolation fraction indicating where axis ticks should be positioned when an axis has a band scale
+* @param {string} [options.description=''] - axis description
+* @param {boolean} [options.domain=true] - boolean indicating whether the axis baseline should be included as part of the axis
+* @param {string} [options.domainCap='butt'] - stroke cap for axis domain line
+* @param {string} [options.domainColor] - color of axis domain line as a CSS color string (e.g., `'#f304d3'`, `'#ccc'`, `'rgb(253, 12, 134)'`, `'steelblue'`, etc)
+* @param {NumericArray} [options.domainDash=[]] - stroke dash for axis domain line, where `[]` corresponds to a solid line
+* @param {number} [options.domainDashOffset] - pixel offset at which to start a domain line stroke dash
+* @param {number} [options.domainOpacity=1] - opacity of axis domain line
+* @param {number} [options.domainWidth] - stroke width of axis domain line
+* @param {Object} [options.encode] - optional mark encodings for custom axis styling
+* @param {(string|Object)} [options.format] - format specifier for axis tick labels
+* @param {string} [options.formatType] - type of format to use for scales which do not have a strict domain data type
+* @param {boolean} [options.grid=false] - boolean indicating whether grid lines should be included as part of the axis
+* @param {string} [options.gridCap='butt'] - stroke cap for axis grid lines
+* @param {string} [options.gridColor] - color of axis grid lines as a CSS color string (e.g., `'#f304d3'`, `'#ccc'`, `'rgb(253, 12, 134)'`, `'steelblue'`, etc)
+* @param {NumericArray} [options.gridDash=[]] - stroke dash for axis grid lines, where `[]` corresponds to a solid line
+* @param {number} [options.gridDashOffset] - pixel offset at which to start a grid line stroke dash
+* @param {number} [options.gridOpacity=1] - opacity of an axis grid line
+* @param {string} [options.gridScale] - scale to use for including axis grid lines
+* @param {number} [options.gridWidth] - stroke width of an axis grid line
+* @param {boolean} [options.labels=true] - boolean indicating whether axis tick labels should be included as part of the axis
+* @param {string} [options.labelAlign] - horizontal text alignment of axis tick labels (overrides the default alignment based on the axis orientation)
+* @param {number} [options.labelAngle] - angle (in degrees) of axis tick labels
+* @param {string} [options.labelBaseline='alphabetic'] - vertical text baseline of axis tick labels (overrides the default baseline based on the axis orientation)
+* @param {(boolean|number)} [options.labelBound=false] - specifies how axis tick labels should be hidden when they exceed an axis range
+* @param {string} [options.labelColor] - color of axis tick label as a CSS color string (e.g., `'#f304d3'`, `'#ccc'`, `'rgb(253, 12, 134)'`, `'steelblue'`, etc)
+* @param {(boolean|number)} [options.labelFlush] - specifies flush alignment of axis tick labels at the beginning or ending of an axis scale range
+* @param {number} [options.labelFlushOffset=0] - number of pixels by which to offset flush-adjusted axis tick labels
+* @param {string} [options.labelFont] - font name for axis tick labels
+* @param {number} [options.labelFontSize] - font size of axis tick labels
+* @param {string} [options.labelFontStyle] - font style of axis tick labels (e.g., `'normal'`, `'italic'`, etc)
+* @param {(string|number)} [options.labelFontWeight] - font weight of axis tick labels
+* @param {number} [options.labelLimit] - maximum allowed length in pixels of axis tick labels
+* @param {number} [options.labelLineHeight] - line height (in pixels) for multi-line axis tick label text or axis tick label text with `'line-top'` or `'line-bottom'` baseline
+* @param {number} [options.labelOffset] - position offset (in pixels) to apply to axis tick labels (in addition to `tickOffset`)
+* @param {number} [options.labelOpacity=1] - axis tick label opacity
+* @param {(boolean|string)} [options.labelOverlap=false] - strategy to use for resolving overlapping axis tick labels
+* @param {number} [options.labelPadding] - padding (in pixels) between axis tick labels and tick marks
+* @param {number} [options.labelSeparation=0] - minimum separation between axis tick label bounding boxes for them to be considered non-overlapping
+* @param {(number|Object)} [options.maxExtent] - maximum extent (in pixels) that axis tick marks and tick labels should use
+* @param {(number|Object)} [options.minExtent] - minimum extent (in pixels) that axis tick marks and tick labels should use
+* @param {(number|Object)} [options.offset] - orthogonal offset (in pixels) by which to displace an axis from its position along the edge of a chart
+* @param {(number|Object)} [options.position=0] - anchor position (in pixels) of an axis
+* @param {boolean} [options.ticks=true] - boolean indicating whether axis tick marks should be included as part of an axis
+* @param {string} [options.tickBand='center'] - type of axis tick style to use for an axis having a band scale
+* @param {string} [options.tickCap='butt'] - stroke cap for axis tick marks
+* @param {string} [options.tickColor] - color of axis tick marks as a CSS color string (e.g., `'#f304d3'`, `'#ccc'`, `'rgb(253, 12, 134)'`, `'steelblue'`, etc)
+* @param {(number|string|Object)} [options.tickCount] - configuration for determining the number of axis tick marks
+* @param {NumericArray} [options.tickDash=[]] - stroke dash for axis tick marks, where `[]` corresponds to a solid line
+* @param {number} [options.tickDashOffset] - pixel offset at which to start an axis tick mark stroke dash
+* @param {number} [options.tickMinStep] - minimum desired step between axis tick marks (in terms of scale domain values)
+* @param {boolean} [options.tickExtra] - boolean indicating whether an extra axis tick should be added for the initial position of an axis
+* @param {number} [options.tickOffset] - position offset (in pixels) to apply to axis tick marks, labels, and grid lines
+* @param {number} [options.tickOpacity=1] - opacity of axis tick marks
+* @param {boolean} [options.tickRound] - boolean indicating if pixel position values of axis ticks should be rounded to the nearest integer
+* @param {number} [options.tickSize] - length (in pixels) of axis tick marks
+* @param {number} [options.tickWidth] - width (in pixels) of axis tick marks
+* @param {(string|Array)} [options.title=['']] - axis title
+* @param {(string|null)} [options.titleAnchor=null] - axis title anchor position
+* @param {string} [options.titleAlign] - axis title horizontal text alignment
+* @param {number} [options.titleAngle] - axis title angle (in degrees)
+* @param {string} [options.titleBaseline='alphabetic'] - vertical baseline of axis title (overrides the default baseline based on the axis orientation)
+* @param {string} [options.titleColor] - color of axis title as a CSS color string (e.g., `'#f304d3'`, `'#ccc'`, `'rgb(253, 12, 134)'`, `'steelblue'`, etc)
+* @param {string} [options.titleFont] - axis title font name
+* @param {number} [options.titleFontSize] - axis title font size
+* @param {string} [options.titleFontStyle] - axis title font style (e.g., `'normal'`, `'italic'`, etc)
+* @param {(string|number)} [options.titleFontWeight] - axis title font weight
+* @param {number} [options.titleLimit] - maximum allowed length (in pixels) of axis title
+* @param {number} [options.titleLineHeight] - line height (in pixels) for multi-line title text or for title text with `'line-top'` or `'line-bottom'` baseline
+* @param {number} [options.titleOpacity=1] - axis title opacity
+* @param {(number|Object)} [options.titlePadding] - padding (in pixels) between axis tick labels and the axis title
+* @param {number} [options.titleX] - custom `x` position of the axis title relative to the axis group (overrides the standard layout)
+* @param {number} [options.titleY] - custom `y` position of the axis title relative to the axis group (overrides the standard layout)
+* @param {number} [options.translate=0.5] - axis layout coordinate space translation offset
+* @param {Collection} [options.values] - explicit set of axis tick mark and label values
+* @param {integer} [options.zindex=0] - integer z-index indicating the layering of the axis group relative to other axis, mark, and legend groups
+* @throws {TypeError} options argument must be an object
+* @throws {Error} must provide valid options
+* @returns {Axis} axis instance
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* // returns
+*/
+function Axis( options ) {
+ var opts;
+ var keys;
+ var v;
+ var k;
+ var i;
+ if ( !( this instanceof Axis ) ) {
+ return new Axis( options );
+ }
+ EventEmitter.call( this );
+ if ( !isObject( options ) ) {
+ throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
+ }
+ // Resolve the default configuration:
+ opts = defaults();
+
+ // Set internal properties according to the default configuration...
+ keys = objectKeys( opts );
+ for ( i = 0; i < keys.length; i++ ) {
+ k = keys[ i ];
+ this[ '_'+k ] = opts[ k ];
+ }
+ // Check for required properties...
+ if ( !hasProp( options, 'scale' ) ) {
+ throw new TypeError( 'invalid argument. Options argument must specify an axis scale.' );
+ }
+ if ( !hasProp( options, 'orient' ) ) {
+ throw new TypeError( 'invalid argument. Options argument must specify an axis orientation.' );
+ }
+ // Validate provided options by attempting to assign option values to corresponding fields...
+ for ( i = 0; i < properties.length; i++ ) {
+ k = properties[ i ];
+ if ( !hasProp( options, k ) ) {
+ continue;
+ }
+ v = options[ k ];
+ try {
+ this[ k ] = v;
+ } catch ( err ) {
+ debug( 'Encountered an error. Error: %s', err.message );
+
+ // FIXME: retain thrown error type
+ throw new Error( transformErrorMessage( err.message ) );
+ }
+ }
+ return this;
+}
+
+/*
+* Inherit from the `EventEmitter` prototype.
+*/
+inherit( Axis, EventEmitter );
+
+/**
+* Constructor name.
+*
+* @private
+* @name name
+* @memberof Axis
+* @readonly
+* @type {string}
+*/
+setNonEnumerableReadOnly( Axis, 'name', 'Axis' );
+
+/**
+* Boolean indicating whether ARIA attributes should be included in SVG output.
+*
+* @name aria
+* @memberof Axis.prototype
+* @type {boolean}
+* @default true
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'aria': false
+* });
+*
+* var v = axis.aria;
+* // returns false
+*/
+setReadWriteAccessor( Axis.prototype, 'aria', getARIA, setARIA );
+
+/**
+* Interpolation fraction indicating where axis ticks should be positioned when an axis has a band scale.
+*
+* ## Notes
+*
+* - A value of `0` places ticks at the left edge of their bands.
+* - A value of `0.5` places ticks in the middle of their bands.
+*
+* @name bandPosition
+* @memberof Axis.prototype
+* @type {(void|number)}
+* @default 0.5
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'bandPosition': 0.5
+* });
+*
+* var v = axis.bandPosition;
+* // returns 0.5
+*/
+setReadWriteAccessor( Axis.prototype, 'bandPosition', getBandPosition, setBandPosition );
+
+/**
+* Axis description.
+*
+* @name description
+* @memberof Axis.prototype
+* @type {string}
+* @default ''
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'description': 'Foo Bar'
+* });
+*
+* var v = axis.description;
+* // returns 'Foo Bar'
+*/
+setReadWriteAccessor( Axis.prototype, 'description', getDescription, setDescription );
+
+/**
+* Boolean indicating whether the axis baseline should be included as part of an axis.
+*
+* @name domain
+* @memberof Axis.prototype
+* @type {boolean}
+* @default true
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'domain': false
+* });
+*
+* var v = axis.domain;
+* // returns false
+*/
+setReadWriteAccessor( Axis.prototype, 'domain', getDomain, setDomain );
+
+/**
+* Stroke cap for an axis domain line.
+*
+* @name domainCap
+* @memberof Axis.prototype
+* @type {string}
+* @default 'butt'
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'domainCap': 'square'
+* });
+*
+* var v = axis.domainCap;
+* // returns 'square'
+*/
+setReadWriteAccessor( Axis.prototype, 'domainCap', getDomainCap, setDomainCap );
+
+/**
+* Color of an axis domain line as a CSS color string.
+*
+* @name domainColor
+* @memberof Axis.prototype
+* @type {(void|string)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'domainColor': 'steelblue'
+* });
+*
+* var v = axis.domainColor;
+* // returns 'steelblue'
+*/
+setReadWriteAccessor( Axis.prototype, 'domainColor', getDomainColor, setDomainColor );
+
+/**
+* Stroke dash for an axis domain line.
+*
+* @name domainDash
+* @memberof Axis.prototype
+* @type {Array}
+* @default []
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'domainDash': []
+* });
+*
+* var v = axis.domainDash;
+* // returns []
+*/
+setReadWriteAccessor( Axis.prototype, 'domainDash', getDomainDash, setDomainDash );
+
+/**
+* Pixel offset at which to start an axis domain line dash array.
+*
+* @name domainDashOffset
+* @memberof Axis.prototype
+* @type {(void|number)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'domainDashOffset': 1
+* });
+*
+* var v = axis.domainDashOffset;
+* // returns 1
+*/
+setReadWriteAccessor( Axis.prototype, 'domainDashOffset', getDomainDashOffset, setDomainDashOffset );
+
+/**
+* Opacity of an axis domain line.
+*
+* @name domainOpacity
+* @memberof Axis.prototype
+* @type {number}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'domainOpacity': 0.5
+* });
+*
+* var v = axis.domainOpacity;
+* // returns 0.5
+*/
+setReadWriteAccessor( Axis.prototype, 'domainOpacity', getDomainOpacity, setDomainOpacity );
+
+/**
+* Stroke width of an axis domain line.
+*
+* @name domainWidth
+* @memberof Axis.prototype
+* @type {(void|NonNegativeNumber)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'domainWidth': 1
+* });
+*
+* var v = axis.domainWidth;
+* // returns 1
+*/
+setReadWriteAccessor( Axis.prototype, 'domainWidth', getDomainWidth, setDomainWidth );
+
+/**
+* Boolean indicating whether grid lines should be included as part of an axis.
+*
+* @name grid
+* @memberof Axis.prototype
+* @type {boolean}
+* @default false
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'grid': true
+* });
+*
+* var v = axis.grid;
+* // returns true
+*/
+setReadWriteAccessor( Axis.prototype, 'grid', getGrid, setGrid );
+
+/**
+* Stroke cap for axis grid lines.
+*
+* @name gridCap
+* @memberof Axis.prototype
+* @type {string}
+* @default 'butt'
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'gridCap': 'square'
+* });
+*
+* var v = axis.gridCap;
+* // returns 'square'
+*/
+setReadWriteAccessor( Axis.prototype, 'gridCap', getGridCap, setGridCap );
+
+/**
+* Color of axis grid lines as a CSS color string.
+*
+* @name gridColor
+* @memberof Axis.prototype
+* @type {(void|string)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'gridColor': 'steelblue'
+* });
+*
+* var v = axis.gridColor;
+* // returns 'steelblue'
+*/
+setReadWriteAccessor( Axis.prototype, 'gridColor', getGridColor, setGridColor );
+
+/**
+* Stroke dash for axis grid lines.
+*
+* @name gridDash
+* @memberof Axis.prototype
+* @type {Array}
+* @default []
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'gridDash': []
+* });
+*
+* var v = axis.gridDash;
+* // returns []
+*/
+setReadWriteAccessor( Axis.prototype, 'gridDash', getGridDash, setGridDash );
+
+/**
+* Pixel offset at which to start an axis grid line stroke dash.
+*
+* @name gridDashOffset
+* @memberof Axis.prototype
+* @type {(void|number)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'gridDashOffset': 1
+* });
+*
+* var v = axis.gridDashOffset;
+* // returns 1
+*/
+setReadWriteAccessor( Axis.prototype, 'gridDashOffset', getGridDashOffset, setGridDashOffset );
+
+/**
+* Opacity of axis grid lines.
+*
+* @name gridOpacity
+* @memberof Axis.prototype
+* @type {number}
+* @default 1
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'gridOpacity': 0.5
+* });
+*
+* var v = axis.gridOpacity;
+* // returns 0.5
+*/
+setReadWriteAccessor( Axis.prototype, 'gridOpacity', getGridOpacity, setGridOpacity );
+
+/**
+* Scale name to use for including axis grid lines.
+*
+* @name gridScale
+* @memberof Axis.prototype
+* @type {(void|string)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'gridScale': 'xScale'
+* });
+*
+* var v = axis.gridScale;
+* // returns 'xScale'
+*/
+setReadWriteAccessor( Axis.prototype, 'gridScale', getGridScale, setGridScale );
+
+/**
+* Stroke width of axis grid lines.
+*
+* @name gridWidth
+* @memberof Axis.prototype
+* @type {(void|NonNegativeNumber)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'gridWidth': 1
+* });
+*
+* var v = axis.gridWidth;
+* // returns 1
+*/
+setReadWriteAccessor( Axis.prototype, 'gridWidth', getGridWidth, setGridWidth );
+
+/**
+* Horizontal text alignment of axis tick labels.
+*
+* @name labelAlign
+* @memberof Axis.prototype
+* @type {(void|string)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelAlign': 'left'
+* });
+*
+* var v = axis.labelAlign;
+* // returns 'left'
+*/
+setReadWriteAccessor( Axis.prototype, 'labelAlign', getLabelAlign, setLabelAlign );
+
+/**
+* Angle (in degrees) of axis tick labels.
+*
+* @name labelAngle
+* @memberof Axis.prototype
+* @type {(void|number)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelAngle': 45
+* });
+*
+* var v = axis.labelAngle;
+* // returns 45
+*/
+setReadWriteAccessor( Axis.prototype, 'labelAngle', getLabelAngle, setLabelAngle );
+
+/**
+* Vertical baseline of axis tick labels.
+*
+* @name labelBaseline
+* @memberof Axis.prototype
+* @type {string}
+* @default 'alphabetic'
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelBaseline': 'middle'
+* });
+*
+* var v = axis.labelBaseline;
+* // returns 'middle'
+*/
+setReadWriteAccessor( Axis.prototype, 'labelBaseline', getLabelBaseline, setLabelBaseline );
+
+/**
+* Setting indicating whether axis tick labels should be hidden if they exceed the axis range.
+*
+* @name labelBound
+* @memberof Axis.prototype
+* @type {(boolean|number)}
+* @default false
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelBound': true
+* });
+*
+* var v = axis.labelBound;
+* // returns true
+*/
+setReadWriteAccessor( Axis.prototype, 'labelBound', getLabelBound, setLabelBound );
+
+/**
+* Color of axis tick labels.
+*
+* @name labelColor
+* @memberof Axis.prototype
+* @type {(void|string)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelColor': 'steelblue'
+* });
+*
+* var v = axis.labelColor;
+* // returns 'steelblue'
+*/
+setReadWriteAccessor( Axis.prototype, 'labelColor', getLabelColor, setLabelColor );
+
+/**
+* Setting indicating whether axis tick labels at the beginning or end of the axis should be aligned flush with the scale range.
+*
+* @name labelFlush
+* @memberof Axis.prototype
+* @type {(void|boolean|number)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelFlush': true
+* });
+*
+* var v = axis.labelFlush;
+* // returns true
+*/
+setReadWriteAccessor( Axis.prototype, 'labelFlush', getLabelFlush, setLabelFlush );
+
+/**
+* Number of pixels by which to offset flush-adjusted labels.
+*
+* @name labelFlushOffset
+* @memberof Axis.prototype
+* @type {number}
+* @default 0
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelFlushOffset': 10
+* });
+*
+* var v = axis.labelFlushOffset;
+* // returns 10
+*/
+setReadWriteAccessor( Axis.prototype, 'labelFlushOffset', getLabelFlushOffset, setLabelFlushOffset );
+
+/**
+* Font name for axis tick labels.
+*
+* @name labelFont
+* @memberof Axis.prototype
+* @type {(string|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelFont': 'arial'
+* });
+*
+* var v = axis.labelFont;
+* // returns 'arial'
+*/
+setReadWriteAccessor( Axis.prototype, 'labelFont', getLabelFont, setLabelFont );
+
+/**
+* Font size (in pixels) of axis tick labels.
+*
+* @name labelFontSize
+* @memberof Axis.prototype
+* @type {(number|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelFontSize': 16
+* });
+*
+* var v = axis.labelFontSize;
+* // returns 16
+*/
+setReadWriteAccessor( Axis.prototype, 'labelFontSize', getLabelFontSize, setLabelFontSize );
+
+/**
+* Font style of axis tick labels.
+*
+* @name labelFontStyle
+* @memberof Axis.prototype
+* @type {(string|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelFontStyle': 'italic'
+* });
+*
+* var v = axis.labelFontStyle;
+* // returns 'italic'
+*/
+setReadWriteAccessor( Axis.prototype, 'labelFontStyle', getLabelFontStyle, setLabelFontStyle );
+
+/**
+* Font weight of axis tick labels.
+*
+* @name labelFontWeight
+* @memberof Axis.prototype
+* @type {(string|number|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelFontWeight': 'bold'
+* });
+*
+* var v = axis.labelFontWeight;
+* // returns 'bold'
+*/
+setReadWriteAccessor( Axis.prototype, 'labelFontWeight', getLabelFontWeight, setLabelFontWeight );
+
+/**
+* Maximum allowed length (in pixels) of axis tick labels.
+*
+* @name labelLimit
+* @memberof Axis.prototype
+* @type {(NonNegativeNumber|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelLimit': 120
+* });
+*
+* var v = axis.labelLimit;
+* // returns 120
+*/
+setReadWriteAccessor( Axis.prototype, 'labelLimit', getLabelLimit, setLabelLimit );
+
+/**
+* Line height (in pixels) for multi-line axis tick label text or axis tick label text with "line-top" or "line-bottom" baseline.
+*
+* @name labelLineHeight
+* @memberof Axis.prototype
+* @type {(number|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelLineHeight': 24
+* });
+*
+* var v = axis.labelLineHeight;
+* // returns 24
+*/
+setReadWriteAccessor( Axis.prototype, 'labelLineHeight', getLabelLineHeight, setLabelLineHeight );
+
+/**
+* Position offset (in pixels) to apply to labels in addition to `tickOffset`.
+*
+* @name labelOffset
+* @memberof Axis.prototype
+* @type {(number|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelOffset': 10
+* });
+*
+* var v = axis.labelOffset;
+* // returns 10
+*/
+setReadWriteAccessor( Axis.prototype, 'labelOffset', getLabelOffset, setLabelOffset );
+
+/**
+* Opacity of axis tick labels.
+*
+* @name labelOpacity
+* @memberof Axis.prototype
+* @type {number}
+* @default 1
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelOpacity': 0.5
+* });
+*
+* var v = axis.labelOpacity;
+* // returns 0.5
+*/
+setReadWriteAccessor( Axis.prototype, 'labelOpacity', getLabelOpacity, setLabelOpacity );
+
+/**
+* Strategy to use for resolving overlapping axis tick labels.
+*
+* @name labelOverlap
+* @memberof Axis.prototype
+* @type {(boolean|string)}
+* @default false
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelOverlap': true
+* });
+*
+* var v = axis.labelOverlap;
+* // returns true
+*/
+setReadWriteAccessor( Axis.prototype, 'labelOverlap', getLabelOverlap, setLabelOverlap );
+
+/**
+* Padding (in pixels) between axis ticks and tick labels.
+*
+* @name labelPadding
+* @memberof Axis.prototype
+* @type {(number|void)}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelPadding': 10
+* });
+*
+* var v = axis.labelPadding;
+* // returns 10
+*/
+setReadWriteAccessor( Axis.prototype, 'labelPadding', getLabelPadding, setLabelPadding );
+
+/**
+* Boolean indicating whether axis tick labels should be included as part of the axis.
+*
+* @name labels
+* @memberof Axis.prototype
+* @type {boolean}
+* @default true
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labels': false
+* });
+*
+* var v = axis.labels;
+* // returns false
+*/
+setReadWriteAccessor( Axis.prototype, 'labels', getLabels, setLabels );
+
+/**
+* Minimum separation (in pixels) between axis tick label bounding boxes for them to be considered non-overlapping.
+*
+* @name labelSeparation
+* @memberof Axis.prototype
+* @type {NonNegativeNumber}
+* @default 0
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'labelSeparation': 5
+* });
+*
+* var v = axis.labelSeparation;
+* // returns 5
+*/
+setReadWriteAccessor( Axis.prototype, 'labelSeparation', getLabelSeparation, setLabelSeparation );
+
+/**
+* Axis orientation.
+*
+* @name orient
+* @memberof Axis.prototype
+* @type {string}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+*
+* var v = axis.orient;
+* // returns 'bottom'
+*/
+setReadWriteAccessor( Axis.prototype, 'orient', getOrient, setOrient );
+
+/**
+* Axis properties.
+*
+* @name properties
+* @memberof Axis.prototype
+* @type {Array}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+*
+* var v = axis.properties;
+* // returns [...]
+*/
+setNonEnumerableReadOnlyAccessor( Axis.prototype, 'properties', getProperties );
+
+/**
+* Name of the scale which maps data values to visual values along an axis.
+*
+* @name scale
+* @memberof Axis.prototype
+* @type {string}
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+*
+* var v = axis.scale;
+* // returns 'xScale'
+*/
+setReadWriteAccessor( Axis.prototype, 'scale', getScale, setScale );
+
+/**
+* Axis title.
+*
+* @name title
+* @memberof Axis.prototype
+* @type {Array}
+* @default ''
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom',
+* 'title': 'x'
+* });
+*
+* var v = axis.title;
+* // returns [ 'x' ]
+*/
+setReadWriteAccessor( Axis.prototype, 'title', getTitle, setTitle );
+
+/**
+* Serializes an instance to a JSON object.
+*
+* ## Notes
+*
+* - This method is implicitly invoked by `JSON.stringify`.
+*
+* @name toJSON
+* @memberof Axis.prototype
+* @type {Function}
+* @returns {Object} JSON object
+*
+* @example
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+*
+* var v = axis.toJSON();
+* // returns {...}
+*/
+setNonEnumerableReadOnly( Axis.prototype, 'toJSON', function toJSON() {
+ return instance2json( this, properties );
+});
+
+
+// EXPORTS //
+
+module.exports = Axis;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/get.js
new file mode 100644
index 000000000000..d00a30fb7804
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the axis orientation.
+*
+* @private
+* @returns {string} orientation
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/properties.js
new file mode 100644
index 000000000000..bc16e7d16025
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'orient' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/set.js
new file mode 100644
index 000000000000..9f6b773f05b1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/orient/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-axis-orientation' );
+var join = require( '@stdlib/array/base/join' );
+var axisOrientations = require( '@stdlib/plot/vega/axis/orientations' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets an axis orientation.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a valid orientation
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isAxisOrientation( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be one of the following: "%s". Value: `%s`.', prop.name, join( axisOrientations(), '", "' ), value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/properties.json b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/properties.json
new file mode 100644
index 000000000000..24d83aca6f6d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/properties.json
@@ -0,0 +1,81 @@
+[
+ "aria",
+ "bandPosition",
+ "description",
+ "domain",
+ "domainCap",
+ "domainColor",
+ "domainDash",
+ "domainDashOffset",
+ "domainOpacity",
+ "domainWidth",
+ "encode",
+ "format",
+ "formatType",
+ "grid",
+ "gridCap",
+ "gridColor",
+ "gridDash",
+ "gridDashOffset",
+ "gridOpacity",
+ "gridScale",
+ "gridWidth",
+ "labelAlign",
+ "labelAngle",
+ "labelBaseline",
+ "labelBound",
+ "labelColor",
+ "labelFlush",
+ "labelFlushOffset",
+ "labelFont",
+ "labelFontSize",
+ "labelFontStyle",
+ "labelFontWeight",
+ "labelLimit",
+ "labelLineHeight",
+ "labelOffset",
+ "labelOpacity",
+ "labelOverlap",
+ "labelPadding",
+ "labels",
+ "labelSeparation",
+ "maxExtent",
+ "minExtent",
+ "offset",
+ "orient",
+ "position",
+ "scale",
+ "tickBand",
+ "tickCap",
+ "tickColor",
+ "tickCount",
+ "tickDash",
+ "tickDashOffset",
+ "tickExtra",
+ "tickMinStep",
+ "tickOffset",
+ "tickOpacity",
+ "tickRound",
+ "ticks",
+ "tickSize",
+ "tickWidth",
+ "title",
+ "titleAlign",
+ "titleAnchor",
+ "titleAngle",
+ "titleBaseline",
+ "titleColor",
+ "titleFont",
+ "titleFontSize",
+ "titleFontStyle",
+ "titleFontWeight",
+ "titleLimit",
+ "titleLineHeight",
+ "titleOpacity",
+ "titlePadding",
+ "titleX",
+ "titleY",
+ "translate",
+ "values",
+ "zindex"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/properties/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/properties/get.js
new file mode 100644
index 000000000000..8fc57de14e90
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/properties/get.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var properties = require( './../properties.json' );
+
+
+// MAIN //
+
+/**
+* Returns the list of enumerable properties.
+*
+* @private
+* @returns {Array} properties
+*/
+function get() {
+ return properties.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/get.js
new file mode 100644
index 000000000000..5d3a9552aaf0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the scale name which maps data values to visual values along an axis.
+*
+* @private
+* @returns {string} scale name
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/properties.js
new file mode 100644
index 000000000000..34ff23e53e07
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'scale' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/set.js
new file mode 100644
index 000000000000..eabdc355a38a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/scale/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the name of the scale which maps data values to visual values along an axis.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/get.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/get.js
new file mode 100644
index 000000000000..b9863dda48a5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the axis title.
+*
+* @private
+* @returns {Array} axis title
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/properties.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/properties.js
new file mode 100644
index 000000000000..8b6ce18df555
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'title' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/set.js b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/set.js
new file mode 100644
index 000000000000..c6eb74f45173
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/lib/title/set.js
@@ -0,0 +1,68 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:axis:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the axis title.
+*
+* @private
+* @param {(string|StringArray)} value - input value
+* @throws {TypeError} must be a string or an array of strings
+* @returns {void}
+*/
+function set( value ) {
+ var isStr = isString( value );
+ if ( !isStr && !isStringArray( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string or an array of strings. Value: `%s`.', prop.name, value ) );
+ }
+ if ( isStr ) {
+ value = [ value ];
+ }
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = copy( value );
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/ctor/package.json b/lib/node_modules/@stdlib/plot/vega/axis/ctor/package.json
new file mode 100644
index 000000000000..9b0ad181edf9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/ctor/package.json
@@ -0,0 +1,60 @@
+{
+ "name": "@stdlib/plot/vega/axis/ctor",
+ "version": "0.0.0",
+ "description": "Axis constructor.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "axis",
+ "constructor",
+ "ctor"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/README.md b/lib/node_modules/@stdlib/plot/vega/axis/orientations/README.md
new file mode 100644
index 000000000000..9ff41e01c60d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/README.md
@@ -0,0 +1,117 @@
+
+
+# axisOrientations
+
+> List of supported Vega axis orientations.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var axisOrientations = require( '@stdlib/plot/vega/axis/orientations' );
+```
+
+#### axisOrientations()
+
+Returns a list of axis orientations.
+
+```javascript
+var out = axisOrientations();
+// returns [ 'left', 'right', 'top', 'bottom' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var axisOrientations = require( '@stdlib/plot/vega/axis/orientations' );
+
+var isAxisOrientation = contains( axisOrientations() );
+
+var bool = isAxisOrientation( 'right' );
+// returns true
+
+bool = isAxisOrientation( 'top' );
+// returns true
+
+bool = isAxisOrientation( 'beep' );
+// returns false
+
+bool = isAxisOrientation( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/axis/orientations/benchmark/benchmark.js
new file mode 100644
index 000000000000..45b4194a211a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var axisOrientations = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = axisOrientations();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/repl.txt
new file mode 100644
index 000000000000..8e2b3efc35cd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of axis orientations.
+
+ Returns
+ -------
+ out: Array
+ List of axis orientations.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'left', 'right', 'top', 'bottom' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/types/index.d.ts
new file mode 100644
index 000000000000..1424804d3b2f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of axis orientations.
+*
+* @returns list of axis orientations
+*
+* @example
+* var list = axisOrientations();
+* // returns [ 'left', 'right', 'top', 'bottom' ]
+*/
+declare function axisOrientations(): Array;
+
+
+// EXPORTS //
+
+export = axisOrientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/types/test.ts
new file mode 100644
index 000000000000..00e84247d967
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import axisOrientations = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ axisOrientations(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ axisOrientations( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/examples/index.js b/lib/node_modules/@stdlib/plot/vega/axis/orientations/examples/index.js
new file mode 100644
index 000000000000..bd6b9d3614ed
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var axisOrientations = require( './../lib' );
+
+var isAxisOrientation = contains( axisOrientations() );
+
+var bool = isAxisOrientation( 'right' );
+console.log( bool );
+// => true
+
+bool = isAxisOrientation( 'top' );
+console.log( bool );
+// => true
+
+bool = isAxisOrientation( 'beep' );
+console.log( bool );
+// => false
+
+bool = isAxisOrientation( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/data.json b/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/data.json
new file mode 100644
index 000000000000..d4d3e778b2ba
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/data.json
@@ -0,0 +1,6 @@
+[
+ "left",
+ "right",
+ "top",
+ "bottom"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/index.js b/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/index.js
new file mode 100644
index 000000000000..715bdc6402a6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of axis orientations.
+*
+* @module @stdlib/plot/vega/axis/orientations
+*
+* @example
+* var axisOrientations = require( '@stdlib/plot/vega/axis/orientations' );
+*
+* var out = axisOrientations();
+* // returns [ 'left', 'right', 'top', 'bottom' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/main.js b/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/main.js
new file mode 100644
index 000000000000..61ec64ab3a70
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of axis orientations.
+*
+* @returns {StringArray} list of axis orientations
+*
+* @example
+* var out = orientations();
+* // returns [ 'left', 'right', 'top', 'bottom' ]
+*/
+function orientations() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = orientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/package.json b/lib/node_modules/@stdlib/plot/vega/axis/orientations/package.json
new file mode 100644
index 000000000000..5f357f7b5538
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/vega/axis/orientations",
+ "version": "0.0.0",
+ "description": "List of supported Vega axis orientations.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "axis",
+ "orient",
+ "orientations",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/orientations/test/test.js b/lib/node_modules/@stdlib/plot/vega/axis/orientations/test/test.js
new file mode 100644
index 000000000000..c25e43353d94
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/orientations/test/test.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var axisOrientations = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof axisOrientations, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of axis orientations', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'left',
+ 'right',
+ 'top',
+ 'bottom'
+ ];
+ actual = axisOrientations();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/README.md b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/README.md
new file mode 100644
index 000000000000..70ad70d79251
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/README.md
@@ -0,0 +1,117 @@
+
+
+# xAxisOrientations
+
+> List of supported Vega x-axis orientations.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var xAxisOrientations = require( '@stdlib/plot/vega/axis/x-orientations' );
+```
+
+#### xAxisOrientations()
+
+Returns a list of x-axis orientations.
+
+```javascript
+var out = xAxisOrientations();
+// returns [ 'top', 'bottom' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var xAxisOrientations = require( '@stdlib/plot/vega/axis/x-orientations' );
+
+var isXAxisOrientation = contains( xAxisOrientations() );
+
+var bool = isXAxisOrientation( 'bottom' );
+// returns true
+
+bool = isXAxisOrientation( 'top' );
+// returns true
+
+bool = isXAxisOrientation( 'beep' );
+// returns false
+
+bool = isXAxisOrientation( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/benchmark/benchmark.js
new file mode 100644
index 000000000000..eef319ebcf63
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var xAxisOrientations = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = xAxisOrientations();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/repl.txt
new file mode 100644
index 000000000000..162aa9582f48
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of x-axis orientations.
+
+ Returns
+ -------
+ out: Array
+ List of axis orientations.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'top', 'bottom' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/types/index.d.ts
new file mode 100644
index 000000000000..4bac1e44452b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of x-axis orientations.
+*
+* @returns list of axis orientations
+*
+* @example
+* var list = xAxisOrientations();
+* // returns [ 'top', 'bottom' ]
+*/
+declare function xAxisOrientations(): Array;
+
+
+// EXPORTS //
+
+export = xAxisOrientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/types/test.ts
new file mode 100644
index 000000000000..5119c8729210
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import xAxisOrientations = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ xAxisOrientations(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ xAxisOrientations( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/examples/index.js b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/examples/index.js
new file mode 100644
index 000000000000..7cc0e7409ac4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var xAxisOrientations = require( './../lib' );
+
+var isXAxisOrientation = contains( xAxisOrientations() );
+
+var bool = isXAxisOrientation( 'bottom' );
+console.log( bool );
+// => true
+
+bool = isXAxisOrientation( 'top' );
+console.log( bool );
+// => true
+
+bool = isXAxisOrientation( 'beep' );
+console.log( bool );
+// => false
+
+bool = isXAxisOrientation( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/data.json b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/data.json
new file mode 100644
index 000000000000..7ca0c647337b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/data.json
@@ -0,0 +1,4 @@
+[
+ "top",
+ "bottom"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/index.js b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/index.js
new file mode 100644
index 000000000000..f3e05e55a367
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of x-axis orientations.
+*
+* @module @stdlib/plot/vega/axis/x-orientations
+*
+* @example
+* var xAxisOrientations = require( '@stdlib/plot/vega/axis/x-orientations' );
+*
+* var out = xAxisOrientations();
+* // returns [ 'top', 'bottom' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/main.js b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/main.js
new file mode 100644
index 000000000000..0bee0085b65f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of x-axis orientations.
+*
+* @returns {StringArray} list of axis orientations
+*
+* @example
+* var out = orientations();
+* // returns [ 'top', 'bottom' ]
+*/
+function orientations() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = orientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/package.json b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/package.json
new file mode 100644
index 000000000000..c3ec151e8b37
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/vega/axis/x-orientations",
+ "version": "0.0.0",
+ "description": "List of supported Vega x-axis orientations.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "axis",
+ "orient",
+ "orientations",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/test/test.js b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/test/test.js
new file mode 100644
index 000000000000..a97c91daf4a6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/x-orientations/test/test.js
@@ -0,0 +1,47 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var xAxisOrientations = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof xAxisOrientations, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of axis orientations', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'top',
+ 'bottom'
+ ];
+ actual = xAxisOrientations();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/README.md b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/README.md
new file mode 100644
index 000000000000..efdb09533b70
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/README.md
@@ -0,0 +1,117 @@
+
+
+# yAxisOrientations
+
+> List of supported Vega y-axis orientations.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var yAxisOrientations = require( '@stdlib/plot/vega/axis/y-orientations' );
+```
+
+#### yAxisOrientations()
+
+Returns a list of y-axis orientations.
+
+```javascript
+var out = yAxisOrientations();
+// returns [ 'left', 'right' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var yAxisOrientations = require( '@stdlib/plot/vega/axis/y-orientations' );
+
+var isYAxisOrientation = contains( yAxisOrientations() );
+
+var bool = isYAxisOrientation( 'right' );
+// returns true
+
+bool = isYAxisOrientation( 'left' );
+// returns true
+
+bool = isYAxisOrientation( 'beep' );
+// returns false
+
+bool = isYAxisOrientation( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/benchmark/benchmark.js
new file mode 100644
index 000000000000..1590a1a0c6bf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var yAxisOrientations = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = yAxisOrientations();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/repl.txt
new file mode 100644
index 000000000000..3458dce49f6d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of y-axis orientations.
+
+ Returns
+ -------
+ out: Array
+ List of axis orientations.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'left', 'right' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/types/index.d.ts
new file mode 100644
index 000000000000..7f6048f2cd7c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of y-axis orientations.
+*
+* @returns list of axis orientations
+*
+* @example
+* var list = yAxisOrientations();
+* // returns [ 'left', 'right' ]
+*/
+declare function yAxisOrientations(): Array;
+
+
+// EXPORTS //
+
+export = yAxisOrientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/types/test.ts
new file mode 100644
index 000000000000..b2c6049c85a9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import yAxisOrientations = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ yAxisOrientations(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ yAxisOrientations( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/examples/index.js b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/examples/index.js
new file mode 100644
index 000000000000..cfa58e9791fc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var yAxisOrientations = require( './../lib' );
+
+var isYAxisOrientation = contains( yAxisOrientations() );
+
+var bool = isYAxisOrientation( 'right' );
+console.log( bool );
+// => true
+
+bool = isYAxisOrientation( 'left' );
+console.log( bool );
+// => true
+
+bool = isYAxisOrientation( 'beep' );
+console.log( bool );
+// => false
+
+bool = isYAxisOrientation( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/data.json b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/data.json
new file mode 100644
index 000000000000..c21c56e4bd4d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/data.json
@@ -0,0 +1,4 @@
+[
+ "left",
+ "right"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/index.js b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/index.js
new file mode 100644
index 000000000000..fd093de6720e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of y-axis orientations.
+*
+* @module @stdlib/plot/vega/axis/y-orientations
+*
+* @example
+* var yAxisOrientations = require( '@stdlib/plot/vega/axis/y-orientations' );
+*
+* var out = yAxisOrientations();
+* // returns [ 'left', 'right' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/main.js b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/main.js
new file mode 100644
index 000000000000..4be65b49fb43
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of y-axis orientations.
+*
+* @returns {StringArray} list of axis orientations
+*
+* @example
+* var out = orientations();
+* // returns [ 'left', 'right' ]
+*/
+function orientations() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = orientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/package.json b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/package.json
new file mode 100644
index 000000000000..73a5c975af1e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/vega/axis/y-orientations",
+ "version": "0.0.0",
+ "description": "List of supported Vega y-axis orientations.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "axis",
+ "orient",
+ "orientations",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/test/test.js b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/test/test.js
new file mode 100644
index 000000000000..fac658370492
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/axis/y-orientations/test/test.js
@@ -0,0 +1,47 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var yAxisOrientations = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof yAxisOrientations, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of axis orientations', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'left',
+ 'right'
+ ];
+ actual = yAxisOrientations();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/README.md b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/README.md
new file mode 100644
index 000000000000..031b0f5393a0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/README.md
@@ -0,0 +1,117 @@
+
+
+# anchorPositions
+
+> List of supported Vega anchor positions.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var anchorPositions = require( '@stdlib/plot/vega/base/anchor-positions' );
+```
+
+#### anchorPositions()
+
+Returns a list of anchor positions.
+
+```javascript
+var out = anchorPositions();
+// returns [ 'start', 'middle', 'end' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var anchorPositions = require( '@stdlib/plot/vega/base/anchor-positions' );
+
+var isAnchorPosition = contains( anchorPositions() );
+
+var bool = isAnchorPosition( 'start' );
+// returns true
+
+bool = isAnchorPosition( 'middle' );
+// returns true
+
+bool = isAnchorPosition( 'beep' );
+// returns false
+
+bool = isAnchorPosition( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/benchmark/benchmark.js
new file mode 100644
index 000000000000..205433b4902a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var anchorPositions = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = anchorPositions();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/repl.txt
new file mode 100644
index 000000000000..10552d9337e8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of anchor positions.
+
+ Returns
+ -------
+ out: Array
+ List of anchor positions.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'start', 'middle', 'end' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/types/index.d.ts
new file mode 100644
index 000000000000..f01f7fcadb14
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of anchor positions.
+*
+* @returns list of anchor positions
+*
+* @example
+* var list = anchorPositions();
+* // returns [ 'start', 'middle', 'end' ]
+*/
+declare function anchorPositions(): Array;
+
+
+// EXPORTS //
+
+export = anchorPositions;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/types/test.ts
new file mode 100644
index 000000000000..0f251a5d6ee6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import anchorPositions = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ anchorPositions(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ anchorPositions( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/examples/index.js
new file mode 100644
index 000000000000..a0ca46fd4ba8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var anchorPositions = require( './../lib' );
+
+var isAnchorPosition = contains( anchorPositions() );
+
+var bool = isAnchorPosition( 'start' );
+console.log( bool );
+// => true
+
+bool = isAnchorPosition( 'middle' );
+console.log( bool );
+// => true
+
+bool = isAnchorPosition( 'beep' );
+console.log( bool );
+// => false
+
+bool = isAnchorPosition( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/data.json b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/data.json
new file mode 100644
index 000000000000..15380ad610fd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/data.json
@@ -0,0 +1,5 @@
+[
+ "start",
+ "middle",
+ "end"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/index.js
new file mode 100644
index 000000000000..f1faa634eff8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of anchor positions.
+*
+* @module @stdlib/plot/vega/base/anchor-positions
+*
+* @example
+* var anchorPositions = require( '@stdlib/plot/vega/base/anchor-positions' );
+*
+* var out = anchorPositions();
+* // returns [ 'start', 'middle', 'end' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/main.js
new file mode 100644
index 000000000000..0ff43020dbe4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of anchor positions.
+*
+* @returns {StringArray} list of anchor positions
+*
+* @example
+* var out = orientations();
+* // returns [ 'start', 'middle', 'end' ]
+*/
+function orientations() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = orientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/package.json b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/package.json
new file mode 100644
index 000000000000..a2064b7e9f92
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/base/anchor-positions",
+ "version": "0.0.0",
+ "description": "List of supported Vega anchor positions.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "anchor",
+ "position",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/test/test.js
new file mode 100644
index 000000000000..7f498bf3ada5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-positions/test/test.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var anchorPositions = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof anchorPositions, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of anchor positions', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'start',
+ 'middle',
+ 'end'
+ ];
+ actual = anchorPositions();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/README.md b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/README.md
new file mode 100644
index 000000000000..777707e17578
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/README.md
@@ -0,0 +1,117 @@
+
+
+# anchorReferenceFrames
+
+> List of supported Vega anchor reference frames.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var anchorReferenceFrames = require( '@stdlib/plot/vega/base/anchor-reference-frames' );
+```
+
+#### anchorReferenceFrames()
+
+Returns a list of anchor reference frames.
+
+```javascript
+var out = anchorReferenceFrames();
+// returns [ 'bounds', 'group' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var anchorReferenceFrames = require( '@stdlib/plot/vega/base/anchor-reference-frames' );
+
+var isAnchorReferenceFrame = contains( anchorReferenceFrames() );
+
+var bool = isAnchorReferenceFrame( 'bounds' );
+// returns true
+
+bool = isAnchorReferenceFrame( 'group' );
+// returns true
+
+bool = isAnchorReferenceFrame( 'beep' );
+// returns false
+
+bool = isAnchorReferenceFrame( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/benchmark/benchmark.js
new file mode 100644
index 000000000000..0bc3cb6ed32d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var anchorReferenceFrames = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = anchorReferenceFrames();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/repl.txt
new file mode 100644
index 000000000000..35c97e217c32
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of anchor reference frames.
+
+ Returns
+ -------
+ out: Array
+ List of anchor reference frames.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'bounds', 'group' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/types/index.d.ts
new file mode 100644
index 000000000000..ceac0687cd3d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of anchor reference frames.
+*
+* @returns list of anchor reference frames
+*
+* @example
+* var list = anchorReferenceFrames();
+* // returns [ 'bounds', 'group' ]
+*/
+declare function anchorReferenceFrames(): Array;
+
+
+// EXPORTS //
+
+export = anchorReferenceFrames;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/types/test.ts
new file mode 100644
index 000000000000..c3a095e0dba5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import anchorReferenceFrames = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ anchorReferenceFrames(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ anchorReferenceFrames( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/examples/index.js
new file mode 100644
index 000000000000..85e16dc50e5f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var anchorReferenceFrames = require( './../lib' );
+
+var isAnchorReferenceFrame = contains( anchorReferenceFrames() );
+
+var bool = isAnchorReferenceFrame( 'bounds' );
+console.log( bool );
+// => true
+
+bool = isAnchorReferenceFrame( 'group' );
+console.log( bool );
+// => true
+
+bool = isAnchorReferenceFrame( 'beep' );
+console.log( bool );
+// => false
+
+bool = isAnchorReferenceFrame( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/data.json b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/data.json
new file mode 100644
index 000000000000..c95e95b3ccc3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/data.json
@@ -0,0 +1,4 @@
+[
+ "bounds",
+ "group"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/index.js
new file mode 100644
index 000000000000..6593eac924b7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of anchor reference frames.
+*
+* @module @stdlib/plot/vega/base/anchor-reference-frames
+*
+* @example
+* var anchorReferenceFrames = require( '@stdlib/plot/vega/base/anchor-reference-frames' );
+*
+* var out = anchorReferenceFrames();
+* // returns [ 'bounds', 'group' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/main.js
new file mode 100644
index 000000000000..5a63cfbfed89
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of anchor reference frames.
+*
+* @returns {StringArray} list of anchor reference frames
+*
+* @example
+* var out = orientations();
+* // returns [ 'bounds', 'group' ]
+*/
+function orientations() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = orientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/package.json b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/package.json
new file mode 100644
index 000000000000..e3f12e21bfae
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/base/anchor-reference-frames",
+ "version": "0.0.0",
+ "description": "List of supported Vega anchor reference frames.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "anchor",
+ "frame",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/test/test.js
new file mode 100644
index 000000000000..bf125d01a185
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/anchor-reference-frames/test/test.js
@@ -0,0 +1,47 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var anchorReferenceFrames = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof anchorReferenceFrames, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of anchor reference frames', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'bounds',
+ 'group'
+ ];
+ actual = anchorReferenceFrames();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/README.md
new file mode 100644
index 000000000000..38b3bf26d620
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/README.md
@@ -0,0 +1,119 @@
+
+
+# isAnchorPosition
+
+> Test if an input value is a supported [anchor position][@stdlib/plot/vega/base/anchor-positions].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isAnchorPosition = require( '@stdlib/plot/vega/base/assert/is-anchor-position' );
+```
+
+#### isAnchorPosition( value )
+
+Tests if an input value is a supported [anchor position][@stdlib/plot/vega/base/anchor-positions].
+
+```javascript
+var bool = isAnchorPosition( 'start' );
+// returns true
+
+bool = isAnchorPosition( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isAnchorPosition = require( '@stdlib/plot/vega/base/assert/is-anchor-position' );
+
+var bool = isAnchorPosition( 'start' );
+// returns true
+
+bool = isAnchorPosition( 'middle' );
+// returns true
+
+bool = isAnchorPosition( '' );
+// returns false
+
+bool = isAnchorPosition( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/base/anchor-positions]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/base/anchor-positions
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/benchmark/benchmark.js
new file mode 100644
index 000000000000..159e07019555
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isAnchorPosition = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'middle',
+ 'start',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAnchorPosition( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/repl.txt
new file mode 100644
index 000000000000..192a96c1c01b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported anchor position.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported anchor position.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'start' )
+ true
+ > bool = {{alias}}( 'middle' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/types/index.d.ts
new file mode 100644
index 000000000000..7aed7196dc02
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported anchor position.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported anchor position
+*
+* @example
+* var bool = isAnchorPosition( 'start' );
+* // returns true
+*
+* bool = isAnchorPosition( 'middle' );
+* // returns true
+*
+* bool = isAnchorPosition( 'bar' );
+* // returns false
+*
+* bool = isAnchorPosition( 'foo' );
+* // returns false
+*/
+declare function isAnchorPosition( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isAnchorPosition;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/types/test.ts
new file mode 100644
index 000000000000..5ebfc7a2b5e3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isAnchorPosition = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isAnchorPosition( 'middle' ); // $ExpectType boolean
+ isAnchorPosition( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isAnchorPosition(); // $ExpectError
+ isAnchorPosition( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/examples/index.js
new file mode 100644
index 000000000000..b9ed0056bfd9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isAnchorPosition = require( './../lib' );
+
+var bool = isAnchorPosition( 'start' );
+console.log( bool );
+// => true
+
+bool = isAnchorPosition( 'middle' );
+console.log( bool );
+// => true
+
+bool = isAnchorPosition( '' );
+console.log( bool );
+// => false
+
+bool = isAnchorPosition( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/lib/index.js
new file mode 100644
index 000000000000..1bee1c85f2ea
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported anchor position.
+*
+* @module @stdlib/plot/vega/base/assert/is-anchor-position
+*
+* @example
+* var isAnchorPosition = require( '@stdlib/plot/vega/base/assert/is-anchor-position' );
+*
+* var bool = isAnchorPosition( 'start' );
+* // returns true
+*
+* bool = isAnchorPosition( 'middle' );
+* // returns true
+*
+* bool = isAnchorPosition( 'bar' );
+* // returns false
+*
+* bool = isAnchorPosition( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/lib/main.js
new file mode 100644
index 000000000000..aa6589851931
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var anchorPositions = require( '@stdlib/plot/vega/base/anchor-positions' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported anchor position.
+*
+* @name isAnchorPosition
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported anchor position
+*
+* @example
+* var bool = isAnchorPosition( 'start' );
+* // returns true
+*
+* bool = isAnchorPosition( 'middle' );
+* // returns true
+*
+* bool = isAnchorPosition( 'bar' );
+* // returns false
+*
+* bool = isAnchorPosition( 'foo' );
+* // returns false
+*/
+var isAnchorPosition = contains( anchorPositions() );
+
+
+// EXPORTS //
+
+module.exports = isAnchorPosition;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/package.json
new file mode 100644
index 000000000000..5fd095616266
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-anchor-position",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported anchor position.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/test/test.js
new file mode 100644
index 000000000000..754da8024d80
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-position/test/test.js
@@ -0,0 +1,78 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isAnchorPosition = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isAnchorPosition, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported anchor position', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'start',
+ 'middle',
+ 'end'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAnchorPosition( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported anchor position', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAnchorPosition( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/README.md
new file mode 100644
index 000000000000..97d03cd2521a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/README.md
@@ -0,0 +1,119 @@
+
+
+# isAnchorReferenceFrame
+
+> Test if an input value is a supported [anchor reference frame][@stdlib/plot/vega/base/anchor-reference-frames].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isAnchorReferenceFrame = require( '@stdlib/plot/vega/base/assert/is-anchor-reference-frame' );
+```
+
+#### isAnchorReferenceFrame( value )
+
+Tests if an input value is a supported [anchor reference frame][@stdlib/plot/vega/base/anchor-reference-frames].
+
+```javascript
+var bool = isAnchorReferenceFrame( 'bounds' );
+// returns true
+
+bool = isAnchorReferenceFrame( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isAnchorReferenceFrame = require( '@stdlib/plot/vega/base/assert/is-anchor-reference-frame' );
+
+var bool = isAnchorReferenceFrame( 'bounds' );
+// returns true
+
+bool = isAnchorReferenceFrame( 'group' );
+// returns true
+
+bool = isAnchorReferenceFrame( '' );
+// returns false
+
+bool = isAnchorReferenceFrame( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/base/anchor-reference-frames]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/base/anchor-reference-frames
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/benchmark/benchmark.js
new file mode 100644
index 000000000000..7164bd3b958d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isAnchorReferenceFrame = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'group',
+ 'bounds',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAnchorReferenceFrame( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/repl.txt
new file mode 100644
index 000000000000..c20975575375
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/repl.txt
@@ -0,0 +1,29 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported anchor reference frame.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported anchor reference
+ frame.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'bounds' )
+ true
+ > bool = {{alias}}( 'group' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/types/index.d.ts
new file mode 100644
index 000000000000..a658c0852302
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported anchor reference frame.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported anchor reference frame
+*
+* @example
+* var bool = isAnchorReferenceFrame( 'bounds' );
+* // returns true
+*
+* bool = isAnchorReferenceFrame( 'group' );
+* // returns true
+*
+* bool = isAnchorReferenceFrame( 'bar' );
+* // returns false
+*
+* bool = isAnchorReferenceFrame( 'foo' );
+* // returns false
+*/
+declare function isAnchorReferenceFrame( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isAnchorReferenceFrame;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/types/test.ts
new file mode 100644
index 000000000000..a7198fd2fb09
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isAnchorReferenceFrame = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isAnchorReferenceFrame( 'group' ); // $ExpectType boolean
+ isAnchorReferenceFrame( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isAnchorReferenceFrame(); // $ExpectError
+ isAnchorReferenceFrame( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/examples/index.js
new file mode 100644
index 000000000000..90343c8aba0c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isAnchorReferenceFrame = require( './../lib' );
+
+var bool = isAnchorReferenceFrame( 'bounds' );
+console.log( bool );
+// => true
+
+bool = isAnchorReferenceFrame( 'group' );
+console.log( bool );
+// => true
+
+bool = isAnchorReferenceFrame( '' );
+console.log( bool );
+// => false
+
+bool = isAnchorReferenceFrame( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/lib/index.js
new file mode 100644
index 000000000000..caba81a874eb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported anchor reference frame.
+*
+* @module @stdlib/plot/vega/base/assert/is-anchor-reference-frame
+*
+* @example
+* var isAnchorReferenceFrame = require( '@stdlib/plot/vega/base/assert/is-anchor-reference-frame' );
+*
+* var bool = isAnchorReferenceFrame( 'bounds' );
+* // returns true
+*
+* bool = isAnchorReferenceFrame( 'group' );
+* // returns true
+*
+* bool = isAnchorReferenceFrame( 'bar' );
+* // returns false
+*
+* bool = isAnchorReferenceFrame( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/lib/main.js
new file mode 100644
index 000000000000..6ba781ce691d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var anchorReferenceFrames = require( '@stdlib/plot/vega/base/anchor-reference-frames' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported anchor reference frame.
+*
+* @name isAnchorReferenceFrame
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported anchor reference frame
+*
+* @example
+* var bool = isAnchorReferenceFrame( 'bounds' );
+* // returns true
+*
+* bool = isAnchorReferenceFrame( 'group' );
+* // returns true
+*
+* bool = isAnchorReferenceFrame( 'bar' );
+* // returns false
+*
+* bool = isAnchorReferenceFrame( 'foo' );
+* // returns false
+*/
+var isAnchorReferenceFrame = contains( anchorReferenceFrames() );
+
+
+// EXPORTS //
+
+module.exports = isAnchorReferenceFrame;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/package.json
new file mode 100644
index 000000000000..57655dde3ac8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-anchor-reference-frame",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported anchor reference frame.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/test/test.js
new file mode 100644
index 000000000000..ad818b78838a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-anchor-reference-frame/test/test.js
@@ -0,0 +1,77 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isAnchorReferenceFrame = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isAnchorReferenceFrame, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported anchor reference frame', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'bounds',
+ 'group'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAnchorReferenceFrame( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported anchor reference frame', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAnchorReferenceFrame( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/README.md
new file mode 100644
index 000000000000..eb3e6126506f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/README.md
@@ -0,0 +1,119 @@
+
+
+# isAutosizeMethod
+
+> Test if an input value is a supported [autosize method][@stdlib/plot/vega/autosize/methods].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isAutosizeMethod = require( '@stdlib/plot/vega/base/assert/is-autosize-method' );
+```
+
+#### isAutosizeMethod( value )
+
+Tests if an input value is a supported [autosize method][@stdlib/plot/vega/autosize/methods].
+
+```javascript
+var bool = isAutosizeMethod( 'pad' );
+// returns true
+
+bool = isAutosizeMethod( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isAutosizeMethod = require( '@stdlib/plot/vega/base/assert/is-autosize-method' );
+
+var bool = isAutosizeMethod( 'pad' );
+// returns true
+
+bool = isAutosizeMethod( 'none' );
+// returns true
+
+bool = isAutosizeMethod( '' );
+// returns false
+
+bool = isAutosizeMethod( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/autosize/methods]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/autosize/methods
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/benchmark/benchmark.js
new file mode 100644
index 000000000000..32e1bdc9be64
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isAutosizeMethod = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'none',
+ 'pad',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAutosizeMethod( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/repl.txt
new file mode 100644
index 000000000000..a4ade8bba9ca
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported autosize method.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported autosize method.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'pad' )
+ true
+ > bool = {{alias}}( 'none' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/types/index.d.ts
new file mode 100644
index 000000000000..cf91b10a7491
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported autosize method.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported autosize method
+*
+* @example
+* var bool = isAutosizeMethod( 'pad' );
+* // returns true
+*
+* bool = isAutosizeMethod( 'none' );
+* // returns true
+*
+* bool = isAutosizeMethod( 'bar' );
+* // returns false
+*
+* bool = isAutosizeMethod( 'foo' );
+* // returns false
+*/
+declare function isAutosizeMethod( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isAutosizeMethod;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/types/test.ts
new file mode 100644
index 000000000000..c1baa809bec5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isAutosizeMethod = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isAutosizeMethod( 'none' ); // $ExpectType boolean
+ isAutosizeMethod( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isAutosizeMethod(); // $ExpectError
+ isAutosizeMethod( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/examples/index.js
new file mode 100644
index 000000000000..be5c1f0683cd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isAutosizeMethod = require( './../lib' );
+
+var bool = isAutosizeMethod( 'pad' );
+console.log( bool );
+// => true
+
+bool = isAutosizeMethod( 'none' );
+console.log( bool );
+// => true
+
+bool = isAutosizeMethod( '' );
+console.log( bool );
+// => false
+
+bool = isAutosizeMethod( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/lib/index.js
new file mode 100644
index 000000000000..27a8463925f4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported autosize method.
+*
+* @module @stdlib/plot/vega/base/assert/is-autosize-method
+*
+* @example
+* var isAutosizeMethod = require( '@stdlib/plot/vega/base/assert/is-autosize-method' );
+*
+* var bool = isAutosizeMethod( 'pad' );
+* // returns true
+*
+* bool = isAutosizeMethod( 'none' );
+* // returns true
+*
+* bool = isAutosizeMethod( 'bar' );
+* // returns false
+*
+* bool = isAutosizeMethod( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/lib/main.js
new file mode 100644
index 000000000000..4f72c6458ac4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var values = require( '@stdlib/plot/vega/autosize/methods' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported autosize method.
+*
+* @name isAutosizeMethod
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported autosize method
+*
+* @example
+* var bool = isAutosizeMethod( 'pad' );
+* // returns true
+*
+* bool = isAutosizeMethod( 'none' );
+* // returns true
+*
+* bool = isAutosizeMethod( 'bar' );
+* // returns false
+*
+* bool = isAutosizeMethod( 'foo' );
+* // returns false
+*/
+var isAutosizeMethod = contains( values() );
+
+
+// EXPORTS //
+
+module.exports = isAutosizeMethod;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/package.json
new file mode 100644
index 000000000000..cbe9fb911a6d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-autosize-method",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported autosize method.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/test/test.js
new file mode 100644
index 000000000000..47c062185592
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize-method/test/test.js
@@ -0,0 +1,80 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isAutosizeMethod = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isAutosizeMethod, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported autosize method', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'pad',
+ 'none',
+ 'fit',
+ 'fit-x',
+ 'fit-y'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAutosizeMethod( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported autosize method', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAutosizeMethod( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/README.md
new file mode 100644
index 000000000000..552b6047dec7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/README.md
@@ -0,0 +1,121 @@
+
+
+# isAutosize
+
+> Test if an input value is an [autosize][@stdlib/plot/vega/autosize/ctor] instance.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isAutosize = require( '@stdlib/plot/vega/base/assert/is-autosize' );
+```
+
+#### isAutosize( value )
+
+Tests if an input value is an [autosize][@stdlib/plot/vega/autosize/ctor] instance.
+
+```javascript
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+
+var v = new Autosize();
+var bool = isAutosize( v );
+// returns true
+
+bool = isAutosize( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var isAutosize = require( '@stdlib/plot/vega/base/assert/is-autosize' );
+
+var v = new Autosize();
+var bool = isAutosize( v );
+// returns true
+
+bool = isAutosize( {} );
+// returns false
+
+bool = isAutosize( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/autosize/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/autosize/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/benchmark/benchmark.js
new file mode 100644
index 000000000000..4f3a50e62e1b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var pkg = require( './../package.json' ).name;
+var isAutosize = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new Autosize({
+ 'type': 'pad'
+ }),
+ new Autosize({
+ 'type': 'none'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAutosize( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAutosize( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/repl.txt
new file mode 100644
index 000000000000..7116223b5783
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/repl.txt
@@ -0,0 +1,25 @@
+
+{{alias}}( value )
+ Tests if an input value is an autosize instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an autosize instance.
+
+ Examples
+ --------
+ > var v = new {{alias:@stdlib/plot/vega/autosize/ctor}}();
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/types/index.d.ts
new file mode 100644
index 000000000000..c30f2eba146a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an autosize instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an autosize instance
+*
+* @example
+* var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+*
+* var v = new Autosize();
+* var bool = isAutosize( v );
+* // returns true
+*
+* bool = isAutosize( {} );
+* // returns false
+*
+* bool = isAutosize( 'foo' );
+* // returns false
+*/
+declare function isAutosize( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isAutosize;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/types/test.ts
new file mode 100644
index 000000000000..bceef7c3b87f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isAutosize = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isAutosize( {} ); // $ExpectType boolean
+ isAutosize( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isAutosize(); // $ExpectError
+ isAutosize( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/examples/index.js
new file mode 100644
index 000000000000..78108ae61366
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/examples/index.js
@@ -0,0 +1,35 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var isAutosize = require( './../lib' );
+
+var v = new Autosize();
+var bool = isAutosize( v );
+console.log( bool );
+// => true
+
+bool = isAutosize( {} );
+console.log( bool );
+// => false
+
+bool = isAutosize( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/lib/index.js
new file mode 100644
index 000000000000..53e70a9d59ad
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/lib/index.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an autosize instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-autosize
+*
+* @example
+* var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+* var isAutosize = require( '@stdlib/plot/vega/base/assert/is-autosize' );
+*
+* var v = new Autosize();
+* var bool = isAutosize( v );
+* // returns true
+*
+* bool = isAutosize( {} );
+* // returns false
+*
+* bool = isAutosize( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/lib/main.js
new file mode 100644
index 000000000000..fb7e6399df08
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/lib/main.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isObject = require( '@stdlib/assert/is-object' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an autosize instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an autosize instance
+*
+* @example
+* var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+*
+* var v = new Autosize();
+* var bool = isAutosize( v );
+* // returns true
+*
+* bool = isAutosize( {} );
+* // returns false
+*
+* bool = isAutosize( 'foo' );
+* // returns false
+*/
+function isAutosize( value ) {
+ return (
+ value instanceof Autosize ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isString( value.type ) &&
+ isBoolean( value.resize ) &&
+ isString( value.contains )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isAutosize;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/package.json
new file mode 100644
index 000000000000..161ce40ccbbe
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-autosize",
+ "version": "0.0.0",
+ "description": "Test if an input value is an autosize instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/test/test.js
new file mode 100644
index 000000000000..d820a997df6f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-autosize/test/test.js
@@ -0,0 +1,82 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var isAutosize = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isAutosize, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an autosize instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Autosize({
+ 'type': 'pad'
+ }),
+ new Autosize({
+ 'type': 'none'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAutosize( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an autosize instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAutosize( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/README.md
new file mode 100644
index 000000000000..b893cbcf5ab3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/README.md
@@ -0,0 +1,131 @@
+
+
+# isAxisArray
+
+> Test if an input value is an array of [axes][@stdlib/plot/vega/axis/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isAxisArray = require( '@stdlib/plot/vega/base/assert/is-axis-array' );
+```
+
+#### isAxisArray( value )
+
+Tests if an input value is an array of [axes][@stdlib/plot/vega/axis/ctor].
+
+```javascript
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+
+var v = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+});
+var bool = isAxisArray( [ v ] );
+// returns true
+```
+
+If provided an empty array, the function returns `false`.
+
+```javascript
+var bool = isAxisArray( [] );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var isAxisArray = require( '@stdlib/plot/vega/base/assert/is-axis-array' );
+
+var v = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+});
+var bool = isAxisArray( [ v ] );
+// returns true
+
+bool = isAxisArray( {} );
+// returns false
+
+bool = isAxisArray( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/axis/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/axis/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/benchmark/benchmark.js
new file mode 100644
index 000000000000..44964d022de0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var pkg = require( './../package.json' ).name;
+var isAxisArray = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var i;
+
+ values = [
+ new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+ }),
+ new Axis({
+ 'scale': 'yScale',
+ 'orient': 'bottom'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = isAxisArray( [ values[ i%values.length ] ] );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAxisArray( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/repl.txt
new file mode 100644
index 000000000000..735115181f9e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is an array of axis instances.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an array of axis instances.
+
+ Examples
+ --------
+ > var opts = { 'scale': 'xScale', 'orient': 'bottom' };
+ > var v = new {{alias:@stdlib/plot/vega/axis/ctor}}( opts );
+ > var bool = {{alias}}( [ v ] )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/types/index.d.ts
new file mode 100644
index 000000000000..9ce5137b1581
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/types/index.d.ts
@@ -0,0 +1,48 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an array of axis instances.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an array of axis instances
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+*
+* var v = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* var bool = isAxisArray( [ v ] );
+* // returns true
+*
+* bool = isAxisArray( {} );
+* // returns false
+*
+* bool = isAxisArray( 'foo' );
+* // returns false
+*/
+declare function isAxisArray( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isAxisArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/types/test.ts
new file mode 100644
index 000000000000..fecd10cac49d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isAxisArray = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isAxisArray( {} ); // $ExpectType boolean
+ isAxisArray( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isAxisArray(); // $ExpectError
+ isAxisArray( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/examples/index.js
new file mode 100644
index 000000000000..4bd3607fbb65
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/examples/index.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var isAxisArray = require( './../lib' );
+
+var v = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+});
+var bool = isAxisArray( [ v ] );
+console.log( bool );
+// => true
+
+bool = isAxisArray( {} );
+console.log( bool );
+// => false
+
+bool = isAxisArray( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/lib/index.js
new file mode 100644
index 000000000000..d439db1ecb14
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/lib/index.js
@@ -0,0 +1,51 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an array of axis instances.
+*
+* @module @stdlib/plot/vega/base/assert/is-axis-array
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+* var isAxisArray = require( '@stdlib/plot/vega/base/assert/is-axis-array' );
+*
+* var v = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* var bool = isAxisArray( [ v ] );
+* // returns true
+*
+* bool = isAxisArray( {} );
+* // returns false
+*
+* bool = isAxisArray( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/lib/main.js
new file mode 100644
index 000000000000..73db92bd98e0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/lib/main.js
@@ -0,0 +1,58 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var arraylikefcn = require( '@stdlib/assert/tools/array-like-function' );
+var isAxis = require( '@stdlib/plot/vega/base/assert/is-axis' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an array of axis instances.
+*
+* @name isAxisArray
+* @type {Function}
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an array of axis instances
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+*
+* var v = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* var bool = isAxisArray( [ v ] );
+* // returns true
+*
+* bool = isAxisArray( {} );
+* // returns false
+*
+* bool = isAxisArray( 'foo' );
+* // returns false
+*/
+var isAxisArray = arraylikefcn( isAxis );
+
+
+// EXPORTS //
+
+module.exports = isAxisArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/package.json
new file mode 100644
index 000000000000..aaddda96de20
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-axis-array",
+ "version": "0.0.0",
+ "description": "Test if an input value is an array of axis instances.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/test/test.js
new file mode 100644
index 000000000000..a13ea7b572cc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-array/test/test.js
@@ -0,0 +1,86 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var isAxisArray = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isAxisArray, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an array of axis instances', function test( t ) {
+ var values;
+ var actual;
+
+ values = [
+ new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+ }),
+ new Axis({
+ 'scale': 'yScale',
+ 'orient': 'top'
+ }),
+ new Axis({
+ 'scale': 'zScale',
+ 'orient': 'left'
+ })
+ ];
+ actual = isAxisArray( values );
+ t.strictEqual( actual, true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an array of axis instances', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAxisArray( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/README.md
new file mode 100644
index 000000000000..20567e120c25
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/README.md
@@ -0,0 +1,119 @@
+
+
+# isAxisOrientation
+
+> Test if an input value is a supported [axis orientation][@stdlib/plot/vega/axis/orientations].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-axis-orientation' );
+```
+
+#### isAxisOrientation( value )
+
+Tests if an input value is a supported [axis orientation][@stdlib/plot/vega/axis/orientations].
+
+```javascript
+var bool = isAxisOrientation( 'bottom' );
+// returns true
+
+bool = isAxisOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-axis-orientation' );
+
+var bool = isAxisOrientation( 'bottom' );
+// returns true
+
+bool = isAxisOrientation( 'left' );
+// returns true
+
+bool = isAxisOrientation( '' );
+// returns false
+
+bool = isAxisOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/axis/orientations]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/axis/orientations
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/benchmark/benchmark.js
new file mode 100644
index 000000000000..d4778f4aafcd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isAxisOrientation = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'left',
+ 'bottom',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAxisOrientation( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/repl.txt
new file mode 100644
index 000000000000..0005935cef82
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported axis orientation.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported axis orientation.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'bottom' )
+ true
+ > bool = {{alias}}( 'left' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/types/index.d.ts
new file mode 100644
index 000000000000..6a8c26973987
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported axis orientation.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported axis orientation
+*
+* @example
+* var bool = isAxisOrientation( 'bottom' );
+* // returns true
+*
+* bool = isAxisOrientation( 'left' );
+* // returns true
+*
+* bool = isAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isAxisOrientation( 'foo' );
+* // returns false
+*/
+declare function isAxisOrientation( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isAxisOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/types/test.ts
new file mode 100644
index 000000000000..687f69ea6666
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isAxisOrientation = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isAxisOrientation( 'left' ); // $ExpectType boolean
+ isAxisOrientation( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isAxisOrientation(); // $ExpectError
+ isAxisOrientation( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/examples/index.js
new file mode 100644
index 000000000000..8a662867781d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isAxisOrientation = require( './../lib' );
+
+var bool = isAxisOrientation( 'bottom' );
+console.log( bool );
+// => true
+
+bool = isAxisOrientation( 'left' );
+console.log( bool );
+// => true
+
+bool = isAxisOrientation( '' );
+console.log( bool );
+// => false
+
+bool = isAxisOrientation( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/lib/index.js
new file mode 100644
index 000000000000..f4f2f2c5c632
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported axis orientation.
+*
+* @module @stdlib/plot/vega/base/assert/is-axis-orientation
+*
+* @example
+* var isAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-axis-orientation' );
+*
+* var bool = isAxisOrientation( 'bottom' );
+* // returns true
+*
+* bool = isAxisOrientation( 'left' );
+* // returns true
+*
+* bool = isAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isAxisOrientation( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/lib/main.js
new file mode 100644
index 000000000000..840863d29899
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var axisOrientations = require( '@stdlib/plot/vega/axis/orientations' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported axis orientation.
+*
+* @name isAxisOrientation
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported axis orientation
+*
+* @example
+* var bool = isAxisOrientation( 'bottom' );
+* // returns true
+*
+* bool = isAxisOrientation( 'left' );
+* // returns true
+*
+* bool = isAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isAxisOrientation( 'foo' );
+* // returns false
+*/
+var isAxisOrientation = contains( axisOrientations() );
+
+
+// EXPORTS //
+
+module.exports = isAxisOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/package.json
new file mode 100644
index 000000000000..e0f4d192433b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-axis-orientation",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported axis orientation.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/test/test.js
new file mode 100644
index 000000000000..ec5fedfaf1c0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis-orientation/test/test.js
@@ -0,0 +1,79 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isAxisOrientation = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isAxisOrientation, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported axis orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'bottom',
+ 'left',
+ 'top',
+ 'right'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAxisOrientation( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported axis orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAxisOrientation( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/README.md
new file mode 100644
index 000000000000..e962a4c4f784
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/README.md
@@ -0,0 +1,127 @@
+
+
+# isAxis
+
+> Test if an input value is an [axis][@stdlib/plot/vega/axis/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isAxis = require( '@stdlib/plot/vega/base/assert/is-axis' );
+```
+
+#### isAxis( value )
+
+Tests if an input value is an [axis][@stdlib/plot/vega/axis/ctor].
+
+```javascript
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+
+var v = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+});
+var bool = isAxis( v );
+// returns true
+
+bool = isAxis( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var isAxis = require( '@stdlib/plot/vega/base/assert/is-axis' );
+
+var v = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+});
+var bool = isAxis( v );
+// returns true
+
+bool = isAxis( {} );
+// returns false
+
+bool = isAxis( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/axis/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/axis/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/benchmark/benchmark.js
new file mode 100644
index 000000000000..8b4023753f0a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/benchmark/benchmark.js
@@ -0,0 +1,95 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var pkg = require( './../package.json' ).name;
+var isAxis = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+ }),
+ new Axis({
+ 'scale': 'yScale',
+ 'orient': 'bottom'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAxis( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isAxis( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/repl.txt
new file mode 100644
index 000000000000..f925189c3eab
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is an axis instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an axis instance.
+
+ Examples
+ --------
+ > var opts = { 'scale': 'xScale', 'orient': 'bottom' };
+ > var v = new {{alias:@stdlib/plot/vega/axis/ctor}}( opts );
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/types/index.d.ts
new file mode 100644
index 000000000000..e735c3ffbeed
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/types/index.d.ts
@@ -0,0 +1,48 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an axis instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an axis instance
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+*
+* var v = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* var bool = isAxis( v );
+* // returns true
+*
+* bool = isAxis( {} );
+* // returns false
+*
+* bool = isAxis( 'foo' );
+* // returns false
+*/
+declare function isAxis( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isAxis;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/types/test.ts
new file mode 100644
index 000000000000..68b3ccd4f472
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isAxis = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isAxis( {} ); // $ExpectType boolean
+ isAxis( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isAxis(); // $ExpectError
+ isAxis( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/examples/index.js
new file mode 100644
index 000000000000..128e58e1a219
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/examples/index.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var isAxis = require( './../lib' );
+
+var v = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+});
+var bool = isAxis( v );
+console.log( bool );
+// => true
+
+bool = isAxis( {} );
+console.log( bool );
+// => false
+
+bool = isAxis( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/lib/index.js
new file mode 100644
index 000000000000..de50fa824939
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/lib/index.js
@@ -0,0 +1,51 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an axis instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-axis
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+* var isAxis = require( '@stdlib/plot/vega/base/assert/is-axis' );
+*
+* var v = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* var bool = isAxis( v );
+* // returns true
+*
+* bool = isAxis( {} );
+* // returns false
+*
+* bool = isAxis( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/lib/main.js
new file mode 100644
index 000000000000..77ecc84c44e4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/lib/main.js
@@ -0,0 +1,70 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isObject = require( '@stdlib/assert/is-object' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var hasProp = require( '@stdlib/assert/has-property' );
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an axis instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an axis instance
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+*
+* var v = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* var bool = isAxis( v );
+* // returns true
+*
+* bool = isAxis( {} );
+* // returns false
+*
+* bool = isAxis( 'foo' );
+* // returns false
+*/
+function isAxis( value ) {
+ return (
+ value instanceof Axis ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isString( value.scale ) &&
+ isString( value.orient ) &&
+ hasProp( value, 'title' )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isAxis;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/package.json
new file mode 100644
index 000000000000..944a2610bf44
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-axis",
+ "version": "0.0.0",
+ "description": "Test if an input value is an axis instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/test/test.js
new file mode 100644
index 000000000000..117a9f573da9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-axis/test/test.js
@@ -0,0 +1,84 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var isAxis = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isAxis, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an axis instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom'
+ }),
+ new Axis({
+ 'scale': 'yScale',
+ 'orient': 'bottom'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAxis( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an axis instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isAxis( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/README.md
new file mode 100644
index 000000000000..82d7d71aff03
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/README.md
@@ -0,0 +1,129 @@
+
+
+# isDataSetArray
+
+> Test if an input value is an array of [datasets][@stdlib/plot/vega/data/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isDataSetArray = require( '@stdlib/plot/vega/base/assert/is-dataset-array' );
+```
+
+#### isDataSetArray( value )
+
+Tests if an input value is an array of [datasets][@stdlib/plot/vega/data/base/ctor].
+
+```javascript
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+
+var v = new DataSet({
+ 'name': 'foo'
+});
+var bool = isDataSetArray( [ v ] );
+// returns true
+```
+
+If provided an empty array, the function returns `false`.
+
+```javascript
+var bool = isDataSetArray( [] );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var isDataSetArray = require( '@stdlib/plot/vega/base/assert/is-dataset-array' );
+
+var v = new DataSet({
+ 'name': 'foo'
+});
+var bool = isDataSetArray( [ v ] );
+// returns true
+
+bool = isDataSetArray( {} );
+// returns false
+
+bool = isDataSetArray( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/data/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/data/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/benchmark/benchmark.js
new file mode 100644
index 000000000000..b7d3abe8a6a7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/benchmark/benchmark.js
@@ -0,0 +1,91 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isDataSetArray = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var i;
+
+ values = [
+ new DataSet({
+ 'name': 'foo'
+ }),
+ new DataSet({
+ 'name': 'bar'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = isDataSetArray( [ values[ i%values.length ] ] );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isDataSetArray( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/repl.txt
new file mode 100644
index 000000000000..fb730f893093
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is an array of dataset instances.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an array of dataset instances.
+
+ Examples
+ --------
+ > var opts = { 'name': 'foo' };
+ > var v = new {{alias:@stdlib/plot/vega/data/base/ctor}}( opts );
+ > var bool = {{alias}}( [ v ] )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/types/index.d.ts
new file mode 100644
index 000000000000..78891a6dd568
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an array of dataset instances.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an array of dataset instances
+*
+* @example
+* var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+*
+* var v = new DataSet({
+* 'name': 'foo'
+* });
+* var bool = isDataSetArray( [ v ] );
+* // returns true
+*
+* bool = isDataSetArray( {} );
+* // returns false
+*
+* bool = isDataSetArray( 'foo' );
+* // returns false
+*/
+declare function isDataSetArray( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isDataSetArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/types/test.ts
new file mode 100644
index 000000000000..c3ed322e0939
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isDataSetArray = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isDataSetArray( {} ); // $ExpectType boolean
+ isDataSetArray( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isDataSetArray(); // $ExpectError
+ isDataSetArray( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/examples/index.js
new file mode 100644
index 000000000000..7ac40780dd4d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var isDataSetArray = require( './../lib' );
+
+var v = new DataSet({
+ 'name': 'foo'
+});
+var bool = isDataSetArray( [ v ] );
+console.log( bool );
+// => true
+
+bool = isDataSetArray( {} );
+console.log( bool );
+// => false
+
+bool = isDataSetArray( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/lib/index.js
new file mode 100644
index 000000000000..f695d1f5046f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an array of dataset instances.
+*
+* @module @stdlib/plot/vega/base/assert/is-dataset-array
+*
+* @example
+* var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+* var isDataSetArray = require( '@stdlib/plot/vega/base/assert/is-dataset-array' );
+*
+* var v = new DataSet({
+* 'name': 'foo'
+* });
+* var bool = isDataSetArray( [ v ] );
+* // returns true
+*
+* bool = isDataSetArray( {} );
+* // returns false
+*
+* bool = isDataSetArray( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/lib/main.js
new file mode 100644
index 000000000000..4b32898f91fc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/lib/main.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var arraylikefcn = require( '@stdlib/assert/tools/array-like-function' );
+var isDataSet = require( '@stdlib/plot/vega/base/assert/is-dataset' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an array of dataset instances.
+*
+* @name isDataSetArray
+* @type {Function}
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an array of dataset instances
+*
+* @example
+* var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+*
+* var v = new DataSet({
+* 'name': 'foo'
+* });
+* var bool = isDataSetArray( [ v ] );
+* // returns true
+*
+* bool = isDataSetArray( {} );
+* // returns false
+*
+* bool = isDataSetArray( 'foo' );
+* // returns false
+*/
+var isDataSetArray = arraylikefcn( isDataSet );
+
+
+// EXPORTS //
+
+module.exports = isDataSetArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/package.json
new file mode 100644
index 000000000000..fe7a05c11193
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-dataset-array",
+ "version": "0.0.0",
+ "description": "Test if an input value is an array of dataset instances.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/test/test.js
new file mode 100644
index 000000000000..fe21fa57240d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset-array/test/test.js
@@ -0,0 +1,83 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var isDataSetArray = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isDataSetArray, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an array of dataset instances', function test( t ) {
+ var values;
+ var actual;
+
+ values = [
+ new DataSet({
+ 'name': 'foo'
+ }),
+ new DataSet({
+ 'name': 'bar'
+ }),
+ new DataSet({
+ 'name': 'biz'
+ })
+ ];
+ actual = isDataSetArray( values );
+ t.strictEqual( actual, true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an array of dataset instances', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isDataSetArray( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/README.md
new file mode 100644
index 000000000000..3f614d3a01f7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/README.md
@@ -0,0 +1,125 @@
+
+
+# isDataSet
+
+> Test if an input value is a [dataset][@stdlib/plot/vega/data/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isDataSet = require( '@stdlib/plot/vega/base/assert/is-dataset' );
+```
+
+#### isDataSet( value )
+
+Tests if an input value is a [dataset][@stdlib/plot/vega/data/base/ctor].
+
+```javascript
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+
+var v = new DataSet({
+ 'name': 'Beep'
+});
+var bool = isDataSet( v );
+// returns true
+
+bool = isDataSet( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var isDataSet = require( '@stdlib/plot/vega/base/assert/is-dataset' );
+
+var v = new DataSet({
+ 'name': 'foo'
+});
+var bool = isDataSet( v );
+// returns true
+
+bool = isDataSet( {} );
+// returns false
+
+bool = isDataSet( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/data/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/data/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/benchmark/benchmark.js
new file mode 100644
index 000000000000..7fb409e52348
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isDataSet = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new DataSet({
+ 'name': 'foo'
+ }),
+ new DataSet({
+ 'name': 'bar'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isDataSet( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isDataSet( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/repl.txt
new file mode 100644
index 000000000000..05c354a98989
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is a dataset instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a dataset instance.
+
+ Examples
+ --------
+ > var opts = { 'name': 'foo' };
+ > var v = new {{alias:@stdlib/plot/vega/data/base/ctor}}( opts );
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/types/index.d.ts
new file mode 100644
index 000000000000..b3ad3a855d41
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a dataset instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a dataset instance
+*
+* @example
+* var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+*
+* var v = new DataSet({
+* 'name': 'foo'
+* });
+* var bool = isDataSet( v );
+* // returns true
+*
+* bool = isDataSet( {} );
+* // returns false
+*
+* bool = isDataSet( 'foo' );
+* // returns false
+*/
+declare function isDataSet( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isDataSet;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/types/test.ts
new file mode 100644
index 000000000000..d5a0a607dd48
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isDataSet = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isDataSet( {} ); // $ExpectType boolean
+ isDataSet( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isDataSet(); // $ExpectError
+ isDataSet( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/examples/index.js
new file mode 100644
index 000000000000..ba1fe680bfdf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var isDataSet = require( './../lib' );
+
+var v = new DataSet({
+ 'name': 'foo'
+});
+var bool = isDataSet( v );
+console.log( bool );
+// => true
+
+bool = isDataSet( {} );
+console.log( bool );
+// => false
+
+bool = isDataSet( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/lib/index.js
new file mode 100644
index 000000000000..1d2faddda032
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a dataset instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-dataset
+*
+* @example
+* var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+* var isDataSet = require( '@stdlib/plot/vega/base/assert/is-dataset' );
+*
+* var v = new DataSet({
+* 'name': 'foo'
+* });
+* var bool = isDataSet( v );
+* // returns true
+*
+* bool = isDataSet( {} );
+* // returns false
+*
+* bool = isDataSet( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/lib/main.js
new file mode 100644
index 000000000000..308e957d370a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/lib/main.js
@@ -0,0 +1,72 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isObject = require( '@stdlib/assert/is-object' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var hasProp = require( '@stdlib/assert/has-property' );
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a dataset instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is a dataset instance
+*
+* @example
+* var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+*
+* var v = new DataSet({
+* 'name': 'foo'
+* });
+* var bool = isDataSet( v );
+* // returns true
+*
+* bool = isDataSet( {} );
+* // returns false
+*
+* bool = isDataSet( 'foo' );
+* // returns false
+*/
+function isDataSet( value ) {
+ return (
+ value instanceof DataSet ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isString( value.name ) &&
+ (
+ hasProp( value, 'values' ) ||
+ hasProp( value, 'source' ) ||
+ hasProp( value, 'url' )
+ )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isDataSet;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/package.json
new file mode 100644
index 000000000000..8d135f7ae49f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-dataset",
+ "version": "0.0.0",
+ "description": "Test if an input value is a dataset instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/test/test.js
new file mode 100644
index 000000000000..e799e43cd0d4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-dataset/test/test.js
@@ -0,0 +1,82 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+var isDataSet = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isDataSet, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a dataset instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new DataSet({
+ 'name': 'foo'
+ }),
+ new DataSet({
+ 'name': 'bar'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isDataSet( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a dataset instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isDataSet( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/README.md
new file mode 100644
index 000000000000..51096c048ec9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/README.md
@@ -0,0 +1,129 @@
+
+
+# isMarkArray
+
+> Test if an input value is an array of [marks][@stdlib/plot/vega/mark/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isMarkArray = require( '@stdlib/plot/vega/base/assert/is-mark-array' );
+```
+
+#### isMarkArray( value )
+
+Tests if an input value is an array of [marks][@stdlib/plot/vega/mark/base/ctor].
+
+```javascript
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+
+var v = new Mark({
+ 'type': 'line'
+});
+var bool = isMarkArray( [ v ] );
+// returns true
+```
+
+If provided an empty array, the function returns `false`.
+
+```javascript
+var bool = isMarkArray( [] );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var isMarkArray = require( '@stdlib/plot/vega/base/assert/is-mark-array' );
+
+var v = new Mark({
+ 'type': 'line'
+});
+var bool = isMarkArray( [ v ] );
+// returns true
+
+bool = isMarkArray( {} );
+// returns false
+
+bool = isMarkArray( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/mark/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/mark/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/benchmark/benchmark.js
new file mode 100644
index 000000000000..eb40a2eaf65d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/benchmark/benchmark.js
@@ -0,0 +1,91 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isMarkArray = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var i;
+
+ values = [
+ new Mark({
+ 'type': 'line'
+ }),
+ new Mark({
+ 'type': 'rect'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = isMarkArray( [ values[ i%values.length ] ] );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isMarkArray( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/repl.txt
new file mode 100644
index 000000000000..24bb9b98e644
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is an array of mark instances.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an array of mark instances.
+
+ Examples
+ --------
+ > var opts = { 'type': 'line' };
+ > var v = new {{alias:@stdlib/plot/vega/mark/base/ctor}}( opts );
+ > var bool = {{alias}}( [ v ] )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/types/index.d.ts
new file mode 100644
index 000000000000..3c5b3388aa7c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an array of mark instances.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an array of mark instances
+*
+* @example
+* var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+*
+* var v = new Mark({
+* 'type': 'line'
+* });
+* var bool = isMarkArray( [ v ] );
+* // returns true
+*
+* bool = isMarkArray( {} );
+* // returns false
+*
+* bool = isMarkArray( 'foo' );
+* // returns false
+*/
+declare function isMarkArray( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isMarkArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/types/test.ts
new file mode 100644
index 000000000000..1fbb36aa5f17
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isMarkArray = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isMarkArray( {} ); // $ExpectType boolean
+ isMarkArray( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isMarkArray(); // $ExpectError
+ isMarkArray( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/examples/index.js
new file mode 100644
index 000000000000..3dc39eb6f6c1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var isMarkArray = require( './../lib' );
+
+var v = new Mark({
+ 'type': 'line'
+});
+var bool = isMarkArray( [ v ] );
+console.log( bool );
+// => true
+
+bool = isMarkArray( {} );
+console.log( bool );
+// => false
+
+bool = isMarkArray( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/lib/index.js
new file mode 100644
index 000000000000..95dc14000df5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an array of mark instances.
+*
+* @module @stdlib/plot/vega/base/assert/is-mark-array
+*
+* @example
+* var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+* var isMarkArray = require( '@stdlib/plot/vega/base/assert/is-mark-array' );
+*
+* var v = new Mark({
+* 'type': 'line'
+* });
+* var bool = isMarkArray( [ v ] );
+* // returns true
+*
+* bool = isMarkArray( {} );
+* // returns false
+*
+* bool = isMarkArray( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/lib/main.js
new file mode 100644
index 000000000000..82a99e5c728e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/lib/main.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var arraylikefcn = require( '@stdlib/assert/tools/array-like-function' );
+var isMark = require( '@stdlib/plot/vega/base/assert/is-mark' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an array of mark instances.
+*
+* @name isMarkArray
+* @type {Function}
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an array of mark instances
+*
+* @example
+* var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+*
+* var v = new Mark({
+* 'type': 'line'
+* });
+* var bool = isMarkArray( [ v ] );
+* // returns true
+*
+* bool = isMarkArray( {} );
+* // returns false
+*
+* bool = isMarkArray( 'foo' );
+* // returns false
+*/
+var isMarkArray = arraylikefcn( isMark );
+
+
+// EXPORTS //
+
+module.exports = isMarkArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/package.json
new file mode 100644
index 000000000000..5de9153ceecb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-mark-array",
+ "version": "0.0.0",
+ "description": "Test if an input value is an array of mark instances.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/test/test.js
new file mode 100644
index 000000000000..67129819078a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-array/test/test.js
@@ -0,0 +1,80 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var isMarkArray = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isMarkArray, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an array of mark instances', function test( t ) {
+ var values;
+ var actual;
+
+ values = [
+ new Mark({
+ 'type': 'line'
+ }),
+ new Mark({
+ 'type': 'rect'
+ })
+ ];
+ actual = isMarkArray( values );
+ t.strictEqual( actual, true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an array of mark instances', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isMarkArray( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/README.md
new file mode 100644
index 000000000000..251b10710fde
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/README.md
@@ -0,0 +1,122 @@
+
+
+# isMarkName
+
+> Test if an input value is a supported [mark name][@stdlib/plot/vega/mark/names].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isMarkName = require( '@stdlib/plot/vega/base/assert/is-mark-name' );
+```
+
+#### isMarkName( value )
+
+Tests if an input value is a supported [mark name][@stdlib/plot/vega/mark/names].
+
+```javascript
+var bool = isMarkName( 'line' );
+// returns true
+
+bool = isMarkName( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isMarkName = require( '@stdlib/plot/vega/base/assert/is-mark-name' );
+
+var bool = isMarkName( 'line' );
+// returns true
+
+bool = isMarkName( 'rect' );
+// returns true
+
+bool = isMarkName( 'area' );
+// returns true
+
+bool = isMarkName( '' );
+// returns false
+
+bool = isMarkName( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/mark/names]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/mark/names
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/benchmark/benchmark.js
new file mode 100644
index 000000000000..a1ebdc68890e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isMarkName = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'line',
+ 'rect',
+ 'area',
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isMarkName( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/repl.txt
new file mode 100644
index 000000000000..0f8bee183014
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/repl.txt
@@ -0,0 +1,30 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported mark name.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported mark name.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'line' )
+ true
+ > bool = {{alias}}( 'rect' )
+ true
+ > bool = {{alias}}( 'area' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/types/index.d.ts
new file mode 100644
index 000000000000..04f33962c748
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported mark name.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported mark name
+*
+* @example
+* var bool = isMarkName( 'line' );
+* // returns true
+*
+* bool = isMarkName( 'rect' );
+* // returns true
+*
+* bool = isMarkName( 'area' );
+* // returns true
+*
+* bool = isMarkName( 'foo' );
+* // returns false
+*/
+declare function isMarkName( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isMarkName;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/types/test.ts
new file mode 100644
index 000000000000..27628457bc66
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isMarkName = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isMarkName( 'real' ); // $ExpectType boolean
+ isMarkName( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isMarkName(); // $ExpectError
+ isMarkName( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/examples/index.js
new file mode 100644
index 000000000000..f62ea2665966
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/examples/index.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isMarkName = require( './../lib' );
+
+var bool = isMarkName( 'line' );
+console.log( bool );
+// => true
+
+bool = isMarkName( 'rect' );
+console.log( bool );
+// => true
+
+bool = isMarkName( 'area' );
+console.log( bool );
+// => true
+
+bool = isMarkName( '' );
+console.log( bool );
+// => false
+
+bool = isMarkName( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/lib/index.js
new file mode 100644
index 000000000000..11d67f1f1f13
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported mark name.
+*
+* @module @stdlib/plot/vega/base/assert/is-mark-name
+*
+* @example
+* var isMarkName = require( '@stdlib/plot/vega/base/assert/is-mark-name' );
+*
+* var bool = isMarkName( 'line' );
+* // returns true
+*
+* bool = isMarkName( 'rect' );
+* // returns true
+*
+* bool = isMarkName( 'area' );
+* // returns true
+*
+* bool = isMarkName( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/lib/main.js
new file mode 100644
index 000000000000..3791f53df02d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var marks = require( '@stdlib/plot/vega/mark/names' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported mark name.
+*
+* @name isMarkName
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported mark name
+*
+* @example
+* var bool = isMarkName( 'line' );
+* // returns true
+*
+* bool = isMarkName( 'rect' );
+* // returns true
+*
+* bool = isMarkName( 'area' );
+* // returns true
+*
+* bool = isMarkName( 'foo' );
+* // returns false
+*/
+var isMarkName = contains( marks() );
+
+
+// EXPORTS //
+
+module.exports = isMarkName;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/package.json
new file mode 100644
index 000000000000..94a5e783ac9f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-mark-name",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported mark name.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/test/test.js
new file mode 100644
index 000000000000..75a69e86c41a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark-name/test/test.js
@@ -0,0 +1,78 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isMarkName = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isMarkName, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported mark name', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'line',
+ 'rect',
+ 'area'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isMarkName( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported mark name', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isMarkName( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/README.md
new file mode 100644
index 000000000000..d4a17ab68a56
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/README.md
@@ -0,0 +1,125 @@
+
+
+# isMark
+
+> Test if an input value is a [mark][@stdlib/plot/vega/mark/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isMark = require( '@stdlib/plot/vega/base/assert/is-mark' );
+```
+
+#### isMark( value )
+
+Tests if an input value is a [mark][@stdlib/plot/vega/mark/base/ctor].
+
+```javascript
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+
+var v = new Mark({
+ 'type': 'line'
+});
+var bool = isMark( v );
+// returns true
+
+bool = isMark( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var isMark = require( '@stdlib/plot/vega/base/assert/is-mark' );
+
+var v = new Mark({
+ 'type': 'rect'
+});
+var bool = isMark( v );
+// returns true
+
+bool = isMark( {} );
+// returns false
+
+bool = isMark( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/mark/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/mark/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/benchmark/benchmark.js
new file mode 100644
index 000000000000..5425c50fcb02
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isMark = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new Mark({
+ 'type': 'line'
+ }),
+ new Mark({
+ 'type': 'rect'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isMark( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isMark( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/repl.txt
new file mode 100644
index 000000000000..2f20977bd221
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is a mark instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a mark instance.
+
+ Examples
+ --------
+ > var opts = { 'type': 'line' };
+ > var v = new {{alias:@stdlib/plot/vega/mark/base/ctor}}( opts );
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/types/index.d.ts
new file mode 100644
index 000000000000..53bb8beec993
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a mark instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a mark instance
+*
+* @example
+* var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+*
+* var v = new Mark({
+* 'type': 'line'
+* });
+* var bool = isMark( v );
+* // returns true
+*
+* bool = isMark( {} );
+* // returns false
+*
+* bool = isMark( 'foo' );
+* // returns false
+*/
+declare function isMark( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isMark;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/types/test.ts
new file mode 100644
index 000000000000..0aaf3ccb5b93
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isMark = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isMark( {} ); // $ExpectType boolean
+ isMark( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isMark(); // $ExpectError
+ isMark( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/examples/index.js
new file mode 100644
index 000000000000..cdc3db859cf8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var isMark = require( './../lib' );
+
+var v = new Mark({
+ 'type': 'rect'
+});
+var bool = isMark( v );
+console.log( bool );
+// => true
+
+bool = isMark( {} );
+console.log( bool );
+// => false
+
+bool = isMark( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/lib/index.js
new file mode 100644
index 000000000000..2ecb7948fc0b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a mark instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-mark
+*
+* @example
+* var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+* var isMark = require( '@stdlib/plot/vega/base/assert/is-mark' );
+*
+* var v = new Mark({
+* 'type': 'line'
+* });
+* var bool = isMark( v );
+* // returns true
+*
+* bool = isMark( {} );
+* // returns false
+*
+* bool = isMark( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/lib/main.js
new file mode 100644
index 000000000000..841456b280d4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/lib/main.js
@@ -0,0 +1,68 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isObject = require( '@stdlib/assert/is-object' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var isMarkName = require( '@stdlib/plot/vega/base/assert/is-mark-name' );
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a mark instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is a mark instance
+*
+* @example
+* var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+*
+* var v = new Mark({
+* 'type': 'line'
+* });
+* var bool = isMark( v );
+* // returns true
+*
+* bool = isMark( {} );
+* // returns false
+*
+* bool = isMark( 'foo' );
+* // returns false
+*/
+function isMark( value ) {
+ return (
+ value instanceof Mark ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isMarkName( value.type ) &&
+ hasProp( value, 'encode' )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isMark;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/package.json
new file mode 100644
index 000000000000..f1441e2ae51d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-mark",
+ "version": "0.0.0",
+ "description": "Test if an input value is a mark instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/test/test.js
new file mode 100644
index 000000000000..835c9c1e95c3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-mark/test/test.js
@@ -0,0 +1,82 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Mark = require( '@stdlib/plot/vega/mark/base/ctor' );
+var isMark = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isMark, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a mark instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Mark({
+ 'type': 'line'
+ }),
+ new Mark({
+ 'type': 'rect'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isMark( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a mark instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isMark( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/README.md
new file mode 100644
index 000000000000..0a5b356b6672
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/README.md
@@ -0,0 +1,121 @@
+
+
+# isPadding
+
+> Test if an input value is a [padding][@stdlib/plot/vega/padding/ctor] instance.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isPadding = require( '@stdlib/plot/vega/base/assert/is-padding' );
+```
+
+#### isPadding( value )
+
+Tests if an input value is a [padding][@stdlib/plot/vega/padding/ctor] instance.
+
+```javascript
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+
+var v = new Padding();
+var bool = isPadding( v );
+// returns true
+
+bool = isPadding( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+var isPadding = require( '@stdlib/plot/vega/base/assert/is-padding' );
+
+var v = new Padding();
+var bool = isPadding( v );
+// returns true
+
+bool = isPadding( {} );
+// returns false
+
+bool = isPadding( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/padding/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/padding/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/benchmark/benchmark.js
new file mode 100644
index 000000000000..24252eca4a78
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+var pkg = require( './../package.json' ).name;
+var isPadding = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new Padding({
+ 'left': 10
+ }),
+ new Padding({
+ 'right': 10
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isPadding( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isPadding( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/repl.txt
new file mode 100644
index 000000000000..36a2976b3b34
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/repl.txt
@@ -0,0 +1,25 @@
+
+{{alias}}( value )
+ Tests if an input value is a padding instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a padding instance.
+
+ Examples
+ --------
+ > var v = new {{alias:@stdlib/plot/vega/padding/ctor}}();
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/types/index.d.ts
new file mode 100644
index 000000000000..7c79d4555a88
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a padding instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a padding instance
+*
+* @example
+* var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+*
+* var v = new Padding();
+* var bool = isPadding( v );
+* // returns true
+*
+* bool = isPadding( {} );
+* // returns false
+*
+* bool = isPadding( 'foo' );
+* // returns false
+*/
+declare function isPadding( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isPadding;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/types/test.ts
new file mode 100644
index 000000000000..c5e36f981925
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isPadding = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isPadding( {} ); // $ExpectType boolean
+ isPadding( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isPadding(); // $ExpectError
+ isPadding( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/examples/index.js
new file mode 100644
index 000000000000..30417dd0a0f0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/examples/index.js
@@ -0,0 +1,35 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+var isPadding = require( './../lib' );
+
+var v = new Padding();
+var bool = isPadding( v );
+console.log( bool );
+// => true
+
+bool = isPadding( {} );
+console.log( bool );
+// => false
+
+bool = isPadding( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/lib/index.js
new file mode 100644
index 000000000000..c1d19e60019b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/lib/index.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a padding instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-padding
+*
+* @example
+* var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+* var isPadding = require( '@stdlib/plot/vega/base/assert/is-padding' );
+*
+* var v = new Padding();
+* var bool = isPadding( v );
+* // returns true
+*
+* bool = isPadding( {} );
+* // returns false
+*
+* bool = isPadding( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/lib/main.js
new file mode 100644
index 000000000000..294dbea0fdd9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/lib/main.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isObject = require( '@stdlib/assert/is-object' );
+var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a padding instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is a padding instance
+*
+* @example
+* var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+*
+* var v = new Padding();
+* var bool = isPadding( v );
+* // returns true
+*
+* bool = isPadding( {} );
+* // returns false
+*
+* bool = isPadding( 'foo' );
+* // returns false
+*/
+function isPadding( value ) {
+ return (
+ value instanceof Padding ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isNumber( value.bottom ) &&
+ isNumber( value.left ) &&
+ isNumber( value.right ) &&
+ isNumber( value.top )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isPadding;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/package.json
new file mode 100644
index 000000000000..15acaadc006b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-padding",
+ "version": "0.0.0",
+ "description": "Test if an input value is a padding instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/test/test.js
new file mode 100644
index 000000000000..a18d490b3e1b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-padding/test/test.js
@@ -0,0 +1,82 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+var isPadding = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isPadding, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a padding instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Padding({
+ 'left': 10
+ }),
+ new Padding({
+ 'right': 10
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isPadding( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a padding instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isPadding( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/README.md
new file mode 100644
index 000000000000..7c65deeef6e7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/README.md
@@ -0,0 +1,119 @@
+
+
+# isQuantitativeScaleName
+
+> Test if an input value is a supported quantitative [scale name][@stdlib/plot/vega/scale/names].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isQuantitativeScaleName = require( '@stdlib/plot/vega/base/assert/is-quantitative-scale-name' );
+```
+
+#### isQuantitativeScaleName( value )
+
+Tests if an input value is a supported quantitative [scale name][@stdlib/plot/vega/scale/names].
+
+```javascript
+var bool = isQuantitativeScaleName( 'linear' );
+// returns true
+
+bool = isQuantitativeScaleName( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isQuantitativeScaleName = require( '@stdlib/plot/vega/base/assert/is-quantitative-scale-name' );
+
+var bool = isQuantitativeScaleName( 'linear' );
+// returns true
+
+bool = isQuantitativeScaleName( 'log' );
+// returns true
+
+bool = isQuantitativeScaleName( '' );
+// returns false
+
+bool = isQuantitativeScaleName( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/names]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/scale/names
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/benchmark/benchmark.js
new file mode 100644
index 000000000000..73953e621094
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isQuantitativeScaleName = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'linear',
+ 'log',
+ 'pow',
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isQuantitativeScaleName( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/repl.txt
new file mode 100644
index 000000000000..2b0835f95fb7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/repl.txt
@@ -0,0 +1,29 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported quantitative scale name.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported quantitative scale
+ name.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'linear' )
+ true
+ > bool = {{alias}}( 'log' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/types/index.d.ts
new file mode 100644
index 000000000000..7bb50522afd8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/types/index.d.ts
@@ -0,0 +1,42 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported quantitative scale name.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported quantitative scale name
+*
+* @example
+* var bool = isQuantitativeScaleName( 'linear' );
+* // returns true
+*
+* bool = isQuantitativeScaleName( 'log' );
+* // returns true
+*
+* bool = isQuantitativeScaleName( 'foo' );
+* // returns false
+*/
+declare function isQuantitativeScaleName( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isQuantitativeScaleName;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/types/test.ts
new file mode 100644
index 000000000000..574542fd29ae
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isQuantitativeScaleName = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isQuantitativeScaleName( 'real' ); // $ExpectType boolean
+ isQuantitativeScaleName( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isQuantitativeScaleName(); // $ExpectError
+ isQuantitativeScaleName( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/examples/index.js
new file mode 100644
index 000000000000..27c8a0a1aa9c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isQuantitativeScaleName = require( './../lib' );
+
+var bool = isQuantitativeScaleName( 'linear' );
+console.log( bool );
+// => true
+
+bool = isQuantitativeScaleName( 'log' );
+console.log( bool );
+// => true
+
+bool = isQuantitativeScaleName( '' );
+console.log( bool );
+// => false
+
+bool = isQuantitativeScaleName( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/lib/index.js
new file mode 100644
index 000000000000..e9bd2e79d0c1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/lib/index.js
@@ -0,0 +1,46 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported quantitative scale name.
+*
+* @module @stdlib/plot/vega/base/assert/is-quantitative-scale-name
+*
+* @example
+* var isQuantitativeScaleName = require( '@stdlib/plot/vega/base/assert/is-quantitative-scale-name' );
+*
+* var bool = isQuantitativeScaleName( 'linear' );
+* // returns true
+*
+* bool = isQuantitativeScaleName( 'log' );
+* // returns true
+*
+* bool = isQuantitativeScaleName( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/lib/main.js
new file mode 100644
index 000000000000..1c4d9333924e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/lib/main.js
@@ -0,0 +1,52 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var scales = require( '@stdlib/plot/vega/scale/names' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported quantitative scale name.
+*
+* @name isQuantitativeScaleName
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported quantitative scale name
+*
+* @example
+* var bool = isQuantitativeScaleName( 'linear' );
+* // returns true
+*
+* bool = isQuantitativeScaleName( 'log' );
+* // returns true
+*
+* bool = isQuantitativeScaleName( 'foo' );
+* // returns false
+*/
+var isQuantitativeScaleName = contains( scales( 'quantitative' ) );
+
+
+// EXPORTS //
+
+module.exports = isQuantitativeScaleName;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/package.json
new file mode 100644
index 000000000000..d9787f657f8a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-quantitative-scale-name",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported quantitative scale name.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/test/test.js
new file mode 100644
index 000000000000..717bde1b6449
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale-name/test/test.js
@@ -0,0 +1,75 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var scales = require( '@stdlib/plot/vega/scale/names' );
+var isQuantitativeScaleName = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isQuantitativeScaleName, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported quantitative scale name', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = scales( 'quantitative' );
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isQuantitativeScaleName( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported quantitative scale name', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isQuantitativeScaleName( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/README.md
new file mode 100644
index 000000000000..0045bb73d4b5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/README.md
@@ -0,0 +1,125 @@
+
+
+# isQuantitativeScale
+
+> Test if an input value is a [quantitative scale][@stdlib/plot/vega/scale/quantitative].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isQuantitativeScale = require( '@stdlib/plot/vega/base/assert/is-quantitative-scale' );
+```
+
+#### isQuantitativeScale( value )
+
+Tests if an input value is a [quantitative scale][@stdlib/plot/vega/scale/quantitative].
+
+```javascript
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+
+var v = new QuantitativeScale({
+ 'name': 'xScale'
+});
+var bool = isQuantitativeScale( v );
+// returns true
+
+bool = isQuantitativeScale( {} );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+var isQuantitativeScale = require( '@stdlib/plot/vega/base/assert/is-quantitative-scale' );
+
+var v = new QuantitativeScale({
+ 'name': 'xScale'
+});
+var bool = isQuantitativeScale( v );
+// returns true
+
+bool = isQuantitativeScale( {} );
+// returns false
+
+bool = isQuantitativeScale( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/quantitative]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/scale/quantitative
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/benchmark/benchmark.js
new file mode 100644
index 000000000000..2dee022a62c4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+var pkg = require( './../package.json' ).name;
+var isQuantitativeScale = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new QuantitativeScale({
+ 'name': 'xScale'
+ }),
+ new QuantitativeScale({
+ 'name': 'yScale'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isQuantitativeScale( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isQuantitativeScale( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/repl.txt
new file mode 100644
index 000000000000..21043149674e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is a quantitative scale instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a quantitative scale instance.
+
+ Examples
+ --------
+ > var opts = { 'name': 'xScale' };
+ > var v = new {{alias:@stdlib/plot/vega/scale/quantitative}}( opts );
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/types/index.d.ts
new file mode 100644
index 000000000000..83e06d67fc90
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a quantitative scale instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a quantitative scale instance
+*
+* @example
+* var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+*
+* var v = new QuantitativeScale({
+* 'name': 'xScale'
+* });
+* var bool = isQuantitativeScale( v );
+* // returns true
+*
+* bool = isQuantitativeScale( {} );
+* // returns false
+*
+* bool = isQuantitativeScale( 'foo' );
+* // returns false
+*/
+declare function isQuantitativeScale( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isQuantitativeScale;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/types/test.ts
new file mode 100644
index 000000000000..80cb7233f14e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isQuantitativeScale = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isQuantitativeScale( {} ); // $ExpectType boolean
+ isQuantitativeScale( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isQuantitativeScale(); // $ExpectError
+ isQuantitativeScale( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/examples/index.js
new file mode 100644
index 000000000000..688ce8c1a579
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+var isQuantitativeScale = require( './../lib' );
+
+var v = new QuantitativeScale({
+ 'name': 'xScale'
+});
+var bool = isQuantitativeScale( v );
+console.log( bool );
+// => true
+
+bool = isQuantitativeScale( {} );
+console.log( bool );
+// => false
+
+bool = isQuantitativeScale( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/lib/index.js
new file mode 100644
index 000000000000..c2ded89b99c5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a quantitative scale instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-quantitative-scale
+*
+* @example
+* var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+* var isQuantitativeScale = require( '@stdlib/plot/vega/base/assert/is-quantitative-scale' );
+*
+* var v = new QuantitativeScale({
+* 'name': 'xScale'
+* });
+* var bool = isQuantitativeScale( v );
+* // returns true
+*
+* bool = isQuantitativeScale( {} );
+* // returns false
+*
+* bool = isQuantitativeScale( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/lib/main.js
new file mode 100644
index 000000000000..0526a515ab62
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/lib/main.js
@@ -0,0 +1,70 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isQuantitativeScaleName = require( '@stdlib/plot/vega/base/assert/is-quantitative-scale-name' );
+var isObject = require( '@stdlib/assert/is-object' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a quantitative scale instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is a quantitative scale instance
+*
+* @example
+* var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+*
+* var v = new QuantitativeScale({
+* 'name': 'xScale'
+* });
+* var bool = isQuantitativeScale( v );
+* // returns true
+*
+* bool = isQuantitativeScale( {} );
+* // returns false
+*
+* bool = isQuantitativeScale( 'foo' );
+* // returns false
+*/
+function isQuantitativeScale( value ) {
+ return (
+ value instanceof QuantitativeScale ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isQuantitativeScaleName( value.type ) &&
+ hasProp( value, 'name' ) &&
+ hasProp( value, 'domain' ) &&
+ hasProp( value, 'range' )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isQuantitativeScale;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/package.json
new file mode 100644
index 000000000000..fda7c21fc449
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-quantitative-scale",
+ "version": "0.0.0",
+ "description": "Test if an input value is a quantitative scale instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/test/test.js
new file mode 100644
index 000000000000..323c29918ec4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-quantitative-scale/test/test.js
@@ -0,0 +1,88 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var LinearScale = require( '@stdlib/plot/vega/scale/linear' );
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var isQuantitativeScale = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isQuantitativeScale, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a quantitative scale instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new LinearScale({
+ 'name': 'yScale'
+ }),
+ new QuantitativeScale({
+ 'name': 'zScale'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isQuantitativeScale( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a quantitative scale instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Scale({
+ 'name': 'xScale',
+ 'type': 'ordinal'
+ }),
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isQuantitativeScale( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/README.md
new file mode 100644
index 000000000000..0a999886f0d7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/README.md
@@ -0,0 +1,129 @@
+
+
+# isScaleArray
+
+> Test if an input value is an array of [scales][@stdlib/plot/vega/scale/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isScaleArray = require( '@stdlib/plot/vega/base/assert/is-scale-array' );
+```
+
+#### isScaleArray( value )
+
+Tests if an input value is an array of [scales][@stdlib/plot/vega/scale/base/ctor].
+
+```javascript
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+
+var v = new Scale({
+ 'name': 'xScale'
+});
+var bool = isScaleArray( [ v ] );
+// returns true
+```
+
+If provided an empty array, the function returns `false`.
+
+```javascript
+var bool = isScaleArray( [] );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var isScaleArray = require( '@stdlib/plot/vega/base/assert/is-scale-array' );
+
+var v = new Scale({
+ 'name': 'xScale'
+});
+var bool = isScaleArray( [ v ] );
+// returns true
+
+bool = isScaleArray( {} );
+// returns false
+
+bool = isScaleArray( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/scale/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/benchmark/benchmark.js
new file mode 100644
index 000000000000..a80feeaf77b0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/benchmark/benchmark.js
@@ -0,0 +1,91 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isScaleArray = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var i;
+
+ values = [
+ new Scale({
+ 'name': 'xScale'
+ }),
+ new Scale({
+ 'name': 'yScale'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = isScaleArray( [ values[ i%values.length ] ] );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isScaleArray( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/repl.txt
new file mode 100644
index 000000000000..c3dbe0217039
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is an array of scale instances.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an array of scale instances.
+
+ Examples
+ --------
+ > var opts = { 'name': 'xScale' };
+ > var v = new {{alias:@stdlib/plot/vega/scale/base/ctor}}( opts );
+ > var bool = {{alias}}( [ v ] )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/types/index.d.ts
new file mode 100644
index 000000000000..59d1aa3871cc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an array of scale instances.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an array of scale instances
+*
+* @example
+* var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+*
+* var v = new Scale({
+* 'name': 'xScale'
+* });
+* var bool = isScaleArray( [ v ] );
+* // returns true
+*
+* bool = isScaleArray( {} );
+* // returns false
+*
+* bool = isScaleArray( 'foo' );
+* // returns false
+*/
+declare function isScaleArray( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isScaleArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/types/test.ts
new file mode 100644
index 000000000000..bddf9090725f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isScaleArray = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isScaleArray( {} ); // $ExpectType boolean
+ isScaleArray( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isScaleArray(); // $ExpectError
+ isScaleArray( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/examples/index.js
new file mode 100644
index 000000000000..4f60997ddb5e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var isScaleArray = require( './../lib' );
+
+var v = new Scale({
+ 'name': 'xScale'
+});
+var bool = isScaleArray( [ v ] );
+console.log( bool );
+// => true
+
+bool = isScaleArray( {} );
+console.log( bool );
+// => false
+
+bool = isScaleArray( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/lib/index.js
new file mode 100644
index 000000000000..5f5ea52774c6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an array of scale instances.
+*
+* @module @stdlib/plot/vega/base/assert/is-scale-array
+*
+* @example
+* var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+* var isScaleArray = require( '@stdlib/plot/vega/base/assert/is-scale-array' );
+*
+* var v = new Scale({
+* 'name': 'xScale'
+* });
+* var bool = isScaleArray( [ v ] );
+* // returns true
+*
+* bool = isScaleArray( {} );
+* // returns false
+*
+* bool = isScaleArray( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/lib/main.js
new file mode 100644
index 000000000000..aaa33777ab6f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/lib/main.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var arraylikefcn = require( '@stdlib/assert/tools/array-like-function' );
+var isScale = require( '@stdlib/plot/vega/base/assert/is-scale' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an array of scale instances.
+*
+* @name isScaleArray
+* @type {Function}
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an array of scale instances
+*
+* @example
+* var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+*
+* var v = new Scale({
+* 'name': 'xScale'
+* });
+* var bool = isScaleArray( [ v ] );
+* // returns true
+*
+* bool = isScaleArray( {} );
+* // returns false
+*
+* bool = isScaleArray( 'foo' );
+* // returns false
+*/
+var isScaleArray = arraylikefcn( isScale );
+
+
+// EXPORTS //
+
+module.exports = isScaleArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/package.json
new file mode 100644
index 000000000000..5d5bb2c15d33
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-scale-array",
+ "version": "0.0.0",
+ "description": "Test if an input value is an array of scale instances.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/test/test.js
new file mode 100644
index 000000000000..313dd3305476
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-array/test/test.js
@@ -0,0 +1,85 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var LinearScale = require( '@stdlib/plot/vega/scale/linear' );
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var isScaleArray = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isScaleArray, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an array of scale instances', function test( t ) {
+ var values;
+ var actual;
+
+ values = [
+ new Scale({
+ 'name': 'xScale'
+ }),
+ new LinearScale({
+ 'name': 'yScale'
+ }),
+ new QuantitativeScale({
+ 'name': 'zScale'
+ })
+ ];
+ actual = isScaleArray( values );
+ t.strictEqual( actual, true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an array of scale instances', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleArray( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/README.md
new file mode 100644
index 000000000000..d0fe3d071821
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/README.md
@@ -0,0 +1,120 @@
+
+
+# isScaleNameArray
+
+> Test if an input value is an array of [scale names][@stdlib/plot/vega/scale/names].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isScaleNameArray = require( '@stdlib/plot/vega/base/assert/is-scale-name-array' );
+```
+
+#### isScaleNameArray( value )
+
+Tests if an input value is an array of [scale names][@stdlib/plot/vega/scale/names].
+
+```javascript
+var bool = isScaleNameArray( [ 'linear' ] );
+// returns true
+```
+
+If provided an empty array, the function returns `false`.
+
+```javascript
+var bool = isScaleNameArray( [] );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isScaleNameArray = require( '@stdlib/plot/vega/base/assert/is-scale-name-array' );
+
+var bool = isScaleNameArray( [ 'linear', 'log' ] );
+// returns true
+
+bool = isScaleNameArray( {} );
+// returns false
+
+bool = isScaleNameArray( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/names]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/base/scale-names
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/benchmark/benchmark.js
new file mode 100644
index 000000000000..20ee3d353553
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/benchmark/benchmark.js
@@ -0,0 +1,86 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isScaleNameArray = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var i;
+
+ values = [
+ 'linear',
+ 'log'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = isScaleNameArray( [ values[ i%values.length ] ] );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isScaleNameArray( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/repl.txt
new file mode 100644
index 000000000000..31f8ae99ff8c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/repl.txt
@@ -0,0 +1,24 @@
+
+{{alias}}( value )
+ Tests if an input value is an array of scale names.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an array of scale names.
+
+ Examples
+ --------
+ > var bool = {{alias}}( [ 'linear' ] )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/types/index.d.ts
new file mode 100644
index 000000000000..c7f793484991
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/types/index.d.ts
@@ -0,0 +1,42 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an array of scale names.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an array of scale names
+*
+* @example
+* var bool = isScaleNameArray( [ 'linear' ] );
+* // returns true
+*
+* bool = isScaleNameArray( {} );
+* // returns false
+*
+* bool = isScaleNameArray( 'foo' );
+* // returns false
+*/
+declare function isScaleNameArray( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isScaleNameArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/types/test.ts
new file mode 100644
index 000000000000..ba97322784e8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isScaleNameArray = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isScaleNameArray( {} ); // $ExpectType boolean
+ isScaleNameArray( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isScaleNameArray(); // $ExpectError
+ isScaleNameArray( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/examples/index.js
new file mode 100644
index 000000000000..b9c148d02a45
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/examples/index.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isScaleNameArray = require( './../lib' );
+
+var bool = isScaleNameArray( [ 'linear', 'log' ] );
+console.log( bool );
+// => true
+
+bool = isScaleNameArray( {} );
+console.log( bool );
+// => false
+
+bool = isScaleNameArray( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/lib/index.js
new file mode 100644
index 000000000000..9a12e98924a7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/lib/index.js
@@ -0,0 +1,46 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an array of scale names.
+*
+* @module @stdlib/plot/vega/base/assert/is-scale-name-array
+*
+* @example
+* var isScaleNameArray = require( '@stdlib/plot/vega/base/assert/is-scale-name-array' );
+*
+* var bool = isScaleNameArray( [ 'linear' ] );
+* // returns true
+*
+* bool = isScaleNameArray( {} );
+* // returns false
+*
+* bool = isScaleNameArray( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/lib/main.js
new file mode 100644
index 000000000000..e9bc69c710e8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/lib/main.js
@@ -0,0 +1,52 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var arraylikefcn = require( '@stdlib/assert/tools/array-like-function' );
+var isScaleName = require( '@stdlib/plot/vega/base/assert/is-scale-name' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an array of scale names.
+*
+* @name isScaleNameArray
+* @type {Function}
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an array of scale names
+*
+* @example
+* var bool = isScaleNameArray( [ 'linear' ] );
+* // returns true
+*
+* bool = isScaleNameArray( {} );
+* // returns false
+*
+* bool = isScaleNameArray( 'foo' );
+* // returns false
+*/
+var isScaleNameArray = arraylikefcn( isScaleName );
+
+
+// EXPORTS //
+
+module.exports = isScaleNameArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/package.json
new file mode 100644
index 000000000000..3510e4090b56
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-scale-name-array",
+ "version": "0.0.0",
+ "description": "Test if an input value is an array of scale names.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/test/test.js
new file mode 100644
index 000000000000..30a2083aac52
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name-array/test/test.js
@@ -0,0 +1,76 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isScaleNameArray = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isScaleNameArray, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an array of scale names', function test( t ) {
+ var values;
+ var actual;
+
+ values = [
+ 'linear',
+ 'log',
+ 'ordinal'
+ ];
+ actual = isScaleNameArray( values );
+ t.strictEqual( actual, true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an array of scale names', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleNameArray( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/README.md
new file mode 100644
index 000000000000..2eaccf7ff1e8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/README.md
@@ -0,0 +1,122 @@
+
+
+# isScaleName
+
+> Test if an input value is a supported [scale name][@stdlib/plot/vega/scale/names].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isScaleName = require( '@stdlib/plot/vega/base/assert/is-scale-name' );
+```
+
+#### isScaleName( value )
+
+Tests if an input value is a supported [scale name][@stdlib/plot/vega/scale/names].
+
+```javascript
+var bool = isScaleName( 'linear' );
+// returns true
+
+bool = isScaleName( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isScaleName = require( '@stdlib/plot/vega/base/assert/is-scale-name' );
+
+var bool = isScaleName( 'linear' );
+// returns true
+
+bool = isScaleName( 'log' );
+// returns true
+
+bool = isScaleName( 'ordinal' );
+// returns true
+
+bool = isScaleName( '' );
+// returns false
+
+bool = isScaleName( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/names]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/scale/names
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/benchmark/benchmark.js
new file mode 100644
index 000000000000..c6ee7a81aa24
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isScaleName = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'linear',
+ 'log',
+ 'pow',
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isScaleName( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/repl.txt
new file mode 100644
index 000000000000..906303f65dfc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/repl.txt
@@ -0,0 +1,30 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported scale name.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported scale name.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'linear' )
+ true
+ > bool = {{alias}}( 'log' )
+ true
+ > bool = {{alias}}( 'ordinal' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/types/index.d.ts
new file mode 100644
index 000000000000..162eaa0de4d1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported scale name.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported scale name
+*
+* @example
+* var bool = isScaleName( 'linear' );
+* // returns true
+*
+* bool = isScaleName( 'log' );
+* // returns true
+*
+* bool = isScaleName( 'ordinal' );
+* // returns true
+*
+* bool = isScaleName( 'foo' );
+* // returns false
+*/
+declare function isScaleName( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isScaleName;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/types/test.ts
new file mode 100644
index 000000000000..b16a9c16bf11
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isScaleName = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isScaleName( 'real' ); // $ExpectType boolean
+ isScaleName( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isScaleName(); // $ExpectError
+ isScaleName( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/examples/index.js
new file mode 100644
index 000000000000..c17cb142742a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/examples/index.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isScaleName = require( './../lib' );
+
+var bool = isScaleName( 'linear' );
+console.log( bool );
+// => true
+
+bool = isScaleName( 'log' );
+console.log( bool );
+// => true
+
+bool = isScaleName( 'ordinal' );
+console.log( bool );
+// => true
+
+bool = isScaleName( '' );
+console.log( bool );
+// => false
+
+bool = isScaleName( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/lib/index.js
new file mode 100644
index 000000000000..d3821f5f32e8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported scale name.
+*
+* @module @stdlib/plot/vega/base/assert/is-scale-name
+*
+* @example
+* var isScaleName = require( '@stdlib/plot/vega/base/assert/is-scale-name' );
+*
+* var bool = isScaleName( 'linear' );
+* // returns true
+*
+* bool = isScaleName( 'log' );
+* // returns true
+*
+* bool = isScaleName( 'ordinal' );
+* // returns true
+*
+* bool = isScaleName( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/lib/main.js
new file mode 100644
index 000000000000..f5fdfb8ebb59
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var scales = require( '@stdlib/plot/vega/scale/names' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported scale name.
+*
+* @name isScaleName
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported scale name
+*
+* @example
+* var bool = isScaleName( 'linear' );
+* // returns true
+*
+* bool = isScaleName( 'log' );
+* // returns true
+*
+* bool = isScaleName( 'ordinal' );
+* // returns true
+*
+* bool = isScaleName( 'foo' );
+* // returns false
+*/
+var isScaleName = contains( scales() );
+
+
+// EXPORTS //
+
+module.exports = isScaleName;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/package.json
new file mode 100644
index 000000000000..5c0c35ce9bef
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-scale-name",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported scale name.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/test/test.js
new file mode 100644
index 000000000000..7c53590d3808
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-name/test/test.js
@@ -0,0 +1,78 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isScaleName = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isScaleName, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported scale name', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'linear',
+ 'log',
+ 'ordinal'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleName( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported scale name', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleName( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/README.md
new file mode 100644
index 000000000000..9ba7c91ee8b0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/README.md
@@ -0,0 +1,122 @@
+
+
+# isScaleRangeDefault
+
+> Test if an input value is a supported [scale range default][@stdlib/plot/vega/scale/base/range-defaults].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isScaleRangeDefault = require( '@stdlib/plot/vega/base/assert/is-scale-range-default' );
+```
+
+#### isScaleRangeDefault( value )
+
+Tests if an input value is a supported [scale range default][@stdlib/plot/vega/scale/base/range-defaults].
+
+```javascript
+var bool = isScaleRangeDefault( 'width' );
+// returns true
+
+bool = isScaleRangeDefault( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isScaleRangeDefault = require( '@stdlib/plot/vega/base/assert/is-scale-range-default' );
+
+var bool = isScaleRangeDefault( 'width' );
+// returns true
+
+bool = isScaleRangeDefault( 'height' );
+// returns true
+
+bool = isScaleRangeDefault( 'ordinal' );
+// returns true
+
+bool = isScaleRangeDefault( '' );
+// returns false
+
+bool = isScaleRangeDefault( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/base/range-defaults]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/scale/base/range-defaults
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/benchmark/benchmark.js
new file mode 100644
index 000000000000..c3ea6841306e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/benchmark/benchmark.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isScaleRangeDefault = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'height',
+ 'width',
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isScaleRangeDefault( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/repl.txt
new file mode 100644
index 000000000000..7a8c4ddc2d25
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/repl.txt
@@ -0,0 +1,30 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported scale range default.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported scale range default.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'width' )
+ true
+ > bool = {{alias}}( 'height' )
+ true
+ > bool = {{alias}}( 'ordinal' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/types/index.d.ts
new file mode 100644
index 000000000000..225cb8d0a061
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported scale range default.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported scale range default
+*
+* @example
+* var bool = isScaleRangeDefault( 'width' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'height' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'ordinal' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'foo' );
+* // returns false
+*/
+declare function isScaleRangeDefault( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isScaleRangeDefault;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/types/test.ts
new file mode 100644
index 000000000000..662875a65d0d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isScaleRangeDefault = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isScaleRangeDefault( 'real' ); // $ExpectType boolean
+ isScaleRangeDefault( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isScaleRangeDefault(); // $ExpectError
+ isScaleRangeDefault( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/examples/index.js
new file mode 100644
index 000000000000..d090e44623a8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/examples/index.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isScaleRangeDefault = require( './../lib' );
+
+var bool = isScaleRangeDefault( 'width' );
+console.log( bool );
+// => true
+
+bool = isScaleRangeDefault( 'height' );
+console.log( bool );
+// => true
+
+bool = isScaleRangeDefault( 'ordinal' );
+console.log( bool );
+// => true
+
+bool = isScaleRangeDefault( '' );
+console.log( bool );
+// => false
+
+bool = isScaleRangeDefault( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/lib/index.js
new file mode 100644
index 000000000000..1f1b16468cb7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported scale range default.
+*
+* @module @stdlib/plot/vega/base/assert/is-scale-range-default
+*
+* @example
+* var isScaleRangeDefault = require( '@stdlib/plot/vega/base/assert/is-scale-range-default' );
+*
+* var bool = isScaleRangeDefault( 'width' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'height' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'ordinal' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/lib/main.js
new file mode 100644
index 000000000000..d7dba97e92a8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var scaleRangeDefaults = require( '@stdlib/plot/vega/scale/base/range-defaults' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported scale range default.
+*
+* @name isScaleRangeDefault
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported scale range default
+*
+* @example
+* var bool = isScaleRangeDefault( 'width' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'height' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'ordinal' );
+* // returns true
+*
+* bool = isScaleRangeDefault( 'foo' );
+* // returns false
+*/
+var isScaleRangeDefault = contains( scaleRangeDefaults() );
+
+
+// EXPORTS //
+
+module.exports = isScaleRangeDefault;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/package.json
new file mode 100644
index 000000000000..22a1e74aa6ba
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-scale-range-default",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported scale range default.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/test/test.js
new file mode 100644
index 000000000000..b1b557062a97
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-default/test/test.js
@@ -0,0 +1,78 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isScaleRangeDefault = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isScaleRangeDefault, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported scale range default', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'width',
+ 'height',
+ 'ordinal'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleRangeDefault( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported scale range default', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleRangeDefault( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/README.md
new file mode 100644
index 000000000000..9bc30248407f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/README.md
@@ -0,0 +1,125 @@
+
+
+# isScaleRangeInterpolationMethod
+
+> Test if an input value is a supported [scale range interpolation method][@stdlib/plot/vega/scale/base/range-interpolation-methods].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+
+
+```javascript
+var isScaleRangeInterpolationMethod = require( '@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method' );
+```
+
+#### isScaleRangeInterpolationMethod( value )
+
+Tests if an input value is a supported [scale range interpolation method][@stdlib/plot/vega/scale/base/range-interpolation-methods].
+
+
+
+```javascript
+var bool = isScaleRangeInterpolationMethod( 'rgb' );
+// returns true
+
+bool = isScaleRangeInterpolationMethod( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+
+
+```javascript
+var isScaleRangeInterpolationMethod = require( '@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method' );
+
+var bool = isScaleRangeInterpolationMethod( 'rgb' );
+// returns true
+
+bool = isScaleRangeInterpolationMethod( 'hsl' );
+// returns true
+
+bool = isScaleRangeInterpolationMethod( '' );
+// returns false
+
+bool = isScaleRangeInterpolationMethod( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/base/range-interpolation-methods]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/scale/base/range-interpolation-methods
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/benchmark/benchmark.js
new file mode 100644
index 000000000000..33fce3076f17
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/benchmark/benchmark.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isScaleRangeInterpolationMethod = require( './../lib' ); // eslint-disable-line id-length
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'hsl',
+ 'rgb',
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isScaleRangeInterpolationMethod( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/repl.txt
new file mode 100644
index 000000000000..a459e05ecaaf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/repl.txt
@@ -0,0 +1,29 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported scale range interpolation method.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported scale range
+ interpolation method.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'rgb' )
+ true
+ > bool = {{alias}}( 'hsl' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/types/index.d.ts
new file mode 100644
index 000000000000..d1d1c80e7ff8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/types/index.d.ts
@@ -0,0 +1,42 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported scale range interpolation method.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported scale range interpolation method
+*
+* @example
+* var bool = isScaleRangeInterpolationMethod( 'rgb' );
+* // returns true
+*
+* bool = isScaleRangeInterpolationMethod( 'hsl' );
+* // returns true
+*
+* bool = isScaleRangeInterpolationMethod( 'foo' );
+* // returns false
+*/
+declare function isScaleRangeInterpolationMethod( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isScaleRangeInterpolationMethod;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/types/test.ts
new file mode 100644
index 000000000000..54f0880b9f18
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isScaleRangeInterpolationMethod = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isScaleRangeInterpolationMethod( 'real' ); // $ExpectType boolean
+ isScaleRangeInterpolationMethod( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isScaleRangeInterpolationMethod(); // $ExpectError
+ isScaleRangeInterpolationMethod( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/examples/index.js
new file mode 100644
index 000000000000..91de59f224ad
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isScaleRangeInterpolationMethod = require( './../lib' ); // eslint-disable-line id-length
+
+var bool = isScaleRangeInterpolationMethod( 'rgb' );
+console.log( bool );
+// => true
+
+bool = isScaleRangeInterpolationMethod( 'hsl' );
+console.log( bool );
+// => true
+
+bool = isScaleRangeInterpolationMethod( '' );
+console.log( bool );
+// => false
+
+bool = isScaleRangeInterpolationMethod( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/lib/index.js
new file mode 100644
index 000000000000..6b5ad63b8daf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/lib/index.js
@@ -0,0 +1,46 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported scale range interpolation method.
+*
+* @module @stdlib/plot/vega/base/assert/is-scale-range-interpolation-method
+*
+* @example
+* var isScaleRangeInterpolationMethod = require( '@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method' );
+*
+* var bool = isScaleRangeInterpolationMethod( 'rgb' );
+* // returns true
+*
+* bool = isScaleRangeInterpolationMethod( 'hsl' );
+* // returns true
+*
+* bool = isScaleRangeInterpolationMethod( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/lib/main.js
new file mode 100644
index 000000000000..d3c577d1a15b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/lib/main.js
@@ -0,0 +1,52 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var values = require( '@stdlib/plot/vega/scale/base/range-interpolation-methods' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported scale range interpolation method.
+*
+* @name isScaleRangeInterpolationMethod
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported scale range interpolation method
+*
+* @example
+* var bool = isScaleRangeInterpolationMethod( 'rgb' );
+* // returns true
+*
+* bool = isScaleRangeInterpolationMethod( 'hsl' );
+* // returns true
+*
+* bool = isScaleRangeInterpolationMethod( 'foo' );
+* // returns false
+*/
+var isScaleRangeInterpolationMethod = contains( values() ); // eslint-disable-line id-length
+
+
+// EXPORTS //
+
+module.exports = isScaleRangeInterpolationMethod;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/package.json
new file mode 100644
index 000000000000..2bea23c4df8e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported scale range interpolation method.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/test/test.js
new file mode 100644
index 000000000000..bb58c9135bc3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale-range-interpolation-method/test/test.js
@@ -0,0 +1,78 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isScaleRangeInterpolationMethod = require( './../lib' ); // eslint-disable-line id-length
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isScaleRangeInterpolationMethod, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported scale range interpolation method', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'rgb',
+ 'hsl',
+ 'hsl-long'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleRangeInterpolationMethod( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported scale range interpolation method', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScaleRangeInterpolationMethod( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/README.md
new file mode 100644
index 000000000000..cbb750ac1422
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/README.md
@@ -0,0 +1,125 @@
+
+
+# isScale
+
+> Test if an input value is a [scale][@stdlib/plot/vega/scale/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isScale = require( '@stdlib/plot/vega/base/assert/is-scale' );
+```
+
+#### isScale( value )
+
+Tests if an input value is a [scale][@stdlib/plot/vega/scale/base/ctor].
+
+```javascript
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+
+var v = new Scale({
+ 'name': 'xScale'
+});
+var bool = isScale( v );
+// returns true
+
+bool = isScale( {} );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var isScale = require( '@stdlib/plot/vega/base/assert/is-scale' );
+
+var v = new Scale({
+ 'name': 'xScale'
+});
+var bool = isScale( v );
+// returns true
+
+bool = isScale( {} );
+// returns false
+
+bool = isScale( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/scale/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/scale/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/benchmark/benchmark.js
new file mode 100644
index 000000000000..93c12512c4dc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isScale = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new Scale({
+ 'name': 'xScale'
+ }),
+ new Scale({
+ 'name': 'yScale'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isScale( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isScale( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/repl.txt
new file mode 100644
index 000000000000..d9eb5aacb956
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is a scale instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a scale instance.
+
+ Examples
+ --------
+ > var opts = { 'name': 'xScale' };
+ > var v = new {{alias:@stdlib/plot/vega/scale/base/ctor}}( opts );
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/types/index.d.ts
new file mode 100644
index 000000000000..295558d97ba0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a scale instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a scale instance
+*
+* @example
+* var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+*
+* var v = new Scale({
+* 'name': 'xScale'
+* });
+* var bool = isScale( v );
+* // returns true
+*
+* bool = isScale( {} );
+* // returns false
+*
+* bool = isScale( 'foo' );
+* // returns false
+*/
+declare function isScale( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isScale;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/types/test.ts
new file mode 100644
index 000000000000..0caf748b22d9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isScale = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isScale( {} ); // $ExpectType boolean
+ isScale( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isScale(); // $ExpectError
+ isScale( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/examples/index.js
new file mode 100644
index 000000000000..03d66f4ed1eb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var isScale = require( './../lib' );
+
+var v = new Scale({
+ 'name': 'xScale'
+});
+var bool = isScale( v );
+console.log( bool );
+// => true
+
+bool = isScale( {} );
+console.log( bool );
+// => false
+
+bool = isScale( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/lib/index.js
new file mode 100644
index 000000000000..e8ab289361ed
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a scale instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-scale
+*
+* @example
+* var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+* var isScale = require( '@stdlib/plot/vega/base/assert/is-scale' );
+*
+* var v = new Scale({
+* 'name': 'xScale'
+* });
+* var bool = isScale( v );
+* // returns true
+*
+* bool = isScale( {} );
+* // returns false
+*
+* bool = isScale( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/lib/main.js
new file mode 100644
index 000000000000..400be21ab066
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/lib/main.js
@@ -0,0 +1,70 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isScaleName = require( '@stdlib/plot/vega/base/assert/is-scale-name' );
+var isObject = require( '@stdlib/assert/is-object' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a scale instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is a scale instance
+*
+* @example
+* var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+*
+* var v = new Scale({
+* 'name': 'xScale'
+* });
+* var bool = isScale( v );
+* // returns true
+*
+* bool = isScale( {} );
+* // returns false
+*
+* bool = isScale( 'foo' );
+* // returns false
+*/
+function isScale( value ) {
+ return (
+ value instanceof Scale ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isScaleName( value.type ) &&
+ hasProp( value, 'name' ) &&
+ hasProp( value, 'domain' ) &&
+ hasProp( value, 'range' )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isScale;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/package.json
new file mode 100644
index 000000000000..7c61761cbc56
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-scale",
+ "version": "0.0.0",
+ "description": "Test if an input value is a scale instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/test/test.js
new file mode 100644
index 000000000000..875cdeab2adc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-scale/test/test.js
@@ -0,0 +1,87 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var LinearScale = require( '@stdlib/plot/vega/scale/linear' );
+var QuantitativeScale = require( '@stdlib/plot/vega/scale/quantitative' );
+var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+var isScale = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isScale, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a scale instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Scale({
+ 'name': 'xScale'
+ }),
+ new LinearScale({
+ 'name': 'yScale'
+ }),
+ new QuantitativeScale({
+ 'name': 'zScale'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScale( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a scale instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isScale( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/README.md
new file mode 100644
index 000000000000..b564ab736ff4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/README.md
@@ -0,0 +1,119 @@
+
+
+# isStrokeCap
+
+> Test if an input value is a supported [stroke cap][@stdlib/plot/vega/base/stroke-caps].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isStrokeCap = require( '@stdlib/plot/vega/base/assert/is-stroke-cap' );
+```
+
+#### isStrokeCap( value )
+
+Tests if an input value is a supported [stroke cap][@stdlib/plot/vega/base/stroke-caps].
+
+```javascript
+var bool = isStrokeCap( 'round' );
+// returns true
+
+bool = isStrokeCap( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isStrokeCap = require( '@stdlib/plot/vega/base/assert/is-stroke-cap' );
+
+var bool = isStrokeCap( 'round' );
+// returns true
+
+bool = isStrokeCap( 'square' );
+// returns true
+
+bool = isStrokeCap( '' );
+// returns false
+
+bool = isStrokeCap( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/base/stroke-caps]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/base/stroke-caps
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/benchmark/benchmark.js
new file mode 100644
index 000000000000..4924359baeb4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isStrokeCap = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'square',
+ 'round',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isStrokeCap( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/repl.txt
new file mode 100644
index 000000000000..9ab3b7b49d85
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported stroke cap.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported stroke cap.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'round' )
+ true
+ > bool = {{alias}}( 'square' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/types/index.d.ts
new file mode 100644
index 000000000000..610473b3a2b6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported stroke cap.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported stroke cap
+*
+* @example
+* var bool = isStrokeCap( 'round' );
+* // returns true
+*
+* bool = isStrokeCap( 'square' );
+* // returns true
+*
+* bool = isStrokeCap( 'bar' );
+* // returns false
+*
+* bool = isStrokeCap( 'foo' );
+* // returns false
+*/
+declare function isStrokeCap( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isStrokeCap;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/types/test.ts
new file mode 100644
index 000000000000..0b103412259e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isStrokeCap = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isStrokeCap( 'square' ); // $ExpectType boolean
+ isStrokeCap( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isStrokeCap(); // $ExpectError
+ isStrokeCap( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/examples/index.js
new file mode 100644
index 000000000000..e39bab6d1336
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isStrokeCap = require( './../lib' );
+
+var bool = isStrokeCap( 'round' );
+console.log( bool );
+// => true
+
+bool = isStrokeCap( 'square' );
+console.log( bool );
+// => true
+
+bool = isStrokeCap( '' );
+console.log( bool );
+// => false
+
+bool = isStrokeCap( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/lib/index.js
new file mode 100644
index 000000000000..872ac6312ae8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported stroke cap.
+*
+* @module @stdlib/plot/vega/base/assert/is-stroke-cap
+*
+* @example
+* var isStrokeCap = require( '@stdlib/plot/vega/base/assert/is-stroke-cap' );
+*
+* var bool = isStrokeCap( 'round' );
+* // returns true
+*
+* bool = isStrokeCap( 'square' );
+* // returns true
+*
+* bool = isStrokeCap( 'bar' );
+* // returns false
+*
+* bool = isStrokeCap( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/lib/main.js
new file mode 100644
index 000000000000..db720d060f7f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var strokeCaps = require( '@stdlib/plot/vega/base/stroke-caps' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported stroke cap.
+*
+* @name isStrokeCap
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported stroke cap
+*
+* @example
+* var bool = isStrokeCap( 'round' );
+* // returns true
+*
+* bool = isStrokeCap( 'square' );
+* // returns true
+*
+* bool = isStrokeCap( 'bar' );
+* // returns false
+*
+* bool = isStrokeCap( 'foo' );
+* // returns false
+*/
+var isStrokeCap = contains( strokeCaps() );
+
+
+// EXPORTS //
+
+module.exports = isStrokeCap;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/package.json
new file mode 100644
index 000000000000..76708cfde54e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-stroke-cap",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported stroke cap.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/test/test.js
new file mode 100644
index 000000000000..fc476d90f88a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-stroke-cap/test/test.js
@@ -0,0 +1,78 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isStrokeCap = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isStrokeCap, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported stroke cap', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'round',
+ 'square',
+ 'butt'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isStrokeCap( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported stroke cap', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isStrokeCap( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/README.md
new file mode 100644
index 000000000000..09bc0f6c2b0d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/README.md
@@ -0,0 +1,119 @@
+
+
+# isTitleOrientation
+
+> Test if an input value is a supported [title orientation][@stdlib/plot/vega/title/orientations].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isTitleOrientation = require( '@stdlib/plot/vega/base/assert/is-title-orientation' );
+```
+
+#### isTitleOrientation( value )
+
+Tests if an input value is a supported [title orientation][@stdlib/plot/vega/title/orientations].
+
+```javascript
+var bool = isTitleOrientation( 'bottom' );
+// returns true
+
+bool = isTitleOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isTitleOrientation = require( '@stdlib/plot/vega/base/assert/is-title-orientation' );
+
+var bool = isTitleOrientation( 'bottom' );
+// returns true
+
+bool = isTitleOrientation( 'left' );
+// returns true
+
+bool = isTitleOrientation( '' );
+// returns false
+
+bool = isTitleOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/title/orientations]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/title/orientations
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/benchmark/benchmark.js
new file mode 100644
index 000000000000..0d9713bfcf58
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isTitleOrientation = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'left',
+ 'bottom',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isTitleOrientation( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/repl.txt
new file mode 100644
index 000000000000..4d3c8ba6cd3d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported title orientation.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported title orientation.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'bottom' )
+ true
+ > bool = {{alias}}( 'left' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/types/index.d.ts
new file mode 100644
index 000000000000..47b83de10a2d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported title orientation.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported title orientation
+*
+* @example
+* var bool = isTitleOrientation( 'bottom' );
+* // returns true
+*
+* bool = isTitleOrientation( 'left' );
+* // returns true
+*
+* bool = isTitleOrientation( 'bar' );
+* // returns false
+*
+* bool = isTitleOrientation( 'foo' );
+* // returns false
+*/
+declare function isTitleOrientation( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isTitleOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/types/test.ts
new file mode 100644
index 000000000000..190c0a535adf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isTitleOrientation = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isTitleOrientation( 'left' ); // $ExpectType boolean
+ isTitleOrientation( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isTitleOrientation(); // $ExpectError
+ isTitleOrientation( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/examples/index.js
new file mode 100644
index 000000000000..903444eaf5fc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isTitleOrientation = require( './../lib' );
+
+var bool = isTitleOrientation( 'bottom' );
+console.log( bool );
+// => true
+
+bool = isTitleOrientation( 'left' );
+console.log( bool );
+// => true
+
+bool = isTitleOrientation( '' );
+console.log( bool );
+// => false
+
+bool = isTitleOrientation( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/lib/index.js
new file mode 100644
index 000000000000..361df8ba40c8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported title orientation.
+*
+* @module @stdlib/plot/vega/base/assert/is-title-orientation
+*
+* @example
+* var isTitleOrientation = require( '@stdlib/plot/vega/base/assert/is-title-orientation' );
+*
+* var bool = isTitleOrientation( 'bottom' );
+* // returns true
+*
+* bool = isTitleOrientation( 'left' );
+* // returns true
+*
+* bool = isTitleOrientation( 'bar' );
+* // returns false
+*
+* bool = isTitleOrientation( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/lib/main.js
new file mode 100644
index 000000000000..167e04995175
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var titleOrientations = require( '@stdlib/plot/vega/title/orientations' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported title orientation.
+*
+* @name isTitleOrientation
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported title orientation
+*
+* @example
+* var bool = isTitleOrientation( 'bottom' );
+* // returns true
+*
+* bool = isTitleOrientation( 'left' );
+* // returns true
+*
+* bool = isTitleOrientation( 'bar' );
+* // returns false
+*
+* bool = isTitleOrientation( 'foo' );
+* // returns false
+*/
+var isTitleOrientation = contains( titleOrientations() );
+
+
+// EXPORTS //
+
+module.exports = isTitleOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/package.json
new file mode 100644
index 000000000000..a4153c0bea9b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-title-orientation",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported title orientation.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/test/test.js
new file mode 100644
index 000000000000..342c68923dfd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title-orientation/test/test.js
@@ -0,0 +1,79 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isTitleOrientation = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isTitleOrientation, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported title orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'bottom',
+ 'left',
+ 'top',
+ 'right'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isTitleOrientation( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported title orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isTitleOrientation( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/README.md
new file mode 100644
index 000000000000..deffa94d69d8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/README.md
@@ -0,0 +1,125 @@
+
+
+# isTitle
+
+> Test if an input value is a [title][@stdlib/plot/vega/title/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isTitle = require( '@stdlib/plot/vega/base/assert/is-title' );
+```
+
+#### isTitle( value )
+
+Tests if an input value is a [title][@stdlib/plot/vega/title/ctor].
+
+```javascript
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+
+var v = new Title({
+ 'text': 'Beep'
+});
+var bool = isTitle( v );
+// returns true
+
+bool = isTitle( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+var isTitle = require( '@stdlib/plot/vega/base/assert/is-title' );
+
+var v = new Title({
+ 'text': 'foo'
+});
+var bool = isTitle( v );
+// returns true
+
+bool = isTitle( {} );
+// returns false
+
+bool = isTitle( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/title/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/title/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/benchmark/benchmark.js
new file mode 100644
index 000000000000..5f592af98a4e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+var pkg = require( './../package.json' ).name;
+var isTitle = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new Title({
+ 'text': 'foo'
+ }),
+ new Title({
+ 'text': 'bar'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isTitle( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isTitle( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/repl.txt
new file mode 100644
index 000000000000..e87a93f1afe2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is a title instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a title instance.
+
+ Examples
+ --------
+ > var opts = { 'text': 'foo' };
+ > var v = new {{alias:@stdlib/plot/vega/title/ctor}}( opts );
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/types/index.d.ts
new file mode 100644
index 000000000000..4f7f25e3fa2e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a title instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a title instance
+*
+* @example
+* var Title = require( '@stdlib/plot/vega/title/ctor' );
+*
+* var v = new Title({
+* 'text': 'foo'
+* });
+* var bool = isTitle( v );
+* // returns true
+*
+* bool = isTitle( {} );
+* // returns false
+*
+* bool = isTitle( 'foo' );
+* // returns false
+*/
+declare function isTitle( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isTitle;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/types/test.ts
new file mode 100644
index 000000000000..0d1d5a9a4622
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isTitle = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isTitle( {} ); // $ExpectType boolean
+ isTitle( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isTitle(); // $ExpectError
+ isTitle( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/examples/index.js
new file mode 100644
index 000000000000..3f020bcea3d5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+var isTitle = require( './../lib' );
+
+var v = new Title({
+ 'text': 'foo'
+});
+var bool = isTitle( v );
+console.log( bool );
+// => true
+
+bool = isTitle( {} );
+console.log( bool );
+// => false
+
+bool = isTitle( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/lib/index.js
new file mode 100644
index 000000000000..a89aa42140a2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a title instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-title
+*
+* @example
+* var Title = require( '@stdlib/plot/vega/title/ctor' );
+* var isTitle = require( '@stdlib/plot/vega/base/assert/is-title' );
+*
+* var v = new Title({
+* 'text': 'foo'
+* });
+* var bool = isTitle( v );
+* // returns true
+*
+* bool = isTitle( {} );
+* // returns false
+*
+* bool = isTitle( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/lib/main.js
new file mode 100644
index 000000000000..ef42a96defd6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/lib/main.js
@@ -0,0 +1,69 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isObject = require( '@stdlib/assert/is-object' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var hasProp = require( '@stdlib/assert/has-property' );
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a title instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is a title instance
+*
+* @example
+* var Title = require( '@stdlib/plot/vega/title/ctor' );
+*
+* var v = new Title({
+* 'text': 'foo'
+* });
+* var bool = isTitle( v );
+* // returns true
+*
+* bool = isTitle( {} );
+* // returns false
+*
+* bool = isTitle( 'foo' );
+* // returns false
+*/
+function isTitle( value ) {
+ return (
+ value instanceof Title ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isString( value.text ) &&
+ hasProp( value, 'subtitle' ) &&
+ hasProp( value, 'subtitlePadding' )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isTitle;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/package.json
new file mode 100644
index 000000000000..3c4ba074cd10
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-title",
+ "version": "0.0.0",
+ "description": "Test if an input value is a title instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/test/test.js
new file mode 100644
index 000000000000..01617fda2d08
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-title/test/test.js
@@ -0,0 +1,82 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+var isTitle = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isTitle, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a title instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Title({
+ 'text': 'foo'
+ }),
+ new Title({
+ 'text': 'bar'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isTitle( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a title instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isTitle( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/README.md
new file mode 100644
index 000000000000..be676b984b7f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/README.md
@@ -0,0 +1,129 @@
+
+
+# isTriggerArray
+
+> Test if an input value is an array of [triggers][@stdlib/plot/vega/trigger/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isTriggerArray = require( '@stdlib/plot/vega/base/assert/is-trigger-array' );
+```
+
+#### isTriggerArray( value )
+
+Tests if an input value is an array of [triggers][@stdlib/plot/vega/trigger/base/ctor].
+
+```javascript
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+
+var v = new Trigger({
+ 'trigger': '!shift'
+});
+var bool = isTriggerArray( [ v ] );
+// returns true
+```
+
+If provided an empty array, the function returns `false`.
+
+```javascript
+var bool = isTriggerArray( [] );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var isTriggerArray = require( '@stdlib/plot/vega/base/assert/is-trigger-array' );
+
+var v = new Trigger({
+ 'trigger': '!shift'
+});
+var bool = isTriggerArray( [ v ] );
+// returns true
+
+bool = isTriggerArray( {} );
+// returns false
+
+bool = isTriggerArray( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/trigger/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/trigger/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/benchmark/benchmark.js
new file mode 100644
index 000000000000..75fdd92c66bb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/benchmark/benchmark.js
@@ -0,0 +1,91 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isTriggerArray = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var i;
+
+ values = [
+ new Trigger({
+ 'trigger': '!shift'
+ }),
+ new Trigger({
+ 'trigger': '!shift'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = isTriggerArray( [ values[ i%values.length ] ] );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isTriggerArray( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/repl.txt
new file mode 100644
index 000000000000..476395e33bcc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is an array of trigger instances.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is an array of trigger instances.
+
+ Examples
+ --------
+ > var opts = { 'trigger': '!shift' };
+ > var v = new {{alias:@stdlib/plot/vega/trigger/base/ctor}}( opts );
+ > var bool = {{alias}}( [ v ] )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/types/index.d.ts
new file mode 100644
index 000000000000..4794d8e00b0e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is an array of trigger instances.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is an array of trigger instances
+*
+* @example
+* var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+*
+* var v = new Trigger({
+* 'trigger': '!shift'
+* });
+* var bool = isTriggerArray( [ v ] );
+* // returns true
+*
+* bool = isTriggerArray( {} );
+* // returns false
+*
+* bool = isTriggerArray( 'foo' );
+* // returns false
+*/
+declare function isTriggerArray( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isTriggerArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/types/test.ts
new file mode 100644
index 000000000000..abfa31b27ab6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isTriggerArray = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isTriggerArray( {} ); // $ExpectType boolean
+ isTriggerArray( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isTriggerArray(); // $ExpectError
+ isTriggerArray( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/examples/index.js
new file mode 100644
index 000000000000..4a0c34e5e64a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var isTriggerArray = require( './../lib' );
+
+var v = new Trigger({
+ 'trigger': '!shift'
+});
+var bool = isTriggerArray( [ v ] );
+console.log( bool );
+// => true
+
+bool = isTriggerArray( {} );
+console.log( bool );
+// => false
+
+bool = isTriggerArray( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/lib/index.js
new file mode 100644
index 000000000000..4edb47df1186
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is an array of trigger instances.
+*
+* @module @stdlib/plot/vega/base/assert/is-trigger-array
+*
+* @example
+* var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+* var isTriggerArray = require( '@stdlib/plot/vega/base/assert/is-trigger-array' );
+*
+* var v = new Trigger({
+* 'trigger': '!shift'
+* });
+* var bool = isTriggerArray( [ v ] );
+* // returns true
+*
+* bool = isTriggerArray( {} );
+* // returns false
+*
+* bool = isTriggerArray( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/lib/main.js
new file mode 100644
index 000000000000..762d37013d80
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/lib/main.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var arraylikefcn = require( '@stdlib/assert/tools/array-like-function' );
+var isTrigger = require( '@stdlib/plot/vega/base/assert/is-trigger' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is an array of trigger instances.
+*
+* @name isTriggerArray
+* @type {Function}
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is an array of trigger instances
+*
+* @example
+* var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+*
+* var v = new Trigger({
+* 'trigger': '!shift'
+* });
+* var bool = isTriggerArray( [ v ] );
+* // returns true
+*
+* bool = isTriggerArray( {} );
+* // returns false
+*
+* bool = isTriggerArray( 'foo' );
+* // returns false
+*/
+var isTriggerArray = arraylikefcn( isTrigger );
+
+
+// EXPORTS //
+
+module.exports = isTriggerArray;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/package.json
new file mode 100644
index 000000000000..750eeef37577
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-trigger-array",
+ "version": "0.0.0",
+ "description": "Test if an input value is an array of trigger instances.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/test/test.js
new file mode 100644
index 000000000000..06beb9250aa7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger-array/test/test.js
@@ -0,0 +1,77 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var isTriggerArray = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isTriggerArray, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided an array of trigger instances', function test( t ) {
+ var values;
+ var actual;
+
+ values = [
+ new Trigger({
+ 'trigger': '!shift'
+ })
+ ];
+ actual = isTriggerArray( values );
+ t.strictEqual( actual, true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided an array of trigger instances', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isTriggerArray( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/README.md
new file mode 100644
index 000000000000..69d8a71d13a6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/README.md
@@ -0,0 +1,125 @@
+
+
+# isTrigger
+
+> Test if an input value is a [trigger][@stdlib/plot/vega/trigger/base/ctor].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isTrigger = require( '@stdlib/plot/vega/base/assert/is-trigger' );
+```
+
+#### isTrigger( value )
+
+Tests if an input value is a [trigger][@stdlib/plot/vega/trigger/base/ctor].
+
+```javascript
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+
+var v = new Trigger({
+ 'trigger': '!shift'
+});
+var bool = isTrigger( v );
+// returns true
+
+bool = isTrigger( {} );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var isTrigger = require( '@stdlib/plot/vega/base/assert/is-trigger' );
+
+var v = new Trigger({
+ 'trigger': '!shift'
+});
+var bool = isTrigger( v );
+// returns true
+
+bool = isTrigger( {} );
+// returns false
+
+bool = isTrigger( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/trigger/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/trigger/base/ctor
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/benchmark/benchmark.js
new file mode 100644
index 000000000000..533480ac7bf0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/benchmark/benchmark.js
@@ -0,0 +1,93 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var isTrigger = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg+'::true', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ new Trigger({
+ 'trigger': '!shift'
+ }),
+ new Trigger({
+ 'trigger': '!shift'
+ })
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isTrigger( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::false', function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop',
+ [],
+ {}
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isTrigger( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/repl.txt
new file mode 100644
index 000000000000..f9ebefe75f44
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/repl.txt
@@ -0,0 +1,26 @@
+
+{{alias}}( value )
+ Tests if an input value is a trigger instance.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a trigger instance.
+
+ Examples
+ --------
+ > var opts = { 'trigger': '!shift' };
+ > var v = new {{alias:@stdlib/plot/vega/trigger/base/ctor}}( opts );
+ > var bool = {{alias}}( v )
+ true
+ > bool = {{alias}}( {} )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/types/index.d.ts
new file mode 100644
index 000000000000..8ca1aa1444fa
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a trigger instance.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a trigger instance
+*
+* @example
+* var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+*
+* var v = new Trigger({
+* 'trigger': '!shift'
+* });
+* var bool = isTrigger( v );
+* // returns true
+*
+* bool = isTrigger( {} );
+* // returns false
+*
+* bool = isTrigger( 'foo' );
+* // returns false
+*/
+declare function isTrigger( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isTrigger;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/types/test.ts
new file mode 100644
index 000000000000..772fadf448fb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isTrigger = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isTrigger( {} ); // $ExpectType boolean
+ isTrigger( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isTrigger(); // $ExpectError
+ isTrigger( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/examples/index.js
new file mode 100644
index 000000000000..8a67d9853305
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var isTrigger = require( './../lib' );
+
+var v = new Trigger({
+ 'trigger': '!shift'
+});
+var bool = isTrigger( v );
+console.log( bool );
+// => true
+
+bool = isTrigger( {} );
+console.log( bool );
+// => false
+
+bool = isTrigger( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/lib/index.js
new file mode 100644
index 000000000000..bdf3b72b691b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/lib/index.js
@@ -0,0 +1,50 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a trigger instance.
+*
+* @module @stdlib/plot/vega/base/assert/is-trigger
+*
+* @example
+* var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+* var isTrigger = require( '@stdlib/plot/vega/base/assert/is-trigger' );
+*
+* var v = new Trigger({
+* 'trigger': '!shift'
+* });
+* var bool = isTrigger( v );
+* // returns true
+*
+* bool = isTrigger( {} );
+* // returns false
+*
+* bool = isTrigger( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/lib/main.js
new file mode 100644
index 000000000000..736683400c1d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/lib/main.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var isObject = require( '@stdlib/assert/is-object' );
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a trigger instance.
+*
+* @param {*} value - value to test
+* @returns {boolean} boolean indicating whether an input value is a trigger instance
+*
+* @example
+* var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+*
+* var v = new Trigger({
+* 'trigger': '!shift'
+* });
+* var bool = isTrigger( v );
+* // returns true
+*
+* bool = isTrigger( {} );
+* // returns false
+*
+* bool = isTrigger( 'foo' );
+* // returns false
+*/
+function isTrigger( value ) {
+ return (
+ value instanceof Trigger ||
+
+ // The following is a set of rather imperfect heuristics for handling instances originating in a different realm...
+ (
+ isObject( value ) &&
+ isString( value.trigger )
+ )
+ );
+}
+
+
+// EXPORTS //
+
+module.exports = isTrigger;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/package.json
new file mode 100644
index 000000000000..ef9bffb730d6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-trigger",
+ "version": "0.0.0",
+ "description": "Test if an input value is a trigger instance.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/test/test.js
new file mode 100644
index 000000000000..fecd5fc41876
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-trigger/test/test.js
@@ -0,0 +1,79 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Trigger = require( '@stdlib/plot/vega/trigger/base/ctor' );
+var isTrigger = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isTrigger, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a trigger instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ new Trigger({
+ 'trigger': '!shift'
+ })
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isTrigger( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a trigger instance', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isTrigger( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/README.md
new file mode 100644
index 000000000000..25613e67251e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/README.md
@@ -0,0 +1,119 @@
+
+
+# isVerticalBaseline
+
+> Test if an input value is a supported [vertical baseline][@stdlib/plot/vega/base/vertical-baselines].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isVerticalBaseline = require( '@stdlib/plot/vega/base/assert/is-vertical-baseline' );
+```
+
+#### isVerticalBaseline( value )
+
+Tests if an input value is a supported [vertical baseline][@stdlib/plot/vega/base/vertical-baselines].
+
+```javascript
+var bool = isVerticalBaseline( 'bottom' );
+// returns true
+
+bool = isVerticalBaseline( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isVerticalBaseline = require( '@stdlib/plot/vega/base/assert/is-vertical-baseline' );
+
+var bool = isVerticalBaseline( 'bottom' );
+// returns true
+
+bool = isVerticalBaseline( 'middle' );
+// returns true
+
+bool = isVerticalBaseline( '' );
+// returns false
+
+bool = isVerticalBaseline( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/base/vertical-baselines]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/base/vertical-baselines
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/benchmark/benchmark.js
new file mode 100644
index 000000000000..d3d37908a7d5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isVerticalBaseline = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'middle',
+ 'bottom',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isVerticalBaseline( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/repl.txt
new file mode 100644
index 000000000000..5e9be2acc4c9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported vertical baseline.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported vertical baseline.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'bottom' )
+ true
+ > bool = {{alias}}( 'middle' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/types/index.d.ts
new file mode 100644
index 000000000000..fe63004d9856
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported vertical baseline.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported vertical baseline
+*
+* @example
+* var bool = isVerticalBaseline( 'bottom' );
+* // returns true
+*
+* bool = isVerticalBaseline( 'middle' );
+* // returns true
+*
+* bool = isVerticalBaseline( 'bar' );
+* // returns false
+*
+* bool = isVerticalBaseline( 'foo' );
+* // returns false
+*/
+declare function isVerticalBaseline( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isVerticalBaseline;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/types/test.ts
new file mode 100644
index 000000000000..fd12e079db4a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isVerticalBaseline = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isVerticalBaseline( 'middle' ); // $ExpectType boolean
+ isVerticalBaseline( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isVerticalBaseline(); // $ExpectError
+ isVerticalBaseline( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/examples/index.js
new file mode 100644
index 000000000000..c75b54b29d2b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isVerticalBaseline = require( './../lib' );
+
+var bool = isVerticalBaseline( 'bottom' );
+console.log( bool );
+// => true
+
+bool = isVerticalBaseline( 'middle' );
+console.log( bool );
+// => true
+
+bool = isVerticalBaseline( '' );
+console.log( bool );
+// => false
+
+bool = isVerticalBaseline( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/lib/index.js
new file mode 100644
index 000000000000..b9a864f9e81c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported vertical baseline.
+*
+* @module @stdlib/plot/vega/base/assert/is-vertical-baseline
+*
+* @example
+* var isVerticalBaseline = require( '@stdlib/plot/vega/base/assert/is-vertical-baseline' );
+*
+* var bool = isVerticalBaseline( 'bottom' );
+* // returns true
+*
+* bool = isVerticalBaseline( 'middle' );
+* // returns true
+*
+* bool = isVerticalBaseline( 'bar' );
+* // returns false
+*
+* bool = isVerticalBaseline( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/lib/main.js
new file mode 100644
index 000000000000..b50264bc0bb8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var verticalBaselines = require( '@stdlib/plot/vega/base/vertical-baselines' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported vertical baseline.
+*
+* @name isVerticalBaseline
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported vertical baseline
+*
+* @example
+* var bool = isVerticalBaseline( 'bottom' );
+* // returns true
+*
+* bool = isVerticalBaseline( 'middle' );
+* // returns true
+*
+* bool = isVerticalBaseline( 'bar' );
+* // returns false
+*
+* bool = isVerticalBaseline( 'foo' );
+* // returns false
+*/
+var isVerticalBaseline = contains( verticalBaselines() );
+
+
+// EXPORTS //
+
+module.exports = isVerticalBaseline;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/package.json
new file mode 100644
index 000000000000..b521a087eb60
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-vertical-baseline",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported vertical baseline.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/test/test.js
new file mode 100644
index 000000000000..e83863512e35
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-vertical-baseline/test/test.js
@@ -0,0 +1,81 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isVerticalBaseline = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isVerticalBaseline, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported vertical baseline', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'alphabetic',
+ 'bottom',
+ 'middle',
+ 'top',
+ 'line-top',
+ 'line-bottom'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isVerticalBaseline( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported vertical baseline', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isVerticalBaseline( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/README.md
new file mode 100644
index 000000000000..0f906a04a54a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/README.md
@@ -0,0 +1,119 @@
+
+
+# isXAxisOrientation
+
+> Test if an input value is a supported [x-axis orientation][@stdlib/plot/vega/axis/x-orientations].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isXAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-x-axis-orientation' );
+```
+
+#### isXAxisOrientation( value )
+
+Tests if an input value is a supported [x-axis orientation][@stdlib/plot/vega/axis/x-orientations].
+
+```javascript
+var bool = isXAxisOrientation( 'top' );
+// returns true
+
+bool = isXAxisOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isXAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-x-axis-orientation' );
+
+var bool = isXAxisOrientation( 'top' );
+// returns true
+
+bool = isXAxisOrientation( 'bottom' );
+// returns true
+
+bool = isXAxisOrientation( '' );
+// returns false
+
+bool = isXAxisOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/axis/x-orientations]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/axis/x-orientations
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/benchmark/benchmark.js
new file mode 100644
index 000000000000..7def22e3f27f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isXAxisOrientation = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'bottom',
+ 'top',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isXAxisOrientation( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/repl.txt
new file mode 100644
index 000000000000..f63fcf18ae8b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported x-axis orientation.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported x-axis orientation.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'top' )
+ true
+ > bool = {{alias}}( 'bottom' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/types/index.d.ts
new file mode 100644
index 000000000000..0e5f794f9c0f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported x-axis orientation.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported x-axis orientation
+*
+* @example
+* var bool = isXAxisOrientation( 'top' );
+* // returns true
+*
+* bool = isXAxisOrientation( 'bottom' );
+* // returns true
+*
+* bool = isXAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isXAxisOrientation( 'foo' );
+* // returns false
+*/
+declare function isXAxisOrientation( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isXAxisOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/types/test.ts
new file mode 100644
index 000000000000..0da8ea0ba714
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isXAxisOrientation = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isXAxisOrientation( 'bottom' ); // $ExpectType boolean
+ isXAxisOrientation( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isXAxisOrientation(); // $ExpectError
+ isXAxisOrientation( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/examples/index.js
new file mode 100644
index 000000000000..c5cb6d4ae1b6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isXAxisOrientation = require( './../lib' );
+
+var bool = isXAxisOrientation( 'top' );
+console.log( bool );
+// => true
+
+bool = isXAxisOrientation( 'bottom' );
+console.log( bool );
+// => true
+
+bool = isXAxisOrientation( '' );
+console.log( bool );
+// => false
+
+bool = isXAxisOrientation( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/lib/index.js
new file mode 100644
index 000000000000..464b70f75541
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported x-axis orientation.
+*
+* @module @stdlib/plot/vega/base/assert/is-x-axis-orientation
+*
+* @example
+* var isXAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-x-axis-orientation' );
+*
+* var bool = isXAxisOrientation( 'top' );
+* // returns true
+*
+* bool = isXAxisOrientation( 'bottom' );
+* // returns true
+*
+* bool = isXAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isXAxisOrientation( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/lib/main.js
new file mode 100644
index 000000000000..3aa638a4ac26
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var axisOrientations = require( '@stdlib/plot/vega/axis/x-orientations' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported x-axis orientation.
+*
+* @name isXAxisOrientation
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported x-axis orientation
+*
+* @example
+* var bool = isXAxisOrientation( 'top' );
+* // returns true
+*
+* bool = isXAxisOrientation( 'bottom' );
+* // returns true
+*
+* bool = isXAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isXAxisOrientation( 'foo' );
+* // returns false
+*/
+var isXAxisOrientation = contains( axisOrientations() );
+
+
+// EXPORTS //
+
+module.exports = isXAxisOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/package.json
new file mode 100644
index 000000000000..8e9e6043dca3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-x-axis-orientation",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported x-axis orientation.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/test/test.js
new file mode 100644
index 000000000000..226575a3ec0f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-x-axis-orientation/test/test.js
@@ -0,0 +1,79 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isXAxisOrientation = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isXAxisOrientation, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported axis orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'bottom',
+ 'top'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isXAxisOrientation( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported axis orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'left',
+ 'right',
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isXAxisOrientation( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/README.md
new file mode 100644
index 000000000000..8af93e089560
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/README.md
@@ -0,0 +1,119 @@
+
+
+# isYAxisOrientation
+
+> Test if an input value is a supported [y-axis orientation][@stdlib/plot/vega/axis/y-orientations].
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var isYAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-y-axis-orientation' );
+```
+
+#### isYAxisOrientation( value )
+
+Tests if an input value is a supported [y-axis orientation][@stdlib/plot/vega/axis/y-orientations].
+
+```javascript
+var bool = isYAxisOrientation( 'right' );
+// returns true
+
+bool = isYAxisOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var isYAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-y-axis-orientation' );
+
+var bool = isYAxisOrientation( 'right' );
+// returns true
+
+bool = isYAxisOrientation( 'left' );
+// returns true
+
+bool = isYAxisOrientation( '' );
+// returns false
+
+bool = isYAxisOrientation( 'foo' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/plot/vega/axis/y-orientations]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot/vega/axis/y-orientations
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/benchmark/benchmark.js
new file mode 100644
index 000000000000..4d4eed8c301a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/benchmark/benchmark.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var pkg = require( './../package.json' ).name;
+var isYAxisOrientation = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var values;
+ var out;
+ var v;
+ var i;
+
+ values = [
+ 'left',
+ 'bottom',
+
+ 'foo',
+ 'bar',
+ '',
+ 'beep',
+ 'boop'
+ ];
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = values[ i%values.length ];
+ out = isYAxisOrientation( v );
+ if ( typeof out !== 'boolean' ) {
+ b.fail( 'should return a boolean' );
+ }
+ }
+ b.toc();
+ if ( !isBoolean( out ) ) {
+ b.fail( 'should return a boolean' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/repl.txt
new file mode 100644
index 000000000000..1cafc4b535d7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/repl.txt
@@ -0,0 +1,28 @@
+
+{{alias}}( value )
+ Tests if an input value is a supported y-axis orientation.
+
+ Parameters
+ ----------
+ value: any
+ Value to test.
+
+ Returns
+ -------
+ bool: boolean
+ Boolean indicating if an input value is a supported y-axis orientation.
+
+ Examples
+ --------
+ > var bool = {{alias}}( 'right' )
+ true
+ > bool = {{alias}}( 'left' )
+ true
+ > bool = {{alias}}( '' )
+ false
+ > bool = {{alias}}( 'beep' )
+ false
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/types/index.d.ts
new file mode 100644
index 000000000000..81c38705520e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Tests whether an input value is a supported y-axis orientation.
+*
+* @param v - value to test
+* @returns boolean indicating whether an input value is a supported y-axis orientation
+*
+* @example
+* var bool = isYAxisOrientation( 'right' );
+* // returns true
+*
+* bool = isYAxisOrientation( 'left' );
+* // returns true
+*
+* bool = isYAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isYAxisOrientation( 'foo' );
+* // returns false
+*/
+declare function isYAxisOrientation( v: any ): boolean;
+
+
+// EXPORTS //
+
+export = isYAxisOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/types/test.ts
new file mode 100644
index 000000000000..ed5fddcbe43b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/docs/types/test.ts
@@ -0,0 +1,34 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import isYAxisOrientation = require( './index' );
+
+
+// TESTS //
+
+// The function returns a boolean...
+{
+ isYAxisOrientation( 'left' ); // $ExpectType boolean
+ isYAxisOrientation( 'foo' ); // $ExpectType boolean
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ isYAxisOrientation(); // $ExpectError
+ isYAxisOrientation( undefined, 123 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/examples/index.js
new file mode 100644
index 000000000000..488224b6b185
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var isYAxisOrientation = require( './../lib' );
+
+var bool = isYAxisOrientation( 'right' );
+console.log( bool );
+// => true
+
+bool = isYAxisOrientation( 'left' );
+console.log( bool );
+// => true
+
+bool = isYAxisOrientation( '' );
+console.log( bool );
+// => false
+
+bool = isYAxisOrientation( 'foo' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/lib/index.js
new file mode 100644
index 000000000000..22872c110ffb
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/lib/index.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Test whether an input value is a supported y-axis orientation.
+*
+* @module @stdlib/plot/vega/base/assert/is-y-axis-orientation
+*
+* @example
+* var isYAxisOrientation = require( '@stdlib/plot/vega/base/assert/is-y-axis-orientation' );
+*
+* var bool = isYAxisOrientation( 'right' );
+* // returns true
+*
+* bool = isYAxisOrientation( 'left' );
+* // returns true
+*
+* bool = isYAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isYAxisOrientation( 'foo' );
+* // returns false
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/lib/main.js
new file mode 100644
index 000000000000..eaf804102caa
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var axisOrientations = require( '@stdlib/plot/vega/axis/y-orientations' );
+
+
+// MAIN //
+
+/**
+* Tests whether an input value is a supported y-axis orientation.
+*
+* @name isYAxisOrientation
+* @type {Function}
+* @param {*} v - value to test
+* @returns {boolean} boolean indicating whether an input value is a supported y-axis orientation
+*
+* @example
+* var bool = isYAxisOrientation( 'right' );
+* // returns true
+*
+* bool = isYAxisOrientation( 'left' );
+* // returns true
+*
+* bool = isYAxisOrientation( 'bar' );
+* // returns false
+*
+* bool = isYAxisOrientation( 'foo' );
+* // returns false
+*/
+var isYAxisOrientation = contains( axisOrientations() );
+
+
+// EXPORTS //
+
+module.exports = isYAxisOrientation;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/package.json
new file mode 100644
index 000000000000..a21b2c5c1810
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/package.json
@@ -0,0 +1,70 @@
+{
+ "name": "@stdlib/plot/vega/base/assert/is-y-axis-orientation",
+ "version": "0.0.0",
+ "description": "Test if an input value is a supported y-axis orientation.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "base",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util",
+ "assert",
+ "test",
+ "check",
+ "is",
+ "valid",
+ "validate",
+ "validation",
+ "isvalid"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/test/test.js
new file mode 100644
index 000000000000..1d134269638d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-y-axis-orientation/test/test.js
@@ -0,0 +1,79 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isYAxisOrientation = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof isYAxisOrientation, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns `true` if provided a supported axis orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'left',
+ 'right'
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isYAxisOrientation( values[ i ] );
+ t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
+
+tape( 'the function returns `false` if not provided a supported axis orientation', function test( t ) {
+ var values;
+ var bool;
+ var i;
+
+ values = [
+ 'bottom',
+ 'top',
+ '',
+ 'beep',
+ 'boop',
+ 'foo',
+ 'bar',
+ 5,
+ NaN,
+ true,
+ false,
+ null,
+ void 0,
+ [],
+ {},
+ function noop() {}
+ ];
+ for ( i = 0; i < values.length; i++ ) {
+ bool = isYAxisOrientation( values[ i ] );
+ t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] );
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/property2object/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/property2object/lib/index.js
new file mode 100644
index 000000000000..91fd2f6b6ab9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/property2object/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert a property name to an object with fields for accessing corresponding public and private properties.
+*
+* @module @stdlib/plot/vega/base/property2object
+*
+* @example
+* var property2object = require( '@stdlib/plot/vega/base/property2object' );
+*
+* var obj = property2object( 'foo' );
+* // returns { 'name': 'foo', 'private': '_foo' }
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/property2object/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/property2object/lib/main.js
new file mode 100644
index 000000000000..e59df785ee88
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/property2object/lib/main.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Converts a property name to an object with fields for accessing corresponding public and private properties.
+*
+* @param {string} property - property name
+* @returns {Object} object
+*
+* @example
+* var obj = property2object( 'foo' );
+* // returns { 'name': 'foo', 'private': '_foo' }
+*/
+function property2object( property ) {
+ return {
+ 'name': property,
+ 'private': '_'+property
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = property2object;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/property2object/package.json b/lib/node_modules/@stdlib/plot/vega/base/property2object/package.json
new file mode 100644
index 000000000000..4b479275ac7e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/property2object/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "@stdlib/plot/vega/base/property2object",
+ "version": "0.0.0",
+ "description": "Convert a property name to an object with fields for accessing corresponding public and private properties.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "lib": "./lib"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "property",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/spec2svg/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/spec2svg/lib/index.js
new file mode 100644
index 000000000000..30c59d8e422f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/spec2svg/lib/index.js
@@ -0,0 +1,39 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Render a chart specified by a provided Vega specification to an SVG.
+*
+* @module @stdlib/plot/vega/base/spec2svg
+*
+* @example
+* var spec2svg = require( '@stdlib/plot/vega/base/spec2svg' );
+*
+* // TODO
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/spec2svg/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/spec2svg/lib/main.js
new file mode 100644
index 000000000000..23d690791ce5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/spec2svg/lib/main.js
@@ -0,0 +1,81 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var vega = require( '@stdlib/plot/vega/vendored' );
+
+
+// MAIN //
+
+/**
+* Renders a chart specified by a provided Vega specification to an SVG.
+*
+* @param {Object} spec - Vega specification
+* @param {Object} [theme] - theme configuration
+* @param {Callback} clbk - callback to invoke upon rendering an SVG
+*
+* @example
+* // TODO
+*/
+function spec2svg( spec, theme, clbk ) {
+ var runtime;
+ var view;
+ var cb;
+
+ if ( arguments.length > 2 ) {
+ runtime = vega.parse( spec, theme );
+ cb = clbk;
+ } else {
+ runtime = vega.parse( spec );
+ cb = theme;
+ }
+ view = new vega.View( runtime, {
+ 'renderer': 'none'
+ });
+ view.toSVG().then( onResolve, onReject );
+
+ /**
+ * Callback invoked upon success.
+ *
+ * @private
+ * @param {string} result - result
+ * @returns {void}
+ */
+ function onResolve( result ) {
+ return cb( null, result );
+ }
+
+ /**
+ * Callback invoked upon encountering a failure.
+ *
+ * @private
+ * @param {Error} err - error object
+ * @returns {void}
+ */
+ function onReject( err ) {
+ return cb( err );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = spec2svg;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/spec2svg/package.json b/lib/node_modules/@stdlib/plot/vega/base/spec2svg/package.json
new file mode 100644
index 000000000000..251f67307d13
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/spec2svg/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/base/spec2svg",
+ "version": "0.0.0",
+ "description": "Render a chart specified by a provided Vega specification to an SVG.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "render",
+ "svg",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/README.md b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/README.md
new file mode 100644
index 000000000000..99332f687b15
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/README.md
@@ -0,0 +1,117 @@
+
+
+# strokeCaps
+
+> List of supported Vega stroke caps.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var strokeCaps = require( '@stdlib/plot/vega/base/stroke-caps' );
+```
+
+#### strokeCaps()
+
+Returns a list of stroke caps.
+
+```javascript
+var out = strokeCaps();
+// returns [ 'butt', 'round', 'square' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var strokeCaps = require( '@stdlib/plot/vega/base/stroke-caps' );
+
+var isStrokeCap = contains( strokeCaps() );
+
+var bool = isStrokeCap( 'round' );
+// returns true
+
+bool = isStrokeCap( 'square' );
+// returns true
+
+bool = isStrokeCap( 'beep' );
+// returns false
+
+bool = isStrokeCap( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/benchmark/benchmark.js
new file mode 100644
index 000000000000..93200ad290be
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var strokeCaps = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = strokeCaps();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/repl.txt
new file mode 100644
index 000000000000..3bdb13e2f975
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of stroke caps.
+
+ Returns
+ -------
+ out: Array
+ List of stroke caps.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'butt', 'round', 'square' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/types/index.d.ts
new file mode 100644
index 000000000000..ce111d51fbb5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of stroke caps.
+*
+* @returns list of stroke caps
+*
+* @example
+* var list = strokeCaps();
+* // returns [ 'butt', 'round', 'square' ]
+*/
+declare function strokeCaps(): Array;
+
+
+// EXPORTS //
+
+export = strokeCaps;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/types/test.ts
new file mode 100644
index 000000000000..8b8ecf24cbaa
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import strokeCaps = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ strokeCaps(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ strokeCaps( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/examples/index.js
new file mode 100644
index 000000000000..7abd721212b0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var strokeCaps = require( './../lib' );
+
+var isStrokeCap = contains( strokeCaps() );
+
+var bool = isStrokeCap( 'round' );
+console.log( bool );
+// => true
+
+bool = isStrokeCap( 'square' );
+console.log( bool );
+// => true
+
+bool = isStrokeCap( 'beep' );
+console.log( bool );
+// => false
+
+bool = isStrokeCap( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/data.json b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/data.json
new file mode 100644
index 000000000000..51418594b96a
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/data.json
@@ -0,0 +1,5 @@
+[
+ "butt",
+ "round",
+ "square"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/index.js
new file mode 100644
index 000000000000..b3c513e56869
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of stroke caps.
+*
+* @module @stdlib/plot/vega/base/stroke-caps
+*
+* @example
+* var strokeCaps = require( '@stdlib/plot/vega/base/stroke-caps' );
+*
+* var out = strokeCaps();
+* // returns [ 'butt', 'round', 'square' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/main.js
new file mode 100644
index 000000000000..ea570a5c5e31
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of stroke caps.
+*
+* @returns {StringArray} list of stroke caps
+*
+* @example
+* var out = strokeCaps();
+* // returns [ 'butt', 'round', 'square' ]
+*/
+function strokeCaps() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = strokeCaps;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/package.json b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/package.json
new file mode 100644
index 000000000000..6a18a84a8135
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/base/stroke-caps",
+ "version": "0.0.0",
+ "description": "List of supported Vega stroke caps.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "stroke",
+ "cap",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/test/test.js
new file mode 100644
index 000000000000..164617e0008b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/stroke-caps/test/test.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var strokeCaps = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof strokeCaps, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of stroke caps', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'butt',
+ 'round',
+ 'square'
+ ];
+ actual = strokeCaps();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/to-json/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/to-json/lib/index.js
new file mode 100644
index 000000000000..d2d059a57b9b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/to-json/lib/index.js
@@ -0,0 +1,39 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Serialize a list of private instance properties from a class instance to a JSON object.
+*
+* @module @stdlib/plot/vega/base/to-json
+*
+* @example
+* var toJSON = require( '@stdlib/plot/vega/base/to-json' );
+*
+* // TODO: example
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/to-json/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/to-json/lib/main.js
new file mode 100644
index 000000000000..a626b235125e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/to-json/lib/main.js
@@ -0,0 +1,81 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isFunction = require( '@stdlib/assert/is-function' );
+var isArray = require( '@stdlib/assert/is-array' );
+var isObject = require( '@stdlib/assert/is-object' );
+var copy = require( '@stdlib/utils/copy' );
+
+
+// MAIN //
+
+/**
+* Serializes a list of private instance properties from a class instance to a JSON object.
+*
+* @param {Object} obj - input instance
+* @param {Array} properties - properties to serialize
+* @returns {Object} JSON object
+*/
+function toJSON( obj, properties ) {
+ var out;
+ var tmp;
+ var v;
+ var o;
+ var k;
+ var i;
+ var j;
+
+ out = {};
+ for ( i = 0; i < properties.length; i++ ) {
+ k = properties[ i ];
+ v = obj[ '_'+k ];
+ if ( v === void 0 ) {
+ continue;
+ }
+ if ( isArray( v ) ) {
+ tmp = [];
+ for ( j = 0; j < v.length; j++ ) {
+ o = v[ j ];
+ if ( o && isFunction( o.toJSON ) ) {
+ tmp.push( o.toJSON() );
+ } else if ( isObject( o ) ) {
+ tmp.push( copy( o ) );
+ } else {
+ tmp.push( o );
+ }
+ }
+ out[ k ] = tmp;
+ } else if ( v && isFunction( v.toJSON ) ) {
+ out[ k ] = v.toJSON();
+ } else if ( isObject( v ) ) {
+ out[ k ] = copy( v );
+ } else {
+ out[ k ] = v;
+ }
+ }
+ return out;
+}
+
+
+// EXPORTS //
+
+module.exports = toJSON;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/to-json/package.json b/lib/node_modules/@stdlib/plot/vega/base/to-json/package.json
new file mode 100644
index 000000000000..1855c70c0f51
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/to-json/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "@stdlib/plot/vega/base/to-json",
+ "version": "0.0.0",
+ "description": "Serialize a list of private instance properties from a class instance to a JSON object.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "lib": "./lib"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "json",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/lib/index.js
new file mode 100644
index 000000000000..0d2f9ae341ff
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/lib/index.js
@@ -0,0 +1,39 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Transform an "assignment" error message to an "option validation" error message.
+*
+* @module @stdlib/plot/vega/base/transform-validation-message
+*
+* @example
+* var transformErrorMessage = require( '@stdlib/plot/vega/base/transform-validation-message' );
+*
+* // TODO: example
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/lib/main.js
new file mode 100644
index 000000000000..d5ab7b113e41
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/lib/main.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var replace = require( '@stdlib/string/base/replace' );
+
+
+// MAIN //
+
+/**
+* Transforms an "assignment" error message to an "option validation" error message.
+*
+* @param {string} msg - error message
+* @returns {string} transformed message
+*/
+function transformErrorMessage( msg ) {
+ var m = replace( msg, /invalid assignment\. `([^ ]+)`/, 'invalid option. `$1` option' );
+ return replace( m, /\. Value:/, '. Option:' );
+}
+
+
+// EXPORTS //
+
+module.exports = transformErrorMessage;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/package.json b/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/package.json
new file mode 100644
index 000000000000..09499e73020f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/transform-validation-message/package.json
@@ -0,0 +1,57 @@
+{
+ "name": "@stdlib/plot/vega/base/transform-validation-message",
+ "version": "0.0.0",
+ "description": "Transform an assignment error message to an option validation error message.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "lib": "./lib"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/README.md b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/README.md
new file mode 100644
index 000000000000..fd5a8a0f62f0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/README.md
@@ -0,0 +1,117 @@
+
+
+# verticalBaselines
+
+> List of supported Vega vertical baselines.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var verticalBaselines = require( '@stdlib/plot/vega/base/vertical-baselines' );
+```
+
+#### verticalBaselines()
+
+Returns a list of vertical baselines.
+
+```javascript
+var out = verticalBaselines();
+// returns [ 'alphabetic', 'top', 'middle', 'bottom', 'line-top', 'line-bottom' ]
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var verticalBaselines = require( '@stdlib/plot/vega/base/vertical-baselines' );
+
+var isVerticalBaseline = contains( verticalBaselines() );
+
+var bool = isVerticalBaseline( 'top' );
+// returns true
+
+bool = isVerticalBaseline( 'middle' );
+// returns true
+
+bool = isVerticalBaseline( 'beep' );
+// returns false
+
+bool = isVerticalBaseline( 'boop' );
+// returns false
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/benchmark/benchmark.js
new file mode 100644
index 000000000000..18bb77e7550f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/benchmark/benchmark.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
+var pkg = require( './../package.json' ).name;
+var verticalBaselines = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = verticalBaselines();
+ if ( out.length < 2 ) {
+ b.fail( 'should return an array' );
+ }
+ }
+ b.toc();
+ if ( !isStringArray( out ) ) {
+ b.fail( 'should return an array of strings' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/repl.txt
new file mode 100644
index 000000000000..11674a371961
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/repl.txt
@@ -0,0 +1,17 @@
+
+{{alias}}()
+ Returns a list of vertical baselines.
+
+ Returns
+ -------
+ out: Array
+ List of vertical baselines.
+
+ Examples
+ --------
+ > var out = {{alias}}()
+ [ 'alphabetic', 'top', 'middle', 'bottom', 'line-top', 'line-bottom' ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/types/index.d.ts
new file mode 100644
index 000000000000..c334d0601f3e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/types/index.d.ts
@@ -0,0 +1,35 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+/**
+* Returns a list of vertical baselines.
+*
+* @returns list of vertical baselines
+*
+* @example
+* var list = verticalBaselines();
+* // returns [ 'alphabetic', 'top', 'middle', 'bottom', 'line-top', 'line-bottom' ]
+*/
+declare function verticalBaselines(): Array;
+
+
+// EXPORTS //
+
+export = verticalBaselines;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/types/test.ts
new file mode 100644
index 000000000000..82b428dfd175
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/docs/types/test.ts
@@ -0,0 +1,32 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import verticalBaselines = require( './index' );
+
+
+// TESTS //
+
+// The function returns an array of strings...
+{
+ verticalBaselines(); // $ExpectType string[]
+}
+
+// The compiler throws an error if the function is provided any arguments...
+{
+ verticalBaselines( 9 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/examples/index.js
new file mode 100644
index 000000000000..1079d358dc20
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/examples/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var contains = require( '@stdlib/array/base/assert/contains' ).factory;
+var verticalBaselines = require( './../lib' );
+
+var isVerticalBaseline = contains( verticalBaselines() );
+
+var bool = isVerticalBaseline( 'top' );
+console.log( bool );
+// => true
+
+bool = isVerticalBaseline( 'middle' );
+console.log( bool );
+// => true
+
+bool = isVerticalBaseline( 'beep' );
+console.log( bool );
+// => false
+
+bool = isVerticalBaseline( 'boop' );
+console.log( bool );
+// => false
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/data.json b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/data.json
new file mode 100644
index 000000000000..e2bac8c32a81
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/data.json
@@ -0,0 +1,8 @@
+[
+ "alphabetic",
+ "top",
+ "middle",
+ "bottom",
+ "line-top",
+ "line-bottom"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/index.js
new file mode 100644
index 000000000000..b4962e5adbe3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/index.js
@@ -0,0 +1,40 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Return a list of vertical baselines.
+*
+* @module @stdlib/plot/vega/base/vertical-baselines
+*
+* @example
+* var verticalBaselines = require( '@stdlib/plot/vega/base/vertical-baselines' );
+*
+* var out = verticalBaselines();
+* // returns [ 'alphabetic', 'top', 'middle', 'bottom', 'line-top', 'line-bottom' ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/main.js
new file mode 100644
index 000000000000..7ac639141c31
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/lib/main.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var DATA = require( './data.json' );
+
+
+// MAIN //
+
+/**
+* Returns a list of vertical baselines.
+*
+* @returns {StringArray} list of vertical baselines
+*
+* @example
+* var out = orientations();
+* // returns [ 'alphabetic', 'top', 'middle', 'bottom', 'line-top', 'line-bottom' ]
+*/
+function orientations() {
+ return DATA.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = orientations;
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/package.json b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/package.json
new file mode 100644
index 000000000000..7870f8e5af76
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/base/vertical-baselines",
+ "version": "0.0.0",
+ "description": "List of supported Vega vertical baselines.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "vertical",
+ "baseline",
+ "utilities",
+ "utility",
+ "utils",
+ "util"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/test/test.js
new file mode 100644
index 000000000000..0398d38b8ee4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/base/vertical-baselines/test/test.js
@@ -0,0 +1,51 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var verticalBaselines = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof verticalBaselines, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a list of vertical baselines', function test( t ) {
+ var expected;
+ var actual;
+
+ expected = [
+ 'alphabetic',
+ 'top',
+ 'middle',
+ 'bottom',
+ 'line-top',
+ 'line-bottom'
+ ];
+ actual = verticalBaselines();
+
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/examples/index.js b/lib/node_modules/@stdlib/plot/vega/builder/examples/index.js
new file mode 100644
index 000000000000..bbbde3e70b00
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/examples/index.js
@@ -0,0 +1,64 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+var LinearScale = require( '@stdlib/plot/vega/scale/linear' );
+var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+var Visualization = require( './../lib' );
+
+var autosize = new Autosize();
+var padding = new Padding();
+var title = new Title();
+var xScale = new LinearScale({
+ 'name': 'xScale',
+ 'domain': [ 0, 99 ],
+ 'range': [ 0, 490 ]
+});
+var yScale = new LinearScale({
+ 'name': 'yScale',
+ 'domain': [ 0, 100 ],
+ 'range': [ 320, 0 ]
+});
+var xAxis = new Axis({
+ 'scale': 'xScale',
+ 'orient': 'bottom',
+ 'title': 'x'
+});
+var yAxis = new Axis({
+ 'scale': 'yScale',
+ 'orient': 'left',
+ 'title': 'y',
+ 'domain': false
+});
+var viz = new Visualization({
+ 'description': 'Beep boop',
+ 'width': 640,
+ 'height': 480,
+ 'padding': padding,
+ 'autosize': autosize,
+ 'title': title,
+ 'scales': [ xScale, yScale ],
+ 'axes': [ xAxis, yAxis ]
+});
+console.log( viz.toJSON() );
+
+console.log( JSON.stringify( viz.toJSON() ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/get.js
new file mode 100644
index 000000000000..88a4296006fc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the autosize configuration.
+*
+* @private
+* @returns {(Autosize|Signal)} autosize configuration
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/properties.js
new file mode 100644
index 000000000000..64fe5ff97676
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'autosize' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/set.js
new file mode 100644
index 000000000000..3aa11d44fcb1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/autosize/set.js
@@ -0,0 +1,72 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isAutosize = require( '@stdlib/plot/vega/base/assert/is-autosize' );
+var isString = require( '@stdlib/assert/is-nonnegative-number' ).isPrimitive;
+var isObject = require( '@stdlib/assert/is-object' );
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the autosize configuration.
+*
+* @private
+* @param {(string|Autosize|Signal)} value - input value
+* @throws {TypeError} must be either a string, an autosize instance, or a signal
+* @returns {void}
+*/
+function set( value ) {
+ if ( isString( value ) ) {
+ value = new Autosize({
+ 'type': value
+ });
+ } else if ( isObject( value ) ) {
+ // TODO: add signal support
+ } else if ( !isAutosize( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be either a string, an autosize instance, or a signal. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ this._removeChangeListener( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListener( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/get.js
new file mode 100644
index 000000000000..9e3540187445
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the coordinate axes.
+*
+* @private
+* @returns {Array} axes
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/properties.js
new file mode 100644
index 000000000000..b92ae702dc7f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'axes' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/set.js
new file mode 100644
index 000000000000..efa38a8023cf
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/axes/set.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isEmptyArrayLikeObject = require( '@stdlib/assert/is-empty-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var isAxisArray = require( '@stdlib/plot/vega/base/assert/is-axis-array' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization coordinate axes.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of axis instances
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isAxisArray( value ) && !isEmptyArrayLikeObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of axis instances. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/background/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/background/get.js
new file mode 100644
index 000000000000..7c7ab185dd2f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/background/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization background color.
+*
+* @private
+* @returns {string} color
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/background/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/background/properties.js
new file mode 100644
index 000000000000..d24afd9496b9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/background/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'background' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/background/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/background/set.js
new file mode 100644
index 000000000000..54438d472434
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/background/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization background color.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/change_event.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/change_event.js
new file mode 100644
index 000000000000..e406e971fe4e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/change_event.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a new change event object.
+*
+* @private
+* @param {string} property - property name
+* @returns {Object} event object
+*/
+function event( property ) { // eslint-disable-line stdlib/no-redeclare
+ return {
+ 'type': 'update',
+ 'source': 'visualization',
+ 'property': property
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = event;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/config/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/config/get.js
new file mode 100644
index 000000000000..640865dcbd6f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/config/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization theme.
+*
+* @private
+* @returns {Config} theme
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/config/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/config/properties.js
new file mode 100644
index 000000000000..c62138888dc3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/config/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'config' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/config/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/config/set.js
new file mode 100644
index 000000000000..1b7c09470c4f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/config/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization theme.
+*
+* @private
+* @param {Config} value - input value
+* @throws {TypeError} must be a configuration instance
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isObject( value ) ) { // FIXME: validate configuration instance
+ throw new TypeError( format( 'invalid assignment. `%s` must be a configuration instance. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ this._removeChangeListener( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListener( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/data/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/data/get.js
new file mode 100644
index 000000000000..6fcbad9273de
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/data/get.js
@@ -0,0 +1,45 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+// eslint-disable-next-line stdlib/jsdoc-typedef-typos
+/**
+* Returns a list of data set definitions and transforms.
+*
+* @private
+* @returns {Array} data set definitions and transforms
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/data/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/data/properties.js
new file mode 100644
index 000000000000..f2a3cb70b387
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/data/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'data' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/data/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/data/set.js
new file mode 100644
index 000000000000..e805fd160fa0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/data/set.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+// eslint-disable-next-line stdlib/jsdoc-typedef-typos
+/**
+* Sets data set definitions and transforms.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of data
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isArrayLikeObject( value ) ) { // FIXME: validate array of data or an empty array
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of data. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/defaults.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/defaults.js
new file mode 100644
index 000000000000..331fd13deeb1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/defaults.js
@@ -0,0 +1,100 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+var Title = require( '@stdlib/plot/vega/title/ctor' );
+
+
+// MAIN //
+
+/**
+* Returns defaults.
+*
+* @private
+* @returns {Object} default options
+*
+* @example
+* var o = defaults();
+* // returns {...}
+*/
+function defaults() {
+ return {
+ // Schema URL:
+ '$schema': 'https://vega.github.io/schema/vega/v6.json',
+
+ // Autosize configuration:
+ 'autosize': new Autosize(),
+
+ // Coordinate axes:
+ 'axes': [],
+
+ 'background': '',
+
+ // Visualization theme:
+ 'config': {},
+
+ // Data set definitions and transforms:
+ 'data': [],
+
+ // Visualization description:
+ 'description': '',
+
+ // Visual encodings:
+ 'encode': {},
+
+ // Height (in pixels):
+ 'height': 0,
+
+ // Legends:
+ 'legends': [],
+
+ // Graphical marks:
+ 'marks': [],
+
+ // Padding (in pixels):
+ 'padding': new Padding(),
+
+ // Cartographic projections:
+ 'projections': [],
+
+ // Visualization scales:
+ 'scales': [],
+
+ // Signals for parameterizing a visualization:
+ 'signals': [],
+
+ // Visualization title:
+ 'title': new Title(),
+
+ // Optional meta data:
+ 'usermeta': {},
+
+ // Width (in pixels):
+ 'width': 0
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = defaults;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/description/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/description/get.js
new file mode 100644
index 000000000000..b4d189a93686
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/description/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization description.
+*
+* @private
+* @returns {string} description
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/description/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/description/properties.js
new file mode 100644
index 000000000000..4df8dba29cc1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/description/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'description' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/description/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/description/set.js
new file mode 100644
index 000000000000..0239e43c2526
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/description/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization description.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/get.js
new file mode 100644
index 000000000000..940b637b8ce7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns encoding directives for the visual properties of the top-level group mark representing a visualization's data rectangle.
+*
+* @private
+* @returns {Encode} encoding directives
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/properties.js
new file mode 100644
index 000000000000..889233bec2b9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'encode' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/set.js
new file mode 100644
index 000000000000..cb0a3cbfce65
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/encode/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets encoding directives for the visual properties of the top-level group mark representing a visualization's data rectangle.
+*
+* @private
+* @param {Encode} value - input value
+* @throws {TypeError} must be an encoding object
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isObject( value ) ) { // FIXME: validate encoding object
+ throw new TypeError( format( 'invalid assignment. `%s` must be a valid encoding. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ this._removeChangeListener( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListener( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/height/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/height/get.js
new file mode 100644
index 000000000000..6717cedb4153
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/height/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization height (in pixels).
+*
+* @private
+* @returns {(NonNegativeNumber|Signal)} height
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/height/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/height/properties.js
new file mode 100644
index 000000000000..1a2e51f8a821
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/height/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'height' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/height/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/height/set.js
new file mode 100644
index 000000000000..5d9d9571f4de
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/height/set.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNonNegativeNumber = require( '@stdlib/assert/is-nonnegative-number' ).isPrimitive;
+var isObject = require( '@stdlib/assert/is-object' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization height (in pixels).
+*
+* @private
+* @param {(NonNegativeNumber|Signal)} value - input value
+* @throws {TypeError} must be either a nonnegative number or a signal
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNonNegativeNumber( value ) && !isObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be either a nonnegative number or a signal. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/index.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/index.js
new file mode 100644
index 000000000000..ff245a41cf23
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/index.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Visualization constructor.
+*
+* @module @stdlib/plot/vega/builder
+*
+* @example
+* var Visualization = require( '@stdlib/plot/vega/builder' );
+*
+* var viz = new Visualization({
+* 'description': 'Beep boop'
+* });
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/get.js
new file mode 100644
index 000000000000..f416b2ab91e6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a list of legends.
+*
+* @private
+* @returns {Array} legends
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/properties.js
new file mode 100644
index 000000000000..2478bcb32dd5
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'legends' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/set.js
new file mode 100644
index 000000000000..47a9d99168ee
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/legends/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets visualization legends.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of legends
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isArrayLikeObject( value ) ) { // FIXME: validate array of legends or an empty array
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of legends. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/main.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/main.js
new file mode 100644
index 000000000000..abdcd383e216
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/main.js
@@ -0,0 +1,611 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-restricted-syntax, no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var EventEmitter = require( 'events' ).EventEmitter;
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var setNonEnumerableReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var setNonEnumerableReadOnlyAccessor = require( '@stdlib/utils/define-nonenumerable-read-only-accessor' ); // eslint-disable-line id-length
+var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' );
+var setReadOnlyAccessor = require( '@stdlib/utils/define-read-only-accessor' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var inherit = require( '@stdlib/utils/inherit' );
+var objectKeys = require( '@stdlib/utils/keys' );
+var transformErrorMessage = require( '@stdlib/plot/vega/base/transform-validation-message' );
+var instance2json = require( '@stdlib/plot/vega/base/to-json' );
+var format = require( '@stdlib/string/format' );
+var properties = require( './properties.json' );
+var defaults = require( './defaults.js' );
+
+// Note: keep the following in alphabetical order according to the `require` path...
+var getAutosize = require( './autosize/get.js' );
+var setAutosize = require( './autosize/set.js' );
+var getAxes = require( './axes/get.js' );
+var setAxes = require( './axes/set.js' );
+
+var getBackground = require( './background/get.js' );
+var setBackground = require( './background/set.js' );
+
+var getConfig = require( './config/get.js' );
+var setConfig = require( './config/set.js' );
+
+var getData = require( './data/get.js' );
+var setData = require( './data/set.js' );
+var getDescription = require( './description/get.js' );
+var setDescription = require( './description/set.js' );
+
+var getEncode = require( './encode/get.js' );
+var setEncode = require( './encode/set.js' );
+
+var getHeight = require( './height/get.js' );
+var setHeight = require( './height/set.js' );
+
+var getLegends = require( './legends/get.js' );
+var setLegends = require( './legends/set.js' );
+
+var getMarks = require( './marks/get.js' );
+var setMarks = require( './marks/set.js' );
+
+var getPadding = require( './padding/get.js' );
+var setPadding = require( './padding/set.js' );
+var getProjections = require( './projections/get.js' );
+var setProjections = require( './projections/set.js' );
+var getProperties = require( './properties/get.js' );
+
+var getScales = require( './scales/get.js' );
+var setScales = require( './scales/set.js' );
+var getSchema = require( './schema/get.js' );
+var getSignals = require( './signals/get.js' );
+var setSignals = require( './signals/set.js' );
+
+var getTitle = require( './title/get.js' );
+var setTitle = require( './title/set.js' );
+
+var getUserMeta = require( './usermeta/get.js' );
+var setUserMeta = require( './usermeta/set.js' );
+
+var getWidth = require( './width/get.js' );
+var setWidth = require( './width/set.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:main' );
+
+
+// MAIN //
+
+/**
+* Visualization constructor.
+*
+* @constructor
+* @param {Options} options - constructor options
+* @param {(string|Autosize|Signal)} [options.autosize='pad'] - specifies to determine the visualization size
+* @param {Array} [options.axes] - coordinate axes
+* @param {(string|Signal)} [options.background] - background color of the entire visualization view
+* @param {Object} [options.config] - configuration settings for default mark, axis, and legend values
+* @param {Array} [options.data] - data set definitions and transforms
+* @param {string} [options.description=''] - visualization description
+* @param {Object} [options.encode] - encoding directives
+* @param {(NonNegativeNumber|Signal)} [options.height] - visualization height (in pixels)
+* @param {Array} [options.legends] - visualization legends
+* @param {Array} [options.marks] - graphical marks
+* @param {(number|Padding|Signal)} [options.padding] - padding (in pixels) around the visualization
+* @param {Array} [options.projections] - cartographic projections
+* @param {Array} [options.scales] - visualization scales
+* @param {Array} [options.signals] - dynamic variables which parameterize the visualization
+* @param {Title} [options.title] - visualization title
+* @param {Object} [options.usermeta] - optional metadata
+* @param {(NonNegativeNumber|Signal)} [options.width] - visualization width (in pixels)
+* @throws {TypeError} options argument must be an object
+* @throws {Error} must provide valid options
+* @returns {Visualization} visualization instance
+*
+* @example
+* var viz = new Visualization();
+* // returns
+*/
+function Visualization( options ) {
+ var self;
+ var keys;
+ var opts;
+ var k;
+ var v;
+ var i;
+ if ( !( this instanceof Visualization ) ) {
+ if ( arguments.length ) {
+ return new Visualization( options );
+ }
+ return new Visualization();
+ }
+ self = this;
+ EventEmitter.call( this );
+
+ // Resolve the default configuration:
+ opts = defaults();
+
+ // Set internal properties according to the default configuration...
+ keys = objectKeys( opts );
+ for ( i = 0; i < keys.length; i++ ) {
+ k = keys[ i ];
+ this[ '_'+k ] = opts[ k ];
+ }
+ // Define an internal change event listener:
+ this._onChange = onChange;
+
+ // Validate provided options by attempting to assign option values to corresponding fields...
+ if ( arguments.length ) {
+ if ( !isObject( options ) ) {
+ throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
+ }
+ for ( i = 0; i < properties.length; i++ ) {
+ k = properties[ i ];
+ if ( !hasProp( options, k ) ) {
+ continue;
+ }
+ v = options[ k ];
+ try {
+ this[ k ] = v;
+ } catch ( err ) {
+ debug( 'Encountered an error. Error: %s', err.message );
+
+ // FIXME: retain thrown error type
+ throw new Error( transformErrorMessage( err.message ) );
+ }
+ }
+ }
+ return this;
+
+ /**
+ * Callback invoked upon a change event.
+ *
+ * @private
+ * @param {Object} event - event object
+ */
+ function onChange( event ) {
+ debug( 'Received a change event: %s', JSON.stringify( event ) );
+ self.emit( 'change', event );
+ }
+}
+
+/*
+* Inherit from the `EventEmitter` prototype.
+*/
+inherit( Visualization, EventEmitter );
+
+/**
+* Constructor name.
+*
+* @private
+* @name name
+* @memberof Visualization
+* @readonly
+* @type {string}
+*/
+setNonEnumerableReadOnly( Visualization, 'name', 'Visualization' );
+
+/**
+* Adds an internal listener to a change event on a child instance.
+*
+* @private
+* @name _addChangeListener
+* @memberof Visualization.prototype
+* @type {Function}
+* @param {Object} emitter - event emitter
+* @returns {Visualization} visualization instance
+*/
+setNonEnumerableReadOnly( Visualization.prototype, '_addChangeListener', function addChangeListener( emitter ) {
+ emitter.on( 'change', this._onChange );
+ return this;
+});
+
+/**
+* Adds internal listeners to change events on child instances.
+*
+* @private
+* @name _addChangeListeners
+* @memberof Visualization.prototype
+* @type {Function}
+* @param {ArrayLikeObject} emitters - list of event emitters
+* @returns {Visualization} visualization instance
+*/
+setNonEnumerableReadOnly( Visualization.prototype, '_addChangeListeners', function addChangeListeners( emitters ) {
+ var i;
+ for ( i = 0; i < emitters.length; i++ ) {
+ this._addChangeListener( emitters[ i ] );
+ }
+ return this;
+});
+
+/**
+* Removes an internal listener to a change event on a child instance.
+*
+* @private
+* @name _removeChangeListener
+* @memberof Visualization.prototype
+* @type {Function}
+* @param {Object} emitter - event emitter
+* @returns {Visualization} visualization instance
+*/
+setNonEnumerableReadOnly( Visualization.prototype, '_removeChangeListener', function removeChangeListener( emitter ) {
+ emitter.removeListener( 'change', this._onChange );
+ return this;
+});
+
+/**
+* Removes internal listeners to change events on child instances.
+*
+* @private
+* @name _removeChangeListeners
+* @memberof Visualization.prototype
+* @type {Function}
+* @param {ArrayLikeObject} emitters - list of event emitters
+* @returns {Visualization} visualization instance
+*/
+setNonEnumerableReadOnly( Visualization.prototype, '_removeChangeListeners', function removeChangeListeners( emitters ) {
+ var i;
+ for ( i = 0; i < emitters.length; i++ ) {
+ this._removeChangeListener( emitters[ i ] );
+ }
+ return this;
+});
+
+/**
+* Visualization schema URL.
+*
+* @name $schema
+* @memberof Visualization.prototype
+* @type {string}
+*
+* @example
+* var viz = new Visualization();
+*
+* var v = viz.$schema;
+* // returns '...'
+*/
+setReadOnlyAccessor( Visualization.prototype, '$schema', getSchema );
+
+/**
+* Visualization autosize configuration.
+*
+* @name autosize
+* @memberof Visualization.prototype
+* @type {(Signal|Autosize)}
+*
+* @example
+* var Autosize = require( '@stdlib/plot/vega/autosize/ctor' );
+*
+* var autosize = new Autosize();
+* var viz = new Visualization({
+* 'autosize': autosize
+* });
+*
+* var v = viz.autosize;
+* // returns
+*/
+setReadWriteAccessor( Visualization.prototype, 'autosize', getAutosize, setAutosize );
+
+/**
+* Visualization coordinate axes.
+*
+* @name axes
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* var Axis = require( '@stdlib/plot/vega/axis/ctor' );
+*
+* var axis = new Axis({
+* 'scale': 'xScale',
+* 'orient': 'bottom'
+* });
+* var viz = new Visualization({
+* 'axes': [ axis ]
+* });
+*
+* var v = viz.axes;
+* // returns [ ]
+*/
+setReadWriteAccessor( Visualization.prototype, 'axes', getAxes, setAxes );
+
+/**
+* Visualization background color.
+*
+* @name background
+* @memberof Visualization.prototype
+* @type {string}
+* @default ''
+*
+* @example
+* var viz = new Visualization({
+* 'background': 'white'
+* });
+*
+* var v = viz.background;
+* // returns 'white'
+*/
+setReadWriteAccessor( Visualization.prototype, 'background', getBackground, setBackground );
+
+/**
+* Visualization theme.
+*
+* @name config
+* @memberof Visualization.prototype
+* @type {Config}
+*
+* @example
+* // TODO: example
+*/
+setReadWriteAccessor( Visualization.prototype, 'config', getConfig, setConfig );
+
+// eslint-disable-next-line stdlib/empty-line-before-comment, stdlib/jsdoc-typedef-typos
+/**
+* Data set definitions and transforms.
+*
+* @name data
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* // TODO: example
+*/
+setReadWriteAccessor( Visualization.prototype, 'data', getData, setData );
+
+/**
+* Visualization description.
+*
+* @name description
+* @memberof Visualization.prototype
+* @type {string}
+* @default ''
+*
+* @example
+* var viz = new Visualization({
+* 'description': 'Foo Bar'
+* });
+*
+* var v = viz.description;
+* // returns 'Foo Bar'
+*/
+setReadWriteAccessor( Visualization.prototype, 'description', getDescription, setDescription );
+
+/**
+* Encoding directives for the visual properties of the top-level group mark representing a visualization's data rectangle.
+*
+* @name encode
+* @memberof Visualization.prototype
+* @type {Encode}
+*
+* @example
+* // TODO: example
+*/
+setReadWriteAccessor( Visualization.prototype, 'encode', getEncode, setEncode );
+
+/**
+* Visualization height (in pixels).
+*
+* @name height
+* @memberof Visualization.prototype
+* @type {(NonNegativeNumber|Signal)}
+*
+* @example
+* var viz = new Visualization({
+* 'height': 480
+* });
+*
+* var v = viz.height;
+* // returns 480
+*/
+setReadWriteAccessor( Visualization.prototype, 'height', getHeight, setHeight );
+
+/**
+* Visualization legends.
+*
+* @name legends
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* // TODO: example
+*/
+setReadWriteAccessor( Visualization.prototype, 'legends', getLegends, setLegends );
+
+/**
+* Graphical marks which visually encode data using geometric primitives.
+*
+* @name marks
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* // TODO: example
+*/
+setReadWriteAccessor( Visualization.prototype, 'marks', getMarks, setMarks );
+
+/**
+* Visualization padding.
+*
+* @name padding
+* @memberof Visualization.prototype
+* @type {(Signal|Padding)}
+*
+* @example
+* var Padding = require( '@stdlib/plot/vega/padding/ctor' );
+*
+* var padding = new Padding();
+* var viz = new Visualization({
+* 'padding': padding
+* });
+*
+* var v = viz.padding;
+* // returns
+*/
+setReadWriteAccessor( Visualization.prototype, 'padding', getPadding, setPadding );
+
+/**
+* Cartographic projections.
+*
+* @name projections
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* // TODO: example
+*/
+setReadWriteAccessor( Visualization.prototype, 'projections', getProjections, setProjections );
+
+/**
+* Visualization properties.
+*
+* @name properties
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* var viz = new Visualization();
+*
+* var v = viz.properties;
+* // returns [...]
+*/
+setNonEnumerableReadOnlyAccessor( Visualization.prototype, 'properties', getProperties );
+
+/**
+* Visualization scales.
+*
+* @name scales
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* var Scale = require( '@stdlib/plot/vega/scale/base/ctor' );
+*
+* var scale = new Scale({
+* 'name': 'xScale'
+* });
+* var viz = new Visualization({
+* 'scales': [ scale ]
+* });
+*
+* var v = viz.scales;
+* // returns [ ]
+*/
+setReadWriteAccessor( Visualization.prototype, 'scales', getScales, setScales );
+
+/**
+* Dynamic variables which parameterize a visualization.
+*
+* @name signals
+* @memberof Visualization.prototype
+* @type {Array}
+*
+* @example
+* // TODO: example
+*/
+setReadWriteAccessor( Visualization.prototype, 'signals', getSignals, setSignals );
+
+/**
+* Visualization title.
+*
+* @name title
+* @memberof Visualization.prototype
+* @type {Title}
+*
+* @example
+* var Title = require( '@stdlib/plot/vega/title/ctor' );
+*
+* var title = new Title({
+* 'text': 'Foo Bar'
+* });
+* var viz = new Visualization({
+* 'title': title
+* });
+*
+* var v = viz.title;
+* // returns
+*/
+setReadWriteAccessor( Visualization.prototype, 'title', getTitle, setTitle );
+
+/**
+* Visualization metadata.
+*
+* @name usermeta
+* @memberof Visualization.prototype
+* @type {Object}
+*
+* @example
+* var obj = {
+* 'foo': 'bar'
+* };
+* var viz = new Visualization({
+* 'usermeta': obj
+* });
+*
+* var v = viz.usermeta;
+* // returns { 'foo': 'bar' }
+*/
+setReadWriteAccessor( Visualization.prototype, 'usermeta', getUserMeta, setUserMeta );
+
+/**
+* Visualization width (in pixels).
+*
+* @name width
+* @memberof Visualization.prototype
+* @type {(NonNegativeNumber|Signal)}
+*
+* @example
+* var viz = new Visualization({
+* 'width': 640
+* });
+*
+* var v = viz.width;
+* // returns 640
+*/
+setReadWriteAccessor( Visualization.prototype, 'width', getWidth, setWidth );
+
+/**
+* Serializes an instance to a JSON object.
+*
+* ## Notes
+*
+* - This method is implicitly invoked by `JSON.stringify`.
+*
+* @name toJSON
+* @memberof Visualization.prototype
+* @type {Function}
+* @returns {Object} JSON object
+*
+* @example
+* var viz = new Visualization();
+*
+* var v = viz.toJSON();
+* // returns {...}
+*/
+setNonEnumerableReadOnly( Visualization.prototype, 'toJSON', function toJSON() {
+ return instance2json( this, properties );
+});
+
+
+// EXPORTS //
+
+module.exports = Visualization;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/get.js
new file mode 100644
index 000000000000..06daf1c5c9f6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a list of graphical marks.
+*
+* @private
+* @returns {Array} graphical marks
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/properties.js
new file mode 100644
index 000000000000..313258f1ea31
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'marks' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/set.js
new file mode 100644
index 000000000000..090983463d5b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/marks/set.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isMarkArray = require( '@stdlib/plot/vega/base/assert/is-mark-array' );
+var isEmptyArrayLikeObject = require( '@stdlib/assert/is-empty-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets graphical marks.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of marks
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isMarkArray( value ) && !isEmptyArrayLikeObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of marks. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/get.js
new file mode 100644
index 000000000000..e2482165ed10
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization padding.
+*
+* @private
+* @returns {(Padding|Signal)} padding
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/properties.js
new file mode 100644
index 000000000000..4263049cd90b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'padding' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/set.js
new file mode 100644
index 000000000000..28ef9b09c8ed
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/padding/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isPadding = require( '@stdlib/plot/vega/base/assert/is-padding' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization padding.
+*
+* @private
+* @param {(Padding|Signal)} value - input value
+* @throws {TypeError} must be a padding instance or a signal
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isPadding( value ) ) { // TODO: add signal support
+ throw new TypeError( format( 'invalid assignment. `%s` must be a padding instance or a signal. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ this._removeChangeListener( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListener( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/get.js
new file mode 100644
index 000000000000..3bc62ab50532
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a list of cartographic projections.
+*
+* @private
+* @returns {Array} projections
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/properties.js
new file mode 100644
index 000000000000..cb080990e999
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'projections' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/set.js
new file mode 100644
index 000000000000..b66720c57895
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/projections/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets cartographic projections.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of projections
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isArrayLikeObject( value ) ) { // FIXME: validate array of projections or an empty array
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of projections. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/properties.json b/lib/node_modules/@stdlib/plot/vega/builder/lib/properties.json
new file mode 100644
index 000000000000..e4c16f79f960
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/properties.json
@@ -0,0 +1,20 @@
+[
+ "$schema",
+ "autosize",
+ "axes",
+ "background",
+ "config",
+ "data",
+ "description",
+ "encode",
+ "height",
+ "legends",
+ "marks",
+ "padding",
+ "projections",
+ "scales",
+ "signals",
+ "title",
+ "usermeta",
+ "width"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/properties/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/properties/get.js
new file mode 100644
index 000000000000..8fc57de14e90
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/properties/get.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var properties = require( './../properties.json' );
+
+
+// MAIN //
+
+/**
+* Returns the list of enumerable properties.
+*
+* @private
+* @returns {Array} properties
+*/
+function get() {
+ return properties.slice();
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/get.js
new file mode 100644
index 000000000000..0bf274b42e83
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization scales.
+*
+* @private
+* @returns {Array} scales
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/properties.js
new file mode 100644
index 000000000000..dfad000dd527
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'scales' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/set.js
new file mode 100644
index 000000000000..4ce2c52d4294
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/scales/set.js
@@ -0,0 +1,67 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isEmptyArrayLikeObject = require( '@stdlib/assert/is-empty-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var isScaleArray = require( '@stdlib/plot/vega/base/assert/is-scale-array' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization scales.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of scale instances
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isScaleArray( value ) && !isEmptyArrayLikeObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of scale instances. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/schema/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/schema/get.js
new file mode 100644
index 000000000000..0b2aeafc7a97
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/schema/get.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns the configuration schema URL.
+*
+* @private
+* @returns {string} schema URL
+*/
+function get() {
+ return this._$schema;
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/get.js
new file mode 100644
index 000000000000..bafc08458a5b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a list of dynamic variables which parameterize a visualization.
+*
+* @private
+* @returns {Array} signals
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/properties.js
new file mode 100644
index 000000000000..8abf712243c4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'signals' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/set.js
new file mode 100644
index 000000000000..c794b519d28f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/signals/set.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets dynamic variables which parameterize a visualization.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of signals
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isArrayLikeObject( value ) ) { // FIXME: validate array of signals or an empty array
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of signals. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/title/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/title/get.js
new file mode 100644
index 000000000000..91ca9552d86b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/title/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization title.
+*
+* @private
+* @returns {Title} title
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/title/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/title/properties.js
new file mode 100644
index 000000000000..8b6ce18df555
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/title/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'title' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/title/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/title/set.js
new file mode 100644
index 000000000000..38a18865b15b
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/title/set.js
@@ -0,0 +1,63 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isTitle = require( '@stdlib/plot/vega/base/assert/is-title' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization title.
+*
+* @private
+* @param {Title} value - input value
+* @throws {TypeError} must be a title instance
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isTitle( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a title instance. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ this._removeChangeListener( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListener( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/get.js
new file mode 100644
index 000000000000..9bb4dbdd3781
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns visualization metadata.
+*
+* @private
+* @returns {Object} metadata
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/properties.js
new file mode 100644
index 000000000000..103485c6a259
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'usermeta' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/set.js
new file mode 100644
index 000000000000..f6e9e847bc85
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/usermeta/set.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var format = require( '@stdlib/string/format' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets optional metadata.
+*
+* @private
+* @param {Object} value - input value
+* @throws {TypeError} must be an object
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an object. Value: `%s`.', prop.name, value ) );
+ }
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/width/get.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/width/get.js
new file mode 100644
index 000000000000..33df7bd00350
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/width/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the visualization width (in pixels).
+*
+* @private
+* @returns {(NonNegativeNumber|Signal)} width
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/width/properties.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/width/properties.js
new file mode 100644
index 000000000000..421ccbce19c3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/width/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'width' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/lib/width/set.js b/lib/node_modules/@stdlib/plot/vega/builder/lib/width/set.js
new file mode 100644
index 000000000000..f32276146bfc
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/lib/width/set.js
@@ -0,0 +1,62 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isNonNegativeNumber = require( '@stdlib/assert/is-nonnegative-number' ).isPrimitive;
+var isObject = require( '@stdlib/assert/is-object' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:builder:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the visualization width (in pixels).
+*
+* @private
+* @param {(NonNegativeNumber|Signal)} value - input value
+* @throws {TypeError} must be either a nonnegative number or a signal
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isNonNegativeNumber( value ) && !isObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be either a nonnegative number or a signal. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/builder/package.json b/lib/node_modules/@stdlib/plot/vega/builder/package.json
new file mode 100644
index 000000000000..35ebb7faa207
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/builder/package.json
@@ -0,0 +1,60 @@
+{
+ "name": "@stdlib/plot/vega/builder",
+ "version": "0.0.0",
+ "description": "Visualization constructor.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "visualization",
+ "constructor",
+ "ctor"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/examples/index.js
new file mode 100644
index 000000000000..cbb7e252759e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/examples/index.js
@@ -0,0 +1,27 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var DataSet = require( './../lib' );
+
+var data = new DataSet({
+ 'name': 'table'
+});
+
+console.log( data.toJSON() );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/get.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/get.js
new file mode 100644
index 000000000000..bc1cebd920ba
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a boolean indicating whether to data loading or reformatting should be performed asynchronously.
+*
+* @private
+* @returns {boolean} boolean flag
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/properties.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/properties.js
new file mode 100644
index 000000000000..ebb2e3a64604
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'async' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/set.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/set.js
new file mode 100644
index 000000000000..e88901b79fd6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/async/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:data:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a boolean flag indicating whether to data loading or reformatting should be done asynchronously.
+*
+* @private
+* @param {boolean} value - input value
+* @throws {TypeError} must be a boolean
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isBoolean( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/change_event.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/change_event.js
new file mode 100644
index 000000000000..ba839622e669
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/change_event.js
@@ -0,0 +1,41 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns a new change event object.
+*
+* @private
+* @param {string} property - property name
+* @returns {Object} event object
+*/
+function event( property ) { // eslint-disable-line stdlib/no-redeclare
+ return {
+ 'type': 'update',
+ 'source': 'data',
+ 'property': property
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = event;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/defaults.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/defaults.js
new file mode 100644
index 000000000000..ea1727709ec7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/defaults.js
@@ -0,0 +1,49 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MAIN //
+
+/**
+* Returns defaults.
+*
+* @private
+* @returns {Object} default options
+*
+* @example
+* var o = defaults();
+* // returns {...}
+*/
+function defaults() {
+ return {
+ // Boolean indicating whether to perform data loading or reformatting asynchronously:
+ 'async': false,
+
+ // List of transforms to perform on the input data:
+ 'transform': [],
+
+ // List of array updates to perform when trigger conditions are met:
+ 'triggers': []
+ };
+}
+
+
+// EXPORTS //
+
+module.exports = defaults;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/index.js
new file mode 100644
index 000000000000..888eede2e8a0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/index.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Data set constructor.
+*
+* @module @stdlib/plot/vega/data/base/ctor
+*
+* @example
+* var DataSet = require( '@stdlib/plot/vega/data/base/ctor' );
+*
+* var data = new DataSet({
+* 'name': 'table'
+* });
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/main.js
new file mode 100644
index 000000000000..056bb3c4b1e8
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/main.js
@@ -0,0 +1,232 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-restricted-syntax, no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var EventEmitter = require( 'events' ).EventEmitter;
+var logger = require( 'debug' );
+var isObject = require( '@stdlib/assert/is-object' );
+var setNonEnumerableReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' );
+var hasProp = require( '@stdlib/assert/has-property' );
+var inherit = require( '@stdlib/utils/inherit' );
+var objectKeys = require( '@stdlib/utils/keys' );
+var transformErrorMessage = require( '@stdlib/plot/vega/base/transform-validation-message' );
+var instance2json = require( '@stdlib/plot/vega/base/to-json' );
+var format = require( '@stdlib/string/format' );
+var properties = require( './properties.json' );
+var defaults = require( './defaults.js' );
+
+// Note: keep the following in alphabetical order according to the `require` path...
+var getAsync = require( './async/get.js' );
+var setAsync = require( './async/set.js' );
+
+var getName = require( './name/get.js' );
+var setName = require( './name/set.js' );
+
+var getTriggers = require( './triggers/get.js' );
+var setTriggers = require( './triggers/set.js' );
+
+// TODO: add `format` support
+
+// TODO: add `transform` support
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:data:main' );
+
+
+// MAIN //
+
+/**
+* Data set constructor.
+*
+* @constructor
+* @param {Options} options - constructor options
+* @param {string} options.name - data set name
+* @param {boolean} [options.async=false] - boolean indicating whether data loading or reformatting should be performed asynchronously
+* @param {Format} [options.format] - format specification for parsing a data file or values
+* @param {Array} [options.transforms=[]] - list of transforms to perform on input data
+* @param {Array} [options.triggers=[]] - list of updates to perform when trigger conditions are met
+* @throws {TypeError} options argument must be an object
+* @throws {Error} must provide valid options
+* @returns {DataSet} data set instance
+*
+* @example
+* var data = new DataSet({
+* 'name': 'table'
+* });
+* // returns
+*/
+function DataSet( options ) {
+ var opts;
+ var keys;
+ var v;
+ var k;
+ var i;
+ if ( !( this instanceof DataSet ) ) {
+ return new DataSet( options );
+ }
+ EventEmitter.call( this );
+ if ( !isObject( options ) ) {
+ throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
+ }
+ // Resolve the default configuration:
+ opts = defaults();
+
+ // Set internal properties according to the default configuration...
+ keys = objectKeys( opts );
+ for ( i = 0; i < keys.length; i++ ) {
+ k = keys[ i ];
+ this[ '_'+k ] = opts[ k ];
+ if ( k === 'on' ) {
+ this._triggers = opts[ k ]; // set an alias
+ } else if ( k === 'triggers' ) {
+ this._on = opts[ k ]; // set an alias
+ }
+ }
+ // Check for required properties...
+ if ( !hasProp( options, 'name' ) ) {
+ throw new TypeError( 'invalid argument. Options argument must specify the data set name.' );
+ }
+ // Validate provided options by attempting to assign option values to corresponding fields...
+ for ( i = 0; i < properties.length; i++ ) {
+ k = properties[ i ];
+ if ( !hasProp( options, k ) ) {
+ continue;
+ }
+ v = options[ k ];
+ if ( k === 'on' ) {
+ // Avoid conflict with event emitter method:
+ k = 'triggers';
+ }
+ try {
+ this[ k ] = v;
+ } catch ( err ) {
+ debug( 'Encountered an error. Error: %s', err.message );
+
+ // FIXME: retain thrown error type
+ throw new Error( transformErrorMessage( err.message ) );
+ }
+ }
+ return this;
+}
+
+/*
+* Inherit from the `EventEmitter` prototype.
+*/
+inherit( DataSet, EventEmitter );
+
+/**
+* Constructor name.
+*
+* @private
+* @name name
+* @memberof DataSet
+* @readonly
+* @type {string}
+*/
+setNonEnumerableReadOnly( DataSet, 'name', 'DataSet' );
+
+/**
+* Boolean flag indicating whether to perform data loading or reformatting asynchronously.
+*
+* @name async
+* @memberof DataSet.prototype
+* @type {boolean}
+* @default false
+*
+* @example
+* var data = new DataSet({
+* 'name': 'table',
+* 'async': true
+* });
+*
+* var v = data.async;
+* // returns true
+*/
+setReadWriteAccessor( DataSet.prototype, 'async', getAsync, setAsync );
+
+/**
+* Data set name.
+*
+* @name name
+* @memberof DataSet.prototype
+* @type {string}
+*
+* @example
+* var data = new DataSet({
+* 'name': 'table'
+* });
+*
+* var v = data.name;
+* // returns 'table'
+*/
+setReadWriteAccessor( DataSet.prototype, 'name', getName, setName );
+
+/**
+* List of updates to perform when trigger conditions are met.
+*
+* @name triggers
+* @memberof DataSet.prototype
+* @type {Array}
+*
+* @example
+* var data = new DataSet({
+* 'name': 'table',
+* 'triggers': []
+* });
+*
+* var v = data.triggers;
+* // returns []
+*/
+setReadWriteAccessor( DataSet.prototype, 'triggers', getTriggers, setTriggers );
+
+/**
+* Serializes an instance to a JSON object.
+*
+* ## Notes
+*
+* - This method is implicitly invoked by `JSON.stringify`.
+*
+* @name toJSON
+* @memberof DataSet.prototype
+* @type {Function}
+* @returns {Object} JSON object
+*
+* @example
+* var data = new DataSet({
+* 'name': 'table'
+* });
+*
+* var v = data.toJSON();
+* // returns {...}
+*/
+setNonEnumerableReadOnly( DataSet.prototype, 'toJSON', function toJSON() {
+ return instance2json( this, properties );
+});
+
+
+// EXPORTS //
+
+module.exports = DataSet;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/get.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/get.js
new file mode 100644
index 000000000000..2b9fc5d82274
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/get.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns the data set name.
+*
+* @private
+* @returns {string} name
+*/
+function get() {
+ return this[ prop.private ];
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/properties.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/properties.js
new file mode 100644
index 000000000000..729209deffa2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'name' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/set.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/set.js
new file mode 100644
index 000000000000..b1876dd54c57
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/name/set.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:data:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets the data set name.
+*
+* @private
+* @param {string} value - input value
+* @throws {TypeError} must be a non-empty string
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isString( value ) || value.length <= 0 ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be a non-empty string. Value: `%s`.', prop.name, value ) );
+ }
+ if ( value !== this[ prop.private ] ) {
+ debug( 'Current value: %s. New value: %s.', this[ prop.private ], value );
+ this[ prop.private ] = value;
+ this.emit( 'change', changeEvent( prop.name ) );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/properties.json b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/properties.json
new file mode 100644
index 000000000000..3c82608400db
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/properties.json
@@ -0,0 +1,9 @@
+[
+ "async",
+ "format",
+ "name",
+
+ "on",
+
+ "transform"
+]
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/get.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/get.js
new file mode 100644
index 000000000000..f41ed186033d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/get.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var copy = require( '@stdlib/array/base/copy-indexed' );
+var prop = require( './properties.js' );
+
+
+// MAIN //
+
+/**
+* Returns a list of updates to perform when trigger conditions are met.
+*
+* @private
+* @returns {Array} list of updates
+*/
+function get() {
+ return copy( this[ prop.private ] );
+}
+
+
+// EXPORTS //
+
+module.exports = get;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/properties.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/properties.js
new file mode 100644
index 000000000000..2340b2f70079
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/properties.js
@@ -0,0 +1,33 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var property2object = require( '@stdlib/plot/vega/base/property2object' );
+
+
+// MAIN //
+
+var obj = property2object( 'triggers' );
+
+
+// EXPORTS //
+
+module.exports = obj;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/set.js b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/set.js
new file mode 100644
index 000000000000..19d699c2a21d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/lib/triggers/set.js
@@ -0,0 +1,68 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable no-invalid-this */
+
+'use strict';
+
+// MODULES //
+
+var logger = require( 'debug' );
+var isEmptyArrayLikeObject = require( '@stdlib/assert/is-empty-array-like-object' );
+var hasEqualValues = require( '@stdlib/array/base/assert/has-equal-values' );
+var isTriggerArray = require( '@stdlib/plot/vega/base/assert/is-trigger-array' );
+var copy = require( '@stdlib/array/base/copy' );
+var format = require( '@stdlib/string/format' );
+var changeEvent = require( './../change_event.js' );
+var prop = require( './properties.js' );
+
+
+// VARIABLES //
+
+var debug = logger( 'vega:data:set:'+prop.name );
+
+
+// MAIN //
+
+/**
+* Sets a list of updates to perform when trigger conditions are met.
+*
+* @private
+* @param {ArrayLikeObject} value - input value
+* @throws {TypeError} must be an array of trigger instances
+* @returns {void}
+*/
+function set( value ) {
+ if ( !isTriggerArray( value ) && !isEmptyArrayLikeObject( value ) ) {
+ throw new TypeError( format( 'invalid assignment. `%s` must be an array of trigger instances. Value: `%s`.', prop.name, value ) );
+ }
+ value = copy( value );
+ if ( !hasEqualValues( value, this[ prop.private ] ) ) {
+ this._removeChangeListeners( this[ prop.private ] );
+ debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) );
+ this[ prop.private ] = value;
+ this._on = value; // set an alias to ensure correct serialization
+ this.emit( 'change', changeEvent( prop.name ) );
+ this._addChangeListeners( this[ prop.private ] );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = set;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/base/ctor/package.json b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/package.json
new file mode 100644
index 000000000000..54c4aa6902bd
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/base/ctor/package.json
@@ -0,0 +1,61 @@
+{
+ "name": "@stdlib/plot/vega/data/base/ctor",
+ "version": "0.0.0",
+ "description": "Data set constructor.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "constructor",
+ "ctor"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/examples/index.js
new file mode 100644
index 000000000000..bde52f8a3b1f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/examples/index.js
@@ -0,0 +1,30 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var array2tidy = require( './../lib' );
+
+var arr = discreteUniform( 10, -100, 100 );
+var data = array2tidy( arr, 'series', [ 'x', 'y' ] );
+
+var out = data.toJSON();
+console.log( out );
+
+console.log( JSON.stringify( out ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/lib/index.js
new file mode 100644
index 000000000000..de0d57d42861
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/lib/index.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert an array to a "tidy" data set.
+*
+* @module @stdlib/plot/vega/data/tidy/from-array
+*
+* @example
+* var array2tidy = require( '@stdlib/plot/vega/data/tidy/from-array' );
+*
+* var x = [ 1, 2, 3 ];
+*
+* var v = array2tidy( x, 'data', [ 'index', 'value' ] );
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/lib/main.js
new file mode 100644
index 000000000000..e50507c8be3d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var entries2views = require( '@stdlib/array/base/entries2views' );
+var DataSet = require( '@stdlib/plot/vega/data/values' );
+
+
+// MAIN //
+
+/**
+* Converts an array to a "tidy" data set.
+*
+* @param {Collection} arr - input array
+* @param {string} name - data set name
+* @param {Array} fields - list of field names
+* @returns {DataSet} data set instance
+*
+* @example
+* var x = [ 1, 2, 3 ];
+*
+* var v = array2tidy( x, 'data', [ 'index', 'value' ] );
+* // returns
+*/
+function array2tidy( arr, name, fields ) {
+ // TODO: add input argument validation
+
+ return new DataSet({
+ 'name': name,
+ 'values': entries2views( arr, fields )
+ });
+}
+
+
+// EXPORTS //
+
+module.exports = array2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/package.json
new file mode 100644
index 000000000000..4531faf09f44
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-array",
+ "version": "0.0.0",
+ "description": "Convert an array to a tidy data set.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "collection"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/examples/index.js
new file mode 100644
index 000000000000..b3552d236d41
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/examples/index.js
@@ -0,0 +1,32 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var zeroTo = require( '@stdlib/array/zero-to' );
+var arrays2tidy = require( './../lib' );
+
+var x = zeroTo( 10 );
+var y = discreteUniform( 10, -100, 100 );
+var data = arrays2tidy( [ x, y ], 'series', [ 'x', 'y' ] );
+
+var out = data.toJSON();
+console.log( out );
+
+console.log( JSON.stringify( out ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/lib/index.js
new file mode 100644
index 000000000000..f6ef038c992c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/lib/index.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert a list of arrays to a "tidy" data set.
+*
+* @module @stdlib/plot/vega/data/tidy/from-arrays
+*
+* @example
+* var arrays2tidy = require( '@stdlib/plot/vega/data/tidy/from-arrays' );
+*
+* var x = [ 1, 2, 3 ];
+* var y = [ 4, 5, 6 ];
+*
+* var v = arrays2tidy( [ x, y ], 'data', [ 'x', 'y' ] );
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/lib/main.js
new file mode 100644
index 000000000000..6c829efd0671
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/lib/main.js
@@ -0,0 +1,56 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var zip2views = require( '@stdlib/array/base/zip2views' );
+var DataSet = require( '@stdlib/plot/vega/data/values' );
+
+
+// MAIN //
+
+/**
+* Converts a list of arrays to a "tidy" data set.
+*
+* @param {ArrayLikeObject} list - list of arrays
+* @param {string} name - data set name
+* @param {Array} fields - list of field names
+* @returns {DataSet} data set instance
+*
+* @example
+* var x = [ 1, 2, 3 ];
+* var y = [ 4, 5, 6 ];
+*
+* var v = arrays2tidy( [ x, y ], 'data', [ 'x', 'y' ] );
+* // returns
+*/
+function arrays2tidy( list, name, fields ) {
+ // TODO: add input argument validation
+
+ return new DataSet({
+ 'name': name,
+ 'values': zip2views( list, fields )
+ });
+}
+
+
+// EXPORTS //
+
+module.exports = arrays2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/package.json
new file mode 100644
index 000000000000..3fd401f8a4e0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-arrays/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-arrays",
+ "version": "0.0.0",
+ "description": "Convert a list of arrays to a tidy data set.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "collection"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/examples/index.js
new file mode 100644
index 000000000000..ff7253b8c55c
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/examples/index.js
@@ -0,0 +1,36 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var array = require( '@stdlib/ndarray/array' );
+var columns2tidy = require( './../lib' );
+
+var arr = array( discreteUniform( 10, -100, 100 ), {
+ 'shape': [ 5, 2 ]
+});
+var data = columns2tidy( arr, [ 'series1', 'series2' ], [ 'x', 'y' ] );
+
+var out = data[ 0 ].toJSON();
+console.log( out );
+
+out = data[ 1 ].toJSON();
+console.log( out );
+
+console.log( JSON.stringify( data ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/lib/index.js
new file mode 100644
index 000000000000..65d17c42874f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/lib/index.js
@@ -0,0 +1,45 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert the columns of a two-dimensional ndarray to "tidy" data sets.
+*
+* @module @stdlib/plot/vega/data/tidy/from-matrix-columns
+*
+* @example
+* var array = require( '@stdlib/ndarray/array' );
+* var columns2tidy = require( '@stdlib/plot/vega/data/tidy/from-matrix-columns' );
+*
+* var x = array( [ 1, 2, 3, 4 ], {
+* 'shape': [ 2, 2 ]
+* });
+*
+* var v = columns2tidy( x, [ 'series1', 'series2' ], [ 'index', 'value' ] );
+* // returns [ , ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/lib/main.js
new file mode 100644
index 000000000000..64750897d337
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/lib/main.js
@@ -0,0 +1,97 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var array2ndarray = require( '@stdlib/ndarray/base/from-array' );
+var zip2views1d = require( '@stdlib/ndarray/base/zip2views1d' );
+var zeroTo = require( '@stdlib/array/zero-to' );
+var getShape = require( '@stdlib/ndarray/shape' );
+var defaults = require( '@stdlib/ndarray/defaults' );
+var nditerColumns = require( '@stdlib/ndarray/iter/columns' );
+var DataSet = require( '@stdlib/plot/vega/data/values' );
+
+
+// VARIABLES //
+
+// Resolve the default memory layout:
+var ORDER = defaults.get( 'order' );
+
+// Specify the default index data type for the index array:
+var DTYPE = 'float64'; // note: we don't use `dtype.index`, as that can be `int32` which would prevent accommodating arrays having lengths greater than 2^31-1
+
+
+// MAIN //
+
+/**
+* Converts the columns of a two-dimensional ndarray to "tidy" data sets.
+*
+* @param {ndarrayLike} arr - input array
+* @param {Array} names - data set (column) names
+* @param {Array} fields - list of field names
+* @returns {Array} array of data sets
+*
+* @example
+* var array = require( '@stdlib/ndarray/array' );
+*
+* var x = array( [ 1, 2, 3, 4 ], {
+* 'shape': [ 2, 2 ]
+* });
+*
+* var v = columns2tidy( x, [ 'series1', 'series2' ], [ 'index', 'value' ] );
+* // returns [ , ]
+*/
+function columns2tidy( arr, names, fields ) {
+ var indices;
+ var out;
+ var it;
+ var sh;
+ var v;
+ var d;
+ var i;
+
+ // TODO: add input argument validation
+
+ sh = getShape( arr );
+ indices = zeroTo( sh[ 0 ], DTYPE );
+ indices = array2ndarray( indices, ORDER );
+
+ it = nditerColumns( arr );
+ out = [];
+ i = 0;
+ while ( true ) {
+ v = it.next();
+ if ( v.done ) {
+ break;
+ }
+ d = new DataSet({
+ 'name': names[ i ],
+ 'values': zip2views1d( [ indices, v.value ], fields )
+ });
+ out.push( d );
+ i += 1;
+ }
+ return out;
+}
+
+
+// EXPORTS //
+
+module.exports = columns2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/package.json
new file mode 100644
index 000000000000..2d9b69a0dc10
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-matrix-columns/package.json
@@ -0,0 +1,65 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-matrix-columns",
+ "version": "0.0.0",
+ "description": "Convert the columns of a two-dimensional ndarray to tidy data sets.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "ndarray",
+ "multidimensional",
+ "matrix"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/examples/index.js
new file mode 100644
index 000000000000..4b8fe813cc23
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/examples/index.js
@@ -0,0 +1,31 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
+var filled2dBy = require( '@stdlib/array/base/filled2d-by' );
+var nested2tidy = require( './../lib' );
+
+var arr = filled2dBy( [ 10, 2 ], discreteUniform( -100, 100 ) );
+var data = nested2tidy( arr, 'series', [ 'x', 'y' ] );
+
+var out = data.toJSON();
+console.log( out );
+
+console.log( JSON.stringify( out ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/lib/index.js
new file mode 100644
index 000000000000..0072b6fed2c4
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/lib/index.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert an array of arrays to a "tidy" data set.
+*
+* @module @stdlib/plot/vega/data/tidy/from-nested-array
+*
+* @example
+* var nested2tidy = require( '@stdlib/plot/vega/data/tidy/from-nested-array' );
+*
+* var x = [ [ 1, 2 ], [ 3, 4 ] ];
+*
+* var v = nested2tidy( x, 'data', [ 'x', 'y' ] );
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/lib/main.js
new file mode 100644
index 000000000000..127fd7e21065
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var nested2views = require( '@stdlib/array/base/nested2views' );
+var DataSet = require( '@stdlib/plot/vega/data/values' );
+
+
+// MAIN //
+
+/**
+* Converts an array of arrays to a "tidy" data set.
+*
+* @param {Collection} arr - input array containing nested arrays
+* @param {string} name - data set name
+* @param {Array} fields - list of field names
+* @returns {DataSet} data set instance
+*
+* @example
+* var x = [ [ 1, 2 ], [ 3, 4 ] ];
+*
+* var v = nested2tidy( x, 'data', [ 'index', 'value' ] );
+* // returns
+*/
+function nested2tidy( arr, name, fields ) {
+ // TODO: add input argument validation
+
+ return new DataSet({
+ 'name': name,
+ 'values': nested2views( arr, fields )
+ });
+}
+
+
+// EXPORTS //
+
+module.exports = nested2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/package.json
new file mode 100644
index 000000000000..6e2cd3fea642
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-array/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-nested-array",
+ "version": "0.0.0",
+ "description": "Convert an array of arrays to a tidy data set.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "collection",
+ "nested"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/examples/index.js
new file mode 100644
index 000000000000..4cb486e44e27
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/examples/index.js
@@ -0,0 +1,35 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
+var filled2dBy = require( '@stdlib/array/base/filled2d-by' );
+var nestedarrays2tidy = require( './../lib' );
+
+var arr1 = filled2dBy( [ 10, 2 ], discreteUniform( -100, 100 ) );
+var arr2 = filled2dBy( [ 10, 2 ], discreteUniform( -100, 100 ) );
+var data = nestedarrays2tidy( [ arr1, arr2 ], [ 'series1', 'series2' ], [ 'x', 'y' ] );
+
+var out = data[ 0 ].toJSON();
+console.log( out );
+
+out = data[ 1 ].toJSON();
+console.log( out );
+
+console.log( JSON.stringify( out ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/lib/index.js
new file mode 100644
index 000000000000..1a4827b97670
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/lib/index.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert a list of nested arrays to "tidy" data sets.
+*
+* @module @stdlib/plot/vega/data/tidy/from-nested-arrays
+*
+* @example
+* var nestedarrays2tidy = require( '@stdlib/plot/vega/data/tidy/from-nested-arrays' );
+*
+* var a = [ [ 1, 2 ], [ 3, 4 ] ];
+* var b = [ [ 5, 6 ], [ 7, 8 ] ];
+*
+* var v = nestedarrays2tidy( [ a, b ], [ 'data1', 'data2' ], [ 'x', 'y' ] );
+* // returns [ , ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/lib/main.js
new file mode 100644
index 000000000000..674c9643d942
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/lib/main.js
@@ -0,0 +1,61 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var nested2tidy = require( '@stdlib/plot/vega/data/tidy/from-nested-array' );
+
+
+// MAIN //
+
+/**
+* Converts a list of nested arrays to "tidy" data sets.
+*
+* @param {ArrayLikeObject>} arr - list of nested arrays
+* @param {Array} names - data set names
+* @param {Array} fields - list of field names
+* @returns {Array} list of data set
+*
+* @example
+* var a = [ [ 1, 2 ], [ 3, 4 ] ];
+* var b = [ [ 5, 6 ], [ 7, 8 ] ];
+*
+* var v = nestedarrays2tidy( [ a, b ], [ 'data1', 'data2' ], [ 'x', 'y' ] );
+* // returns [ , ]
+*/
+function nestedarrays2tidy( arr, names, fields ) {
+ var out;
+ var d;
+ var i;
+
+ // TODO: add input argument validation
+
+ out = [];
+ for ( i = 0; i < arr.length; i++ ) {
+ d = nested2tidy( arr[ i ], names[ i ], fields );
+ out.push( d );
+ }
+ return out;
+}
+
+
+// EXPORTS //
+
+module.exports = nestedarrays2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/package.json
new file mode 100644
index 000000000000..7ca9c63cbdc7
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-nested-arrays/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-nested-arrays",
+ "version": "0.0.0",
+ "description": "Convert a list of nested arrays to tidy data sets.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "collection",
+ "nested"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/examples/index.js
new file mode 100644
index 000000000000..51b1dfe2f106
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/examples/index.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
+var filledBy = require( '@stdlib/array/base/filled-by' );
+var objarray2tidy = require( './../lib' );
+
+function clbk( i ) {
+ return {
+ 'a': i,
+ 'b': discreteUniform( -100, 100 )
+ };
+}
+
+var arr = filledBy( 10, clbk );
+
+var mapping = {
+ 'a': 'x',
+ 'b': 'y'
+};
+var data = objarray2tidy( arr, 'series', mapping );
+
+var out = data.toJSON();
+console.log( out );
+
+console.log( JSON.stringify( out ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/lib/index.js
new file mode 100644
index 000000000000..239242a2a270
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/lib/index.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert an array of objects to a "tidy" data set.
+*
+* @module @stdlib/plot/vega/data/tidy/from-object-array
+*
+* @example
+* var objarray2tidy = require( '@stdlib/plot/vega/data/tidy/from-object-array' );
+*
+* var x = [
+* {
+* 'a': 1,
+* 'b': 2
+* },
+* {
+* 'a': 3,
+* 'b': 4
+* }
+* ];
+*
+* var mapping = {
+* 'a': 'x',
+* 'b': 'y'
+* };
+* var v = objarray2tidy( x, 'data', mapping );
+* // returns
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/lib/main.js
new file mode 100644
index 000000000000..8f65b1f23540
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/lib/main.js
@@ -0,0 +1,87 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var objectKeys = require( '@stdlib/utils/keys' );
+var rekeyViews = require( '@stdlib/array/base/rekey-views' );
+var DataSet = require( '@stdlib/plot/vega/data/values' );
+
+
+// MAIN //
+
+/**
+* Converts an array of object to a "tidy" data set.
+*
+* @param {ArrayLikeObject} arr - input array
+* @param {string} name - data set name
+* @param {Object} [mapping] - object mapping existing field names to new field names
+* @returns {DataSet} data set instance
+*
+* @example
+* var x = [
+* {
+* 'a': 1,
+* 'b': 2
+* },
+* {
+* 'a': 3,
+* 'b': 4
+* }
+* ];
+*
+* var mapping = {
+* 'a': 'x',
+* 'b': 'y'
+* };
+* var v = objarray2tidy( x, 'data', mapping );
+* // returns
+*/
+function objarray2tidy( arr, name, mapping ) {
+ var keys;
+ var flg;
+ var i;
+ var k;
+
+ // TODO: add input argument validation
+
+ if ( arguments.length > 2 ) {
+ // Resolve the list of keys needing to be mapped:
+ keys = objectKeys( mapping );
+
+ // We only want to generate "re-keyed" views if we have to, so check that the mapping object actually contains keys needing to be renamed...
+ for ( i = 0; i < keys.length; i++ ) {
+ k = keys[ i ];
+ if ( k !== mapping[ k ] ) {
+ flg = true;
+ break;
+ }
+ }
+ }
+ return new DataSet({
+ 'name': name,
+ 'values': ( flg ) ? rekeyViews( arr, mapping ) : arr
+ });
+}
+
+
+// EXPORTS //
+
+module.exports = objarray2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/package.json
new file mode 100644
index 000000000000..b7d2390561b1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-array/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-object-array",
+ "version": "0.0.0",
+ "description": "Convert an array of objects to a tidy data set.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "collection"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/examples/index.js
new file mode 100644
index 000000000000..8268483ca8b2
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/examples/index.js
@@ -0,0 +1,47 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
+var filledBy = require( '@stdlib/array/base/filled-by' );
+var objarrays2tidy = require( './../lib' );
+
+function clbk( i ) {
+ return {
+ 'a': i,
+ 'b': discreteUniform( -100, 100 )
+ };
+}
+
+var arr1 = filledBy( 10, clbk );
+var arr2 = filledBy( 10, clbk );
+
+var mapping = {
+ 'a': 'x',
+ 'b': 'y'
+};
+var data = objarrays2tidy( [ arr1, arr2 ], [ 'series1', 'series2' ], mapping );
+
+var out = data[ 0 ].toJSON();
+console.log( out );
+
+out = data[ 1 ].toJSON();
+console.log( out );
+
+console.log( JSON.stringify( out ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/lib/index.js
new file mode 100644
index 000000000000..2d74d4d57023
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/lib/index.js
@@ -0,0 +1,66 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Convert a list of object arrays to "tidy" data sets.
+*
+* @module @stdlib/plot/vega/data/tidy/from-object-arrays
+*
+* @example
+* var objarrays2tidy = require( '@stdlib/plot/vega/data/tidy/from-object-arrays' );
+*
+* var x = [
+* {
+* 'a': 1,
+* 'b': 2
+* },
+* {
+* 'a': 3,
+* 'b': 4
+* }
+* ];
+
+* var y = [
+* {
+* 'a': 5,
+* 'b': 6
+* },
+* {
+* 'a': 7,
+* 'b': 8
+* }
+* ];
+*
+* var mapping = {
+* 'a': 'x',
+* 'b': 'y'
+* };
+* var v = objarrays2tidy( [ x, y ], [ 'data1', 'data2' ], mapping );
+* // returns [ , ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/lib/main.js
new file mode 100644
index 000000000000..08205ff488b1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/lib/main.js
@@ -0,0 +1,84 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var objarray2tidy = require( '@stdlib/plot/vega/data/tidy/from-object-array' );
+
+
+// MAIN //
+
+/**
+* Convert a list of object arrays to "tidy" data sets.
+*
+* @param {ArrayLikeObject>} arr - list of arrays
+* @param {Array} names - data set names
+* @param {Object} [mapping] - object mapping existing field names to new field names
+* @returns {Array} list of data sets
+*
+* @example
+* var x = [
+* {
+* 'a': 1,
+* 'b': 2
+* },
+* {
+* 'a': 3,
+* 'b': 4
+* }
+* ];
+
+* var y = [
+* {
+* 'a': 5,
+* 'b': 6
+* },
+* {
+* 'a': 7,
+* 'b': 8
+* }
+* ];
+*
+* var mapping = {
+* 'a': 'x',
+* 'b': 'y'
+* };
+* var v = objarrays2tidy( [ x, y ], [ 'data1', 'data2' ], mapping );
+* // returns [ , ]
+*/
+function objarrays2tidy( arr, names, mapping ) {
+ var out;
+ var d;
+ var i;
+
+ // TODO: add input argument validation
+
+ out = [];
+ for ( i = 0; i < arr.length; i++ ) {
+ d = objarray2tidy( arr[ i ], names[ i ], mapping );
+ out.push( d );
+ }
+ return out;
+}
+
+
+// EXPORTS //
+
+module.exports = objarrays2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/package.json
new file mode 100644
index 000000000000..cb0a2a3be6d1
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-object-arrays/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-object-arrays",
+ "version": "0.0.0",
+ "description": "Convert a list of object arrays to tidy data sets.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "collection"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/examples/index.js
new file mode 100644
index 000000000000..96493689fe53
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var zeroTo = require( '@stdlib/array/zero-to' );
+var pairedarrays2tidy = require( './../lib' );
+
+var x = zeroTo( 10 );
+var y = discreteUniform( 10, -100, 100 );
+var z = discreteUniform( 10, -100, 100 );
+
+var data = pairedarrays2tidy( [ x ], [ y, z ], [ 'series1', 'series2' ], [ 'x', 'y' ] );
+
+var out = data[ 0 ].toJSON();
+console.log( out );
+
+out = data[ 1 ].toJSON();
+console.log( out );
+
+console.log( JSON.stringify( data ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/lib/index.js
new file mode 100644
index 000000000000..7d656533341e
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/lib/index.js
@@ -0,0 +1,47 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Create tidy data sets by pairing each array in one list of arrays with a corresponding array in another list of arrays.
+*
+* @module @stdlib/plot/vega/data/tidy/from-paired-arrays
+*
+* @example
+* var pairedarrays2tidy = require( '@stdlib/plot/vega/data/tidy/from-paired-arrays' );
+*
+* var x = [ 1, 2, 3 ];
+* var y = [ 4, 5, 6 ];
+* var z = [ 7, 8, 9 ];
+*
+* var names = [ 'data1', 'data2' ];
+* var fields = [ 'x', 'y' ];
+*
+* var v = pairedarrays2tidy( [ x ], [ y, z ], names, fields );
+* // returns [ , ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/lib/main.js
new file mode 100644
index 000000000000..17c5360409a0
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/lib/main.js
@@ -0,0 +1,111 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var arrays2tidy = require( '@stdlib/plot/vega/data/tidy/from-arrays' );
+
+
+// MAIN //
+
+/**
+* Creates tidy data sets by pairing each array in one list of arrays with a corresponding array in another list of arrays.
+*
+* ## Notes
+*
+* - The function provided limited support for "broadcasting". If either list of arrays contains only a single array, that array is broadcasted against the arrays in the other list.
+*
+* @param {ArrayLikeObject>} list1 - first list of arrays
+* @param {ArrayLikeObject>} list2 - second list of arrays
+* @param {Array} names - data set names
+* @param {Array} fields - list of field names
+* @throws {Error} provided lists must be broadcast-compatible
+* @throws {Error} must provide non-empty lists
+* @returns {Array} list of data sets
+*
+* @example
+* var x = [ 1, 2, 3 ];
+* var y = [ 4, 5, 6 ];
+* var z = [ 7, 8, 9 ];
+*
+* var names = [ 'data1', 'data2' ];
+* var fields = [ 'x', 'y' ];
+*
+* var v = pairedarrays2tidy( [ x ], [ y, z ], names, fields );
+* // returns [ , ]
+*/
+function pairedarrays2tidy( list1, list2, names, fields ) {
+ var out;
+ var S1;
+ var S2;
+ var sx;
+ var sy;
+ var ix;
+ var iy;
+ var N;
+ var d;
+ var i;
+
+ // TODO: add input argument validation
+
+ S1 = list1.length;
+ S2 = list2.length;
+ if ( S1 === 0 ) {
+ throw new Error( 'invalid argument. First argument must be a non-empty array.' );
+ }
+ if ( S2 === 0 ) {
+ throw new Error( 'invalid argument. Second argument must be a non-empty array.' );
+ }
+ // Resolve iteration strides to allow for broadcasting...
+ if ( S1 === 1 ) {
+ sx = 0;
+ } else {
+ sx = 1;
+ }
+ if ( S2 === 1 ) {
+ sy = 0;
+ } else {
+ sy = 1;
+ }
+ // Determine the number of data sets...
+ if ( S1 > S2 ) {
+ N = S1;
+ } else {
+ N = S2;
+ }
+ // Initialize pointers to the first indexed elements in each list:
+ ix = 0;
+ iy = 0;
+
+ // Create the datasets...
+ out = [];
+ for ( i = 0; i < N; i++ ) {
+ d = arrays2tidy( [ list1[ ix ], list2[ iy ] ], names[ i ], fields );
+ out.push( d );
+ ix += sx;
+ iy += sy;
+ }
+ return out;
+}
+
+
+// EXPORTS //
+
+module.exports = pairedarrays2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/package.json
new file mode 100644
index 000000000000..fabdfe31c43d
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-arrays/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-paired-arrays",
+ "version": "0.0.0",
+ "description": "Create tidy data sets by pairing each array in one list of arrays with a corresponding array in another list of arrays.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "collection",
+ "paired"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/examples/index.js
new file mode 100644
index 000000000000..2d898916dae3
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/examples/index.js
@@ -0,0 +1,43 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var zeroTo = require( '@stdlib/array/zero-to' );
+var array = require( '@stdlib/ndarray/array' );
+var pairedcolumns2tidy = require( './../lib' );
+
+var x = array( zeroTo( 10 ), {
+ 'shape': [ 5, 2 ],
+ 'order': 'column-major'
+});
+var y = array( discreteUniform( 10, -100, 100 ), {
+ 'shape': [ 5, 2 ],
+ 'order': 'column-major'
+});
+
+var data = pairedcolumns2tidy( x, y, [ 'series1', 'series2' ], [ 'x', 'y' ] );
+
+var out = data[ 0 ].toJSON();
+console.log( out );
+
+out = data[ 1 ].toJSON();
+console.log( out );
+
+console.log( JSON.stringify( data ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/lib/index.js
new file mode 100644
index 000000000000..111720209d88
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/lib/index.js
@@ -0,0 +1,51 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Create tidy data sets by pairing each column in a two-dimensional ndarray with its counterpart in another two-dimensional ndarray.
+*
+* @module @stdlib/plot/vega/data/tidy/from-paired-matrix-columns
+*
+* @example
+* var array = require( '@stdlib/ndarray/array' );
+* var pairedcolumns2tidy = require( '@stdlib/plot/vega/data/tidy/from-paired-matrix-columns' );
+*
+* var opts = {
+* 'shape': [ 2, 2 ],
+* 'order': 'column-major'
+* };
+* var x = array( [ 1, 2, 3, 4 ], opts );
+* var y = array( [ 5, 6, 7, 8 ], opts );
+*
+* var names = [ 'data1', 'data2' ];
+* var fields = [ 'x', 'y' ];
+*
+* var v = pairedcolumns2tidy( x, y, names, fields );
+* // returns [ , ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/lib/main.js
new file mode 100644
index 000000000000..4dc0a2635add
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/lib/main.js
@@ -0,0 +1,75 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var nditerColumns = require( '@stdlib/ndarray/iter/columns' );
+var iter2array = require( '@stdlib/array/from-iterator' );
+var pairedvectors2tidy = require( '@stdlib/plot/vega/data/tidy/from-paired-vectors' );
+
+
+// MAIN //
+
+/**
+* Creates tidy data sets by pairing each column in a two-dimensional ndarray with its counterpart in another two-dimensional ndarray.
+*
+* ## Notes
+*
+* - The function provided limited support for "broadcasting". If either ndarray contains only a single column, that column is broadcasted against all the columns in the other ndarray.
+*
+* @param {ndarrayLike} x - first ndarray
+* @param {ndarrayLike} y - second ndarray
+* @param {Array} names - data set names
+* @param {Array} fields - list of field names
+* @throws {Error} provided ndarrays must be broadcast-compatible
+* @throws {Error} must provide non-empty ndarrays
+* @returns {Array} list of data sets
+*
+* @example
+* var array = require( '@stdlib/ndarray/array' );
+*
+* var opts = {
+* 'shape': [ 2, 2 ],
+* 'order': 'column-major'
+* };
+* var x = array( [ 1, 2, 3, 4 ], opts );
+* var y = array( [ 5, 6, 7, 8 ], opts );
+*
+* var names = [ 'data1', 'data2' ];
+* var fields = [ 'x', 'y' ];
+*
+* var v = pairedcolumns2tidy( x, y, names, fields );
+* // returns [ , ]
+*/
+function pairedcolumns2tidy( x, y, names, fields ) {
+ var list1;
+ var list2;
+
+ // TODO: add input argument validation
+
+ list1 = iter2array( nditerColumns( x ) );
+ list2 = iter2array( nditerColumns( y ) );
+ return pairedvectors2tidy( list1, list2, names, fields );
+}
+
+
+// EXPORTS //
+
+module.exports = pairedcolumns2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/package.json b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/package.json
new file mode 100644
index 000000000000..865523b82d74
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-matrix-columns/package.json
@@ -0,0 +1,66 @@
+{
+ "name": "@stdlib/plot/vega/data/tidy/from-paired-matrix-columns",
+ "version": "0.0.0",
+ "description": "Create tidy data sets by pairing each column in a two-dimensional ndarray with its counterpart in another two-dimensional ndarray.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "plot",
+ "vega",
+ "data",
+ "dataset",
+ "factory",
+ "tidy",
+ "array",
+ "ndarray",
+ "multidimensional",
+ "matrix",
+ "paired"
+ ],
+ "__stdlib__": {}
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/examples/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/examples/index.js
new file mode 100644
index 000000000000..4110f34dd692
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/examples/index.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var zeroTo = require( '@stdlib/array/zero-to' );
+var array = require( '@stdlib/ndarray/array' );
+var pairedvectors2tidy = require( './../lib' );
+
+var x = array( zeroTo( 10 ) );
+var y = array( discreteUniform( 10, -100, 100 ) );
+var z = array( discreteUniform( 10, -100, 100 ) );
+
+var data = pairedvectors2tidy( [ x ], [ y, z ], [ 'series1', 'series2' ], [ 'x', 'y' ] );
+
+var out = data[ 0 ].toJSON();
+console.log( out );
+
+out = data[ 1 ].toJSON();
+console.log( out );
+
+console.log( JSON.stringify( data ) );
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/lib/index.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/lib/index.js
new file mode 100644
index 000000000000..1be2d4ee8c84
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/lib/index.js
@@ -0,0 +1,48 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Create tidy data sets by pairing each one-dimensional ndarray in one list with its counterpart in another list.
+*
+* @module @stdlib/plot/vega/data/tidy/from-paired-vectors
+*
+* @example
+* var array = require( '@stdlib/ndarray/array' );
+* var pairedvectors2tidy = require( '@stdlib/plot/vega/data/tidy/from-paired-vectors' );
+*
+* var x = array( [ 1, 2, 3 ] );
+* var y = array( [ 4, 5, 6 ] );
+* var z = array( [ 7, 8, 9 ] );
+*
+* var names = [ 'data1', 'data2' ];
+* var fields = [ 'x', 'y' ];
+*
+* var v = pairedvectors2tidy( [ x ], [ y, z ], names, fields );
+* // returns [ , ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/lib/main.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/lib/main.js
new file mode 100644
index 000000000000..e1f6931ea885
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-paired-vectors/lib/main.js
@@ -0,0 +1,113 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var vectors2tidy = require( '@stdlib/plot/vega/data/tidy/from-vectors' );
+
+
+// MAIN //
+
+/**
+* Creates tidy data sets by pairing each one-dimensional ndarray in one list with its counterpart in another list.
+*
+* ## Notes
+*
+* - The function provided limited support for "broadcasting". If either list of ndarrays contains only a single ndarray, that ndarray is broadcasted against the ndarrays in the other list.
+*
+* @param {ArrayLikeObject>} list1 - first list of ndarrays
+* @param {ArrayLikeObject>} list2 - second list of ndarrays
+* @param {Array} names - data set names
+* @param {Array} fields - list of field names
+* @throws {Error} provided lists must be broadcast-compatible
+* @throws {Error} must provide non-empty lists
+* @returns {Array} list of data sets
+*
+* @example
+* var array = require( '@stdlib/ndarray/array' );
+*
+* var x = array( [ 1, 2, 3 ] );
+* var y = array( [ 4, 5, 6 ] );
+* var z = array( [ 7, 8, 9 ] );
+*
+* var names = [ 'data1', 'data2' ];
+* var fields = [ 'x', 'y' ];
+*
+* var v = pairedvectors2tidy( [ x ], [ y, z ], names, fields );
+* // returns [ ,