Skip to content

ggplotly doesn't yet implement plot-based title positioning #1735

Open
@davidhodge931

Description

@davidhodge931

The latest version of ggplot2 has a new function that can make the title positioned with regard to the plot rather than the panel.

ggplotly doesn't yet implement this.

library(ggplot2)

plot <- ggplot(mpg) + 
  geom_point(aes(hwy, displ)) + 
  ggtitle("The placement of this title may surprise you") + 
  theme(plot.title.position = "plot")

plotly::ggplotly(plot)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions