Draw a TeX instance. Parameters ---------- gc : `.GraphicsContextBase` The graphics context. x : float The x location of the text in display coords. y : float The y location of the text baseline in display coords.
(self, gc, x, y, s, prop, angle, *, mtext=None)
| 486 | return False |
| 487 | |
| 488 | def draw_tex(self, gc, x, y, s, prop, angle, *, mtext=None): |
| 489 | """ |
| 490 | Draw a TeX instance. |
| 491 | |
| 492 | Parameters |
| 493 | ---------- |
| 494 | gc : `.GraphicsContextBase` |
| 495 | The graphics context. |
| 496 | x : float |
| 497 | The x location of the text in display coords. |
| 498 | y : float |
| 499 | The y location of the text baseline in display coords. |
| 500 | s : str |
| 501 | The TeX text string. |
| 502 | prop : `~matplotlib.font_manager.FontProperties` |
| 503 | The font properties. |
| 504 | angle : float |
| 505 | The rotation angle in degrees anti-clockwise. |
| 506 | mtext : `~matplotlib.text.Text` |
| 507 | The original text object to be rendered. |
| 508 | """ |
| 509 | self._draw_text_as_path(gc, x, y, s, prop, angle, ismath="TeX") |
| 510 | |
| 511 | def draw_text(self, gc, x, y, s, prop, angle, ismath=False, mtext=None): |
| 512 | """ |
no test coverage detected