Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

panel.border() is ignored inside ggplotly() #2460

Open
@dempsey-CMAR

Description

@dempsey-CMAR

Since I updated ggplot2 to version 4.0.0,panel.border() is ignored when a ggplot is passed toggplotly()

In older versions of ggplot2 (v3.5.2), the border appears as expected.

Here is the code to reproduce the bug:

library(ggplot2)library(plotly)df <- data.frame(x = c(1:10), y = c(1:10))p <- ggplot(df, aes(x, y)) +  geom_point() +  theme(panel.border = element_rect(color = 2, fill = NA))ggplotly(p)

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp