Skip to content

Commit 6f494c6

Browse files
committed
talk about 'cliponaxis' in axis 'layer' description and vice-versa
1 parent e234827 commit 6f494c6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/plots/cartesian/layout_attributes.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,9 @@ module.exports = {
582582
'Sets the layer on which this axis is displayed.',
583583
'If *above traces*, this axis is displayed above all the subplot\'s traces',
584584
'If *below traces*, this axis is displayed below all the subplot\'s traces,',
585-
'but above the grid lines.'
585+
'but above the grid lines.',
586+
'Useful when used together with scatter-like traces with `cliponaxis`',
587+
'set to *false* to show markers and/or text nodes above this axis.'
586588
].join(' ')
587589
},
588590
domain: {

src/traces/scatter/attributes.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ module.exports = {
186186
editType: 'doplot',
187187
description: [
188188
'Determines whether or not markers and text nodes',
189-
'are clipped about the subplot axes.'
189+
'are clipped about the subplot axes.',
190+
'To show markers and text nodes above axis lines and tick labels,',
191+
'make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*.'
190192
].join(' ')
191193
},
192194

0 commit comments

Comments
 (0)