MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_multilinebaseline

Method set_multilinebaseline

lib/matplotlib/offsetbox.py:755–765  ·  view source on GitHub ↗

Set multilinebaseline. If True, the baseline for multiline text is adjusted so that it is (approximately) center-aligned with single-line text. This is used e.g. by the legend implementation so that single-line labels are baseline-aligned, but multiline lab

(self, t)

Source from the content-addressed store, hash-verified

753 return self._text.get_text()
754
755 def set_multilinebaseline(self, t):
756 """
757 Set multilinebaseline.
758
759 If True, the baseline for multiline text is adjusted so that it is
760 (approximately) center-aligned with single-line text. This is used
761 e.g. by the legend implementation so that single-line labels are
762 baseline-aligned, but multiline labels are "center"-aligned with them.
763 """
764 self._multilinebaseline = t
765 self.stale = True
766
767 def get_multilinebaseline(self):
768 """

Callers 1

test_textarea_propertiesFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_textarea_propertiesFunction · 0.76