Skip to content

Subplot bug for bigger number of plots #427

@rodrigomurta

Description

@rodrigomurta

As you can check in this SE post, subplot is not working for more then 9 plots, for nrows = 4. Here is a sample code:

library(plotly)
p <- plot_ly(economics, x = date, y = uempmed)
qtySubPlots <- 10
options <- list(nrows=4)
plots <- lapply(seq(1,qtySubPlots), function(x) {p})
do.call(subplot, c(plots,options))

Exampla with 10 plots

Other nrows combinations have the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions