You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a few differences when converting a ggplot created via dendextend to a plotly plot. The text alignment is lost (should remain to the right of the marker) and the legend re-appears.
It also doesn't look like ggplotly handles-Inf/Inf values passed to geom_rect. It might be possible to make this work by updating to_basic.GeomRect to use
Activity
jrowen commentedon Nov 29, 2016
It might be possible to fix the text alignment by updating
geom2trace.GeomTextto inlcudeThis isn't a perfect hjust/vjust mapping but is closer to the intended text offset.
jrowen commentedon Nov 29, 2016
It also doesn't look like
ggplotly handles-Inf/Infvalues passed togeom_rect. It might be possible to make this work by updatingto_basic.GeomRectto useThere's probably a more elegant way to do this.
jrowen commentedon Nov 29, 2016
One more item I noticed, it doesn't appear that
ggplotlyis handlingguide = "none". One possible fix could be to also filter out scales where theguidewas set to none.jrowen commentedon Nov 30, 2016
Moved to pull request #818
talgalili commentedon Nov 30, 2016
Thank you for your work @jrowen
jrowen commentedon Nov 30, 2016
Actually, I should be thanking you for creating the
dendextendpackage. It's been very useful.talgalili commentedon Nov 30, 2016
Thanks!