Skip to content

Commit 3546659

Browse files
committed
Fix examples
1 parent 0577830 commit 3546659

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/plot/base/ctor/lib

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/plot/base/ctor/lib/main.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ Object.defineProperty( Plot.prototype, 'xRange', {
985985
* 'xTickFormat': '%H:%M'
986986
* });
987987
* var fmt = plot.xTickFormat;
988-
* // returns '%H:%M'
988+
* // returns <Function>
989989
*/
990990
Object.defineProperty( Plot.prototype, 'xTickFormat', {
991991
'configurable': false,
@@ -1151,14 +1151,14 @@ Object.defineProperty( Plot.prototype, 'yRange', {
11511151
*
11521152
* @example
11531153
* var plot = new Plot();
1154-
* plot.yTickFormat = '%%';
1154+
* plot.yTickFormat = '.2f%';
11551155
*
11561156
* @example
11571157
* var plot = new Plot({
1158-
* 'yTickFormat': '%%'
1158+
* 'yTickFormat': '.2f%'
11591159
* });
11601160
* var fmt = plot.yTickFormat;
1161-
* // returns '%%'
1161+
* // returns <Function>
11621162
*/
11631163
Object.defineProperty( Plot.prototype, 'yTickFormat', {
11641164
'configurable': false,

0 commit comments

Comments
 (0)