Skip to content

Commit

Permalink
add sankey as another exception in supply defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed May 23, 2017
1 parent 2cea2f8 commit 7c6c4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ supply_defaults <- function(p) {
} else {
axes <- if (is_type(p, "scatterternary")) {
c("aaxis", "baxis", "caxis")
} else if (is_type(p, "pie") || is_type(p, "parcoords")) {
} else if (is_type(p, "pie") || is_type(p, "parcoords") || is_type(p, "sankey")) {
NULL
} else {
c("xaxis", "yaxis")
Expand Down

0 comments on commit 7c6c4d3

Please sign in to comment.