Skip to content

Commit 7f34452

Browse files
committed
Cover more cases without hurting and increment version number
1 parent 18f63e7 commit 7f34452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: plotly
22
Type: Package
33
Title: Interactive, publication-quality graphs online.
4-
Version: 0.5.2
4+
Version: 0.5.3
55
Authors@R: c(person("Chris", "Parmer", role = c("aut", "cre"),
66
email = "[email protected]"),
77
person("Scott", "Chamberlain", role = "aut",

R/trace_generation.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ toBasic <- list(
268268
g
269269
},
270270
bar=function(g) {
271-
if (all(is.na(g$prestats.data$x)))
271+
if (any(is.na(g$prestats.data$x)))
272272
g$prestats.data$x <- g$prestats.data$x.name
273273
g$prestats.data$fill <- g$data$fill[match(g$prestats.data$group, g$data$group)]
274274
g$params$xstart <- min(g$data$xmin)

0 commit comments

Comments
 (0)