Skip to content

Commit 0bf5ceb

Browse files
committed
update pattern description
1 parent 918abca commit 0bf5ceb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,14 @@ module.exports = {
287287
'Determines a pattern on the time line that generates breaks.',
288288
'If *day of week* - Sunday-based weekday as a decimal number [0, 6].',
289289
'If *time of day* - hour (24-hour clock) as a decimal number [0, 23].',
290-
'These are the same directive as in `tickformat`, see',
291-
'https://github.com/d3/d3-time-format#locale_format',
290+
'*day of week* and *time of day* are similar to *%w* and *%H* directives',
291+
'applied in `tickformat`, see https://github.com/d3/d3-time-format#locale_format',
292292
'for more info.',
293293
'Examples:',
294-
'- { pattern: \'day of week\', bounds: [6, 0], operation: \'[]\' }',
294+
'- { pattern: \'day of week\', bounds: [6, 0] }',
295295
' breaks from Saturday to Monday (i.e. skips the weekends).',
296-
'- { pattern: \'time of day\', bounds: [17, 8] }',
297-
' breaks from 5pm to 8am (i.e. skips non-work hours).'
296+
'- { pattern: \'time of day\', bounds: [16, 8] }',
297+
' breaks from 4pm to 8am (i.e. skips non-work hours).'
298298
].join(' ')
299299
},
300300

0 commit comments

Comments
 (0)