Skip to content

Commit b5686ee

Browse files
committed
Fix lint errors
1 parent 8bb3e97 commit b5686ee

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

lib/node_modules/@stdlib/plot/plot/examples/linescatter

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ y1 = new Float64Array( x.length );
1515
y2 = new Float32Array( x.length );
1616
for ( i = 0; i < x.length; i++ ) {
1717
x[ i ] = i;
18-
y1[ i ] = 50.0 + 10.0*randn();
19-
y2[ i ] = 10.0 + 5.0*randn();
18+
y1[ i ] = 50.0 + (10.0*randn());
19+
y2[ i ] = 10.0 + (5.0*randn());
2020
}
2121

2222
// Create a new plot:
23-
var plot = new Plot( [x,x], [y1,y2] );
23+
var plot = new Plot( [ x, x ], [ y1, y2 ] );
2424
plot.width = 600;
2525
plot.height = 480;
2626
plot.symbols = [ 'open-circle', 'closed-circle' ];

lib/node_modules/@stdlib/plot/plot/examples/linestyles

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ y3 = new Float64Array( x.length );
2121
y4 = new Float64Array( x.length );
2222
for ( i = 0; i < x.length; i++ ) {
2323
x[ i ] = i;
24-
y1[ i ] = 10.0 + 5.0*randn();
25-
y2[ i ] = 25.0 + 7.25*randn();
26-
y3[ i ] = 50.0 + 10.0*randn();
27-
y4[ i ] = 75.0 + 2.5*randn();
24+
y1[ i ] = 10.0 + (5.0*randn());
25+
y2[ i ] = 25.0 + (7.25*randn());
26+
y3[ i ] = 50.0 + (10.0*randn());
27+
y4[ i ] = 75.0 + (2.5*randn());
2828
}
2929

3030
// Set the plot options:
@@ -44,7 +44,7 @@ opts = {
4444
};
4545

4646
// Create a new plot:
47-
plot = new Plot( [x,x,x,x], [y1,y2,y3,y4], opts );
47+
plot = new Plot( [ x, x, x, x ], [ y1, y2, y3, y4 ], opts );
4848

4949
// View the plot:
5050
plot.view();

lib/node_modules/@stdlib/plot/plot/examples/multiline

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ y1 = new Float64Array( x.length );
1616
y2 = new Float32Array( x.length );
1717
for ( i = 0; i < x.length; i++ ) {
1818
x[ i ] = i;
19-
y1[ i ] = 50.0 + 10.0*randn();
20-
y2[ i ] = 10.0 + 5.0*randn();
19+
y1[ i ] = 50.0 + (10.0*randn());
20+
y2[ i ] = 10.0 + (5.0*randn());
2121
}
2222

2323
// Create a new plot:
24-
plot = new Plot( [x,x], [y1,y2] );
24+
plot = new Plot( [ x, x ], [ y1, y2 ] );
2525
plot.width = 600;
2626
plot.height = 480;
2727

lib/node_modules/@stdlib/plot/plot/examples/scatter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ x2 = new Float64Array( x1.length );
1818
y1 = new Float64Array( x1.length );
1919
y2 = new Float32Array( x1.length );
2020
for ( i = 0; i < x1.length; i++ ) {
21-
x1[ i ] = 30.0 + 7.5*randn();
22-
x2[ i ] = 40.0 + 12.5*randn();
23-
y1[ i ] = 50.0 + 10.0*randn();
24-
y2[ i ] = 30.0 + 5.0*randn();
21+
x1[ i ] = 30.0 + (7.5*randn());
22+
x2[ i ] = 40.0 + (12.5*randn());
23+
y1[ i ] = 50.0 + (10.0*randn());
24+
y2[ i ] = 30.0 + (5.0*randn());
2525
}
2626

2727
// Define the plot options:
@@ -39,7 +39,7 @@ opts = {
3939
};
4040

4141
// Create a new plot:
42-
plot = new Plot( [x1,x2], [y1,y2], opts );
42+
plot = new Plot( [ x1, x2 ], [ y1, y2 ], opts );
4343

4444
// View the plot in a window:
4545
plot.view( 'window' );

lib/node_modules/@stdlib/plot/plot/examples/scatterrug

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ x2 = new Float64Array( x1.length );
1818
y1 = new Float64Array( x1.length );
1919
y2 = new Float32Array( x1.length );
2020
for ( i = 0; i < x1.length; i++ ) {
21-
x1[ i ] = 30.0 + 7.5*randn();
22-
x2[ i ] = 40.0 + 12.5*randn();
23-
y1[ i ] = 50.0 + 10.0*randn();
24-
y2[ i ] = 30.0 + 5.0*randn();
21+
x1[ i ] = 30.0 + (7.5*randn());
22+
x2[ i ] = 40.0 + (12.5*randn());
23+
y1[ i ] = 50.0 + (10.0*randn());
24+
y2[ i ] = 30.0 + (5.0*randn());
2525
}
2626

2727
// Define the plot options:
@@ -43,7 +43,7 @@ opts = {
4343
};
4444

4545
// Create a new plot:
46-
plot = new Plot( [x1,x2], [y1,y2], opts );
46+
plot = new Plot( [ x1, x2 ], [ y1, y2 ], opts );
4747

4848
// View the plot in a window:
4949
plot.view( 'window' );

lib/node_modules/@stdlib/plot/plot/examples/timeseries

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ for ( i = 0; i < x.length; i++ ) {
2020
}
2121

2222
// Create a new plot:
23-
var plot = new Plot( [x], [y] );
23+
var plot = new Plot( [ x ], [ y ] );
2424
plot.width = 600;
2525
plot.height = 480;
2626
plot.xScale = 'time';

0 commit comments

Comments
 (0)