Skip to content

Commit f0f4fe2

Browse files
committed
fix: make sure panel_path_reshape returns a data.frame
fix #344
1 parent 0edb5a4 commit f0f4fe2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: ggiraph
33
Title: Make 'ggplot2' Graphics Interactive
4-
Version: 0.9.3.005
4+
Version: 0.9.3.006
55
Authors@R: c(
66
person("David", "Gohel", , "david.gohel@ardata.fr", role = c("aut", "cre")),
77
person("Panagiotis", "Skintzos", , "sigmapi@posteo.net", role = "aut"),

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ parenthesis around your ggplot code).
1212
layout issues in flexdashboard and similar containers. (#323)
1313
- single quotes in attribute values (e.g. "Côte d'Ivoire") are now automatically
1414
escaped instead of raising an error (#329).
15+
- fix "Unknown or uninitialised column: `subgroup`" warning when using
16+
`geom_segment_interactive()` or `geom_path_interactive()` with `coord_polar()` (#344).
1517

1618
# ggiraph 0.9.2
1719

R/utils_data.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ panel_path_reshape <- function(data) {
1717
data,
1818
has_na = NULL, segment_change = NULL
1919
)
20-
data
20+
as.data.frame(data)
2121
}
2222

0 commit comments

Comments
 (0)