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

subplot(): fix ystart/yend double flip

Open alyst opened this issue 5 years ago • 0 comments

This is a small cleanup to the subplot() grid layout logic: when defining the new domains of Y axis, get_domains() sets the new ystart > yend, but later in subplot()/reposition() the ystart and yend are reversed to do the proper transformation. With the fix the logic of handling both X and Y axes is unified: *start is always less than *end, the axis domain is always from *start to *end.

alyst avatar Mar 20 '19 10:03 alyst