Skip to content

Fixed typo - calculcations of shared Y axis was using X axes#1848

Open
okhoma wants to merge 1 commit into
plotly:masterfrom
okhoma:master
Open

Fixed typo - calculcations of shared Y axis was using X axes#1848
okhoma wants to merge 1 commit into
plotly:masterfrom
okhoma:master

Conversation

@okhoma

@okhoma okhoma commented Sep 8, 2020

Copy link
Copy Markdown

No description provided.

@cpsievert

Copy link
Copy Markdown
Collaborator

Thanks, do you have minimal example(s) that demonstrate the fix (better yet, can you add some unit test(s))?

@okhoma

okhoma commented Sep 17, 2020

Copy link
Copy Markdown
Author

@cpsievert, Is it really just a copy/paste error. It's only effect, as far as I can tell, is a warning:

p <- lapply(c("A", "B", "C"), function(x) plot_ly(x = x, y = 1, type = "bar"))
subplot(subplot(p[[1]], p[[2]], shareY = TRUE), p[[3]], shareY = TRUE)
Warning message:
In seq_len(nrows * unique(xAxisN)) :
  first element used of 'length.out' argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants