New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subplot should support non 2D-cartesian charts #711

Open
cpsievert opened this Issue Sep 8, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@cpsievert
Contributor

cpsievert commented Sep 8, 2016

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

This comment has been minimized.

Contributor

cpsievert commented May 26, 2018

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 cpsievert changed the title from subplot should handle 3D scene objects to subplot should support non 2D-cartesian charts May 26, 2018

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