File tree 3 files changed +17
-3
lines changed
3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 435
435
'geom' : ':term:`geom`' ,
436
436
'stat' : ':term:`stat`' ,
437
437
'position' : ':term:`position`' ,
438
+ 'expression' : ':term:`expression`' ,
438
439
}
439
440
440
441
Original file line number Diff line number Diff line change @@ -15,3 +15,16 @@ Glossary of Common Terms
15
15
16
16
position
17
17
A subclass of :class: `~plotnine.positions.position.position `.
18
+
19
+ expression
20
+ A python expression wrapped in a string. The expression can
21
+ refer to variables in the user environment and columns in
22
+ the dataframe.
23
+
24
+ The following may be valid expressions::
25
+
26
+ 'col1'
27
+ 'col1 + col2'
28
+ 'np.sin(col1)'
29
+ '"string-value"'
30
+
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ class aes(dict):
32
32
33
33
Parameters
34
34
----------
35
- x : str | array_like | scalar | str-expression
35
+ x : expression | array_like | scalar
36
36
x aesthetic mapping
37
- y : str | array_like | scalar | str-expression
37
+ y : expression | array_like | scalar
38
38
y aesthetic mapping
39
- \*\ *kwargs : dict
39
+ * *kwargs : dict
40
40
Other aesthetic mappings
41
41
42
42
Notes
You can’t perform that action at this time.
0 commit comments