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

subplot should support non 2D-cartesian charts

Open cpsievert opened this issue 9 years ago • 2 comments

subplot(plot_ly(z = ~volcano), plot_ly(z = ~volcano, type = "surface"))

cpsievert avatar Sep 08 '16 21:09 cpsievert

More generally, subplot() should someday grow to support non 2D-cartesian charts, but this would likely need to be done on a case by case basis

trs <- names(Schema$traces)
axes <- lapply(trs, function(x) grep("^[a-z]axis$", names(Schema$traces[[x]]$attributes), value = TRUE))
trs[lengths(axes) == 0]
 [1] "pie"            "scatterternary" "scatter3d"      "surface"       
 [5] "mesh3d"         "cone"           "scattergeo"     "choropleth"    
 [9] "splom"          "parcoords"      "scattermapbox"  "sankey"        
[13] "table"          "scatterpolar"   "scatterpolargl" "area"  

cpsievert avatar May 26 '18 19:05 cpsievert

Hi, has this been implemented on Windows?

CaileanCarter avatar Sep 13 '24 13:09 CaileanCarter