Skip to content

Commit 7752cae

Browse files
committed
chore: suggested changes
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown_pkg_readmes status: na - task: lint_markdown_docs status: na - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 1b3412f commit 7752cae

15 files changed

Lines changed: 135 additions & 135 deletions

File tree

lib/node_modules/@stdlib/plot/charts/scatter/ctor/examples/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020

2121
var uniform = require( '@stdlib/random/uniform' );
2222
var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
23-
var ScatterChart = require( './../lib' );
23+
var Scatterplot = require( './../lib' );
2424

2525
var a = new Float64Vector( [ 10.0, 20.0, 30.0, 40.0, 50.0 ] );
2626
var b = new Float64Vector( [ 20.0, 30.0, 40.0, 50.0, 60.0 ] );
2727

2828
var y = uniform( [ 100, 5 ], a, b );
2929

30-
var chart = new ScatterChart( y, {
30+
var chart = new Scatterplot( y, {
3131
'symbols': [ 'o', 'square' ],
32-
'symbolsOpacity': [ 1.0, 0.4 ],
33-
'symbolsSize': [ 100, 50 ],
32+
'symbolOpacity': [ 1.0, 0.4 ],
33+
'symbolSize': [ 100, 50 ],
3434
'legend': true
3535
});
3636
console.log( chart.toJSON() );

lib/node_modules/@stdlib/plot/charts/scatter/ctor/lib/colors/set.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var prop = require( './properties.js' );
3434

3535
// VARIABLES //
3636

37-
var debug = logger( 'scatter-chart:set:'+prop.name );
37+
var debug = logger( 'scatterplot:set:'+prop.name );
3838

3939

4040
// MAIN //

lib/node_modules/@stdlib/plot/charts/scatter/ctor/lib/defaults.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ function defaults() {
4646
// Symbol(s):
4747
'symbols': [ 'circle' ],
4848

49-
// Symbol opacity:
50-
'symbolsOpacity': [ 1.0 ],
49+
// Symbol opacity (note: default to semi-transparent symbols in order to convey whether data points lie beneath a given point, while remaining sufficiently opaque to avoid accessibility concerns):
50+
'symbolOpacity': [ 0.6 ],
5151

5252
// Symbol size(s) (in pixels squared):
53-
'symbolsSize': [ 100 ]
53+
'symbolSize': [ 100 ]
5454
};
5555
}
5656

lib/node_modules/@stdlib/plot/charts/scatter/ctor/lib/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
'use strict';
2020

2121
/**
22-
* Scatter chart constructor.
22+
* Scatterplot constructor.
2323
*
2424
* @module @stdlib/plot/charts/scatter/ctor
2525
*
2626
* @example
27-
* var ScatterChart = require( '@stdlib/plot/charts/scatter/ctor' );
27+
* var Scatterplot = require( '@stdlib/plot/charts/scatter/ctor' );
2828
*
29-
* var chart = new ScatterChart();
30-
* // returns <ScatterChart>
29+
* var chart = new Scatterplot();
30+
* // returns <Scatterplot>
3131
*
3232
* // TODO: update example
3333
*/

lib/node_modules/@stdlib/plot/charts/scatter/ctor/lib/legend/set.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ var prop = require( './properties.js' );
3030

3131
// VARIABLES //
3232

33-
var debug = logger( 'scatter-chart:set:'+prop.name );
33+
var debug = logger( 'scatterplot:set:'+prop.name );
3434

3535

3636
// MAIN //
3737

3838
/**
39-
* Sets a boolean flag indicating whether a layout should be re-calculated on every view update.
39+
* Sets a boolean flag indicating whether to display a chart legend.
4040
*
4141
* @private
4242
* @param {boolean} value - input value

0 commit comments

Comments
 (0)