Skip to content

Commit cc49b99

Browse files
authored
revert a few overzealous breaks -> rangebreaks
1 parent 9bd0d84 commit cc49b99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/plots/cartesian/layout_attributes.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -284,17 +284,17 @@ module.exports = {
284284
role: 'info',
285285
editType: 'calc',
286286
description: [
287-
'Determines a pattern on the time line that generates rangebreaks.',
287+
'Determines a pattern on the time line that generates breaks.',
288288
'If *%w* - Sunday-based weekday as a decimal number [0, 6].',
289289
'If *%H* - hour (24-hour clock) as a decimal number [0, 23].',
290290
'These are the same directive as in `tickformat`, see',
291291
'https://github.com/d3/d3-time-format#locale_format',
292292
'for more info.',
293293
'Examples:',
294294
'- { pattern: \'%w\', bounds: [6, 0], operation: \'[]\' }',
295-
' rangebreaks from Saturday to Monday (i.e. skips the weekends).',
295+
' breaks from Saturday to Monday (i.e. skips the weekends).',
296296
'- { pattern: \'%H\', bounds: [17, 8] }',
297-
' rangebreaks from 5pm to 8am (i.e. skips non-work hours).'
297+
' breaks from 5pm to 8am (i.e. skips non-work hours).'
298298
].join(' ')
299299
},
300300

src/plots/gl2d/camera.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function createCamera(scene) {
158158
Math.abs(dx) * dydx * (dy >= 0 ? 1 : -1);
159159

160160
// gl-select-box clips to the plot area bounds,
161-
// which rangebreaks the axis constraint, so don't allow
161+
// which breaks the axis constraint, so don't allow
162162
// this box to go out of bounds
163163
if(result.boxEnd[1] < dataBox[1]) {
164164
result.boxEnd[1] = dataBox[1];

0 commit comments

Comments
 (0)