@@ -813,7 +813,7 @@ def legend(self, spec=None, position="JTR+jTR+o0.2c", box="+gwhite+p1p", **kwarg
813
813
lib .call_module ("legend" , arg_str )
814
814
815
815
@fmt_docstring
816
- @use_alias (R = "region" , J = "projection" , B = "frame" , W = "pen" )
816
+ @use_alias (R = "region" , J = "projection" , B = "frame" , C = "clearance" , W = "pen" )
817
817
@kwargs_to_strings (
818
818
R = "sequence" ,
819
819
textfiles = "sequence_space" ,
@@ -876,6 +876,18 @@ def text(
876
876
input textfile(s) must have this as a column.
877
877
{J}
878
878
{R}
879
+ clearance : str
880
+ ``[dx/dy][+to|O|c|C]``
881
+ Adjust the clearance between the text and the surrounding box
882
+ [15%]. Only used if *pen* or *fill* are specified. Append the unit
883
+ you want ('c' for cm, 'i' for inch, or 'p' for point; if not given
884
+ we consult 'PROJ_LENGTH_UNIT') or '%' for a percentage of the
885
+ font size. Optionally, use modifier '+t' to set the shape of the
886
+ textbox when using *fill* and/or *pen*. Append lower case 'o' to
887
+ get a straight rectangle [Default]. Append upper case 'O' to get a
888
+ rounded rectangle. In paragraph mode (*paragraph*) you can also
889
+ append lower case 'c' to get a concave rectangle or append upper
890
+ case 'C' to get a convex rectangle.
879
891
pen : str
880
892
Sets the pen used to draw a rectangle around the text string
881
893
(see *clearance*) [Default is width = default, color = black,
0 commit comments