plotly / plotly.R

An interactive graphing library for R
https://plotly-r.com
Other
2.56k stars 626 forks source link

ternary_contour #1583

Open benjaminsabatini opened 5 years ago

benjaminsabatini commented 5 years ago

Hi,

The latest release notes (at least the past two, I believe) at plotly.py mention the introduction of ternary contour plots using type = 'ternary_contour', which i'm guessing is similar to geom_density_tern in ggplot. I'm not sure if it will eventually make it into the R implementation of plotly without asking, but it's something that would be great to have. Right now the 'scatterternary' type is the only option for ternary diagrams and it's only suitable for making simple plots. Is this on the list of things to add?

Discussion is here: https://github.com/plotly/plotly.py/pull/1413

cpsievert commented 5 years ago

The R package doesn't necessarily support plotly.py's figure factory (which is the case here).

You could write a similar wrapper for the R package, though; a PR would be most welcome!