Skip to content

Commit 1dab5e4

Browse files
committed
add note about new automargin default
1 parent 17870c7 commit 1dab5e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

NEWS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* The `plot_geo()` function gains a `offline` argument for rendering `"scattergeo"` traces with or without an internet connection (#356). Leveraging this argument requires the new **plotlyGeoAssets** package.
2323
* Instead of an error, `ggplotly(NULL, "message")` and `plotly_build(NULL, "message")` now returns `htmltools::div("message")`, making it easier to relay messages in shiny when data isn't yet ready to plot (#1116).
2424
* The `animation_button()` function gains a `label` argument, making it easier to control the label of an animation button generated through the `frame` API (#1205).
25-
* Support for async rendering of inside **shiny** apps using the [promises](https://rstudio.github.io/promises/) package (#1209).
25+
* Support for async rendering of inside **shiny** apps using the [promises](https://rstudio.github.io/promises/) package (#1209). For an example, run `plotly_example("shiny", "async")`.
2626

2727
## CHANGES
2828

@@ -36,6 +36,7 @@
3636

3737
### Other changes relevant for all **plotly** objects
3838

39+
* All axis objects now default to `automargin = TRUE`. The majority of the time this should make axis labels more readable, but may have un-intended consequences in some rare cases (#1252).
3940
* The `elementId` field is no longer populated, which fixes the "Ignoring explicitly provided widget ID" warning in shiny applications (#985).
4041

4142
## BUG FIXES

0 commit comments

Comments
 (0)