File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
# ggplot2 3.1.0.9000
2
2
3
- * ` geom_rug() ` now works with ` coord_flip() ` (@has2k1 , #2987 ).
3
+ * ` geom_rug() ` now works with ` coord_flip() ` (@has2k1 , #2987 ).
4
+
5
+ * Layers now have a new member function ` setup_layer() ` which is called at the
6
+ very beginning of the plot building process and which has access to the original
7
+ input data and the plot object being built. This function allows the creation of
8
+ custom layers that autogenerate aesthetic mappings based on the input data or that
9
+ filter the input data in some form. One example is the new ` LayerSf ` class which
10
+ locates the geometry column in sf objects and sets up an aesthetic mapping for it
11
+ (@clauswilke , #2872 ).
4
12
5
13
* Default labels are now generated more consistently; e.g., symbols no longer
6
14
get backticks, and long expressions are abbreviated with ` ... `
7
15
(@yutannihilation , #2981 ).
8
16
9
17
* Aesthetic mappings now accept functions that return ` NULL ` (@yutannihilation ,
10
- #2997 )
18
+ #2997 ).
11
19
12
20
* Closed arrows in ` element_line() ` are now filled (@yutannihilation , #2924 ).
13
21
You can’t perform that action at this time.
0 commit comments