no_titleaxeslabels: Remove Plot and Axes Titles

View source: R/subplot_title.R

no_titleaxeslabelsR Documentation

Remove Plot and Axes Titles

Description

Set title of plotly plot to nothing, and title of axes to nothing. Useful if creating subplots and want to set layout at end.

Usage

no_titleaxeslabels(plot)

Arguments

plot

Plotly plot

Value

Plotly plot with no labels.

Examples

{

quickplot <- plotly::plot_ly(mtcars,
x = ~ carb,
y = ~ disp,
type = "bar")

no_titleaxeslabels(quickplot)

}

dpowerstp/plotlywrappers documentation built on May 3, 2022, 10:29 p.m.