Skip to content

Commit 09635ba

Browse files
Fixed up docstring generation for axis placeable objects
1 parent bd2b34d commit 09635ba

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/constants/axis_placeable_objects.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
module.exports = {
1313
axisRefDescription: function(axisname, lower, upper) {
1414
return [
15-
'If set to a ', axisname, ' axis id (e.g. *', axisname, '* or',
16-
'*', axisname, '2*), the `', axisname, '` position refers to a',
17-
'', axisname, ' coordinate. If set to *paper*, the `', axisname, '`',
18-
'position refers to the distance from the ', lower, ' of the plotting',
15+
'If set to a', axisname, 'axis id (e.g. *' + axisname + '* or',
16+
'*' + axisname + '2*), the `' + axisname + '` position refers to a',
17+
axisname, 'coordinate. If set to *paper*, the `' + axisname + '`',
18+
'position refers to the distance from the', lower, 'of the plotting',
1919
'area in normalized coordinates where *0* (*1*) corresponds to the',
20-
'', lower, ' (', upper, '). If set to a ', axisname, ' axis ID followed by',
20+
lower, '(' + upper + '). If set to a', axisname, 'axis ID followed by',
2121
'*domain* (separated by a space), the position behaves like for',
2222
'*paper*, but refers to the distance in fractions of the domain',
23-
'length from the ', lower, ' of the domain of that axis: e.g.,',
24-
'*', axisname, '2 domain* refers to the domain of the second',
25-
'', axisname, ' axis and a ', axisname, ' position of 0.5 refers to the',
26-
'point between the ', lower, ' and the ', upper, ' of the domain of the',
27-
'second ', axisname, ' axis.',
23+
'length from the', lower, 'of the domain of that axis: e.g.,',
24+
'*' + axisname + '2 domain* refers to the domain of the second',
25+
axisname, ' axis and a', axisname, 'position of 0.5 refers to the',
26+
'point between the', lower, 'and the', upper, 'of the domain of the',
27+
'second', axisname, 'axis.',
2828
].join(' ');
2929
}
3030
};

0 commit comments

Comments
 (0)