MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / attach_note

Method attach_note

site-packages/matplotlib/backends/backend_pdf.py:2517–2524  ·  view source on GitHub ↗

Add a new text note to the page to be saved next. The optional positionRect specifies the position of the new note on the page. It is outside the page per default to make sure it is invisible on printouts.

(self, text, positionRect=[-100, -100, 0, 0])

Source from the content-addressed store, hash-verified

2515 return len(self._file.pageList)
2516
2517 def attach_note(self, text, positionRect=[-100, -100, 0, 0]):
2518 """
2519 Add a new text note to the page to be saved next. The optional
2520 positionRect specifies the position of the new note on the
2521 page. It is outside the page per default to make sure it is
2522 invisible on printouts.
2523 """
2524 self._file.newTextnote(text, positionRect)
2525
2526
2527class FigureCanvasPdf(FigureCanvasBase):

Callers

nothing calls this directly

Calls 1

newTextnoteMethod · 0.80

Tested by

no test coverage detected