Skip to content

Calendar frame is lost when using ggplotly() #12

@YonghuiDong

Description

@YonghuiDong

Thanks for the nice package.

I want to combine the calendar object with ggplotly to make it interactive, however I found the frame is missing.

Below is my example code:

library(calendR)
library(plotly)
data <- runif(31)
p <- calendR(year = 2021,
             month = 10,
             special.days = data,
             gradient = TRUE,
             low.col = "white",
             special.col = "#FF4600")

ggplotly(p)

Screen Shot 2021-09-18 at 16 50 09

Could you please help fix this issue?

Thanks a lot.

Dong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions