Skip to content

Commit ce587aa

Browse files
committed
import viridis
1 parent 5cdd985 commit ce587aa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

NAMESPACE

+1
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ import(ggplot2)
3232
import(httr)
3333
import(jsonlite)
3434
importFrom(magrittr,"%>%")
35+
importFrom(viridis,viridis)

R/plotly.R

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ style <- function(p = last_plot(), ..., traces = 1, evaluate = FALSE) {
197197
#' list.
198198
#'
199199
#' @param l a ggplot object, or a plotly object, or a list.
200+
#' @importFrom viridis viridis
200201
#' @export
201202
plotly_build <- function(l = last_plot()) {
202203
# ggplot objects don't need any special type of handling

0 commit comments

Comments
 (0)