We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e716df commit 9400d1bCopy full SHA for 9400d1b
R/plotly_build.R
@@ -249,6 +249,10 @@ plotly_build.plotly <- function(p) {
249
}
250
251
252
+ # polar charts don't like null width/height keys
253
+ if (is.null(p$x$layout[["height"]])) p$x$layout[["height"]] <- NULL
254
+ if (is.null(p$x$layout[["width"]])) p$x$layout[["width"]] <- NULL
255
+
256
# ensure we get the order of categories correct
257
# (plotly.js uses the order in which categories appear by default)
258
p <- populate_categorical_axes(p)
0 commit comments