Set the vertical alignment relative to the anchor point. See also :doc:`/gallery/text_labels_and_annotations/text_alignment`. Parameters ---------- align : {'baseline', 'bottom', 'center', 'center_baseline', 'top'}
(self, align)
| 1419 | self.stale = True |
| 1420 | |
| 1421 | def set_verticalalignment(self, align): |
| 1422 | """ |
| 1423 | Set the vertical alignment relative to the anchor point. |
| 1424 | |
| 1425 | See also :doc:`/gallery/text_labels_and_annotations/text_alignment`. |
| 1426 | |
| 1427 | Parameters |
| 1428 | ---------- |
| 1429 | align : {'baseline', 'bottom', 'center', 'center_baseline', 'top'} |
| 1430 | """ |
| 1431 | _api.check_in_list( |
| 1432 | ['top', 'bottom', 'center', 'baseline', 'center_baseline'], |
| 1433 | align=align) |
| 1434 | self._verticalalignment = align |
| 1435 | self.stale = True |
| 1436 | |
| 1437 | def set_text(self, s): |
| 1438 | r""" |
no outgoing calls
no test coverage detected