plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

Should we accept 'container' everywhere we have xref and yref?

Open emmanuelle opened this issue 6 years ago • 2 comments

Is there a usecase where we do not want to accept 'container' for xref and yref? One possible use would be to draw a vertical line between two columns of subplots, with x=0.5 and xref='container'.

emmanuelle avatar Nov 20 '19 21:11 emmanuelle

I agree 'container' would be nice - in this case though I'd think x would be 'paper' (because that's the coordinate space used to position axes - the difference is 'paper' excludes the margins and 'container' goes all the way to the edges of the div) but yref might be 'container' with y from 0 to 1 so you get a line all the way out including the margins.

alexcjohnson avatar Nov 20 '19 23:11 alexcjohnson

Hi, is there any update about this feature?

kaymal avatar May 11 '22 12:05 kaymal