Skip to content

Commit 24d544a

Browse files
committed
Update shapes.md
1 parent f04ebfc commit 24d544a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/python/shapes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ fig.show()
917917

918918
*New in 5.15*
919919

920-
Use `texttemplate` to add text with variables to shapes. `texttemplate` uses d3 number and date formatting and supports raw variables, which use the raw data from the shape definition, and some calculated variables.
920+
Use `texttemplate` to add text with variables to shapes. `texttemplate` uses d3 number and date formatting and supports raw variables, which use the raw data from the shape definition, and some calculated variables. Add a variable with "%{variable}".
921921

922922
This example adds the raw variables `x0` and `y0` to a rectangle and shows the calculated variables `height`, `slope`, and `width`on three other shapes.
923923

0 commit comments

Comments
 (0)