Skip to content

Conversion to plotly using ggplotly() fails after 4.0 #682

@WGustafsson

Description

@WGustafsson

Since vertsion 4 of ggtree, conversion of a plot into plotly using the plotly::ggplotly() function produces a warning:

geom_GeomInteractiveSegment() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues

And the resulting plot is completely blank, no tree segments have been drawn. This happens regardless of the structure of the ggtree object (i.e., even if no interactivitiy has been added, as the warning implies).

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