Skip to content

Commit cc5bbd1

Browse files
committed
prep for release
1 parent e741959 commit cc5bbd1

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

DESCRIPTION

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: plotly
22
Title: Create Interactive Web Graphics via 'plotly.js'
3-
Version: 4.9.2.9000
3+
Version: 4.9.3
44
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
55
email = "cpsievert1@gmail.com", comment = c(ORCID = "0000-0002-4958-2844")),
66
person("Chris", "Parmer", role = "aut",
@@ -74,12 +74,8 @@ Suggests:
7474
processx,
7575
plotlyGeoAssets,
7676
forcats,
77-
thematic,
7877
palmerpenguins
7978
LazyData: true
8079
RoxygenNote: 7.1.1
8180
Encoding: UTF-8
8281
Roxygen: list(markdown = TRUE)
83-
Remotes:
84-
rstudio/thematic,
85-
ramnathv/htmlwidgets

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 4.9.2.9000
1+
# 4.9.3
22

33
## Changes to plotly.js
44

R/ggplotly.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ gg2list <- function(p, width = NULL, height = NULL,
431431

432432
# Allow thematic to add new defaults to the plot object based on it's theme
433433
built <- if (isNamespaceLoaded("thematic")) {
434-
ggthematic_build <- getFromNamespace("ggthematic_build", "thematic")
435-
ggthematic_build(p, ggplotly_build, thematic::thematic_get_theme(resolve = TRUE))
434+
tns <- asNamespace("thematic")
435+
tns$ggthematic_build(p, ggplotly_build, tns$thematic_get_theme(resolve = TRUE))
436436
} else {
437437
ggplotly_build(p)
438438
}
@@ -1277,7 +1277,7 @@ font_family <- function(family = "") {
12771277
if (!isNamespaceLoaded("thematic")) {
12781278
return("")
12791279
}
1280-
font <- thematic::thematic_get_option("font")
1280+
font <- asNamespace("thematic")$thematic_get_option("font", resolve = TRUE)
12811281
if (!length(font)) {
12821282
return("")
12831283
}

0 commit comments

Comments
 (0)