@@ -688,11 +688,9 @@ class TextArea(OffsetBox):
688
688
child text.
689
689
"""
690
690
691
- @_api .delete_parameter ("3.4" , "minimumdescent" )
692
691
def __init__ (self , s ,
693
692
textprops = None ,
694
693
multilinebaseline = False ,
695
- minimumdescent = True ,
696
694
):
697
695
"""
698
696
Parameters
@@ -705,9 +703,6 @@ def __init__(self, s,
705
703
multilinebaseline : bool, default: False
706
704
Whether the baseline for multiline text is adjusted so that it
707
705
is (approximately) center-aligned with single-line text.
708
- minimumdescent : bool, default: True
709
- If `True`, the box has a minimum descent of "p". This is now
710
- effectively always True.
711
706
"""
712
707
if textprops is None :
713
708
textprops = {}
@@ -719,7 +714,6 @@ def __init__(self, s,
719
714
self ._text .set_transform (self .offset_transform +
720
715
self ._baseline_transform )
721
716
self ._multilinebaseline = multilinebaseline
722
- self ._minimumdescent = minimumdescent
723
717
724
718
def set_text (self , s ):
725
719
"""Set the text of this area as a string."""
@@ -748,26 +742,6 @@ def get_multilinebaseline(self):
748
742
"""
749
743
return self ._multilinebaseline
750
744
751
- @_api .deprecated ("3.4" )
752
- def set_minimumdescent (self , t ):
753
- """
754
- Set minimumdescent.
755
-
756
- If True, extent of the single line text is adjusted so that
757
- its descent is at least the one of the glyph "p".
758
- """
759
- # The current implementation of Text._get_layout always behaves as if
760
- # this is True.
761
- self ._minimumdescent = t
762
- self .stale = True
763
-
764
- @_api .deprecated ("3.4" )
765
- def get_minimumdescent (self ):
766
- """
767
- Get minimumdescent.
768
- """
769
- return self ._minimumdescent
770
-
771
745
def set_transform (self , t ):
772
746
"""
773
747
set_transform is ignored.
0 commit comments