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

Method __init__

lib/matplotlib/backends/backend_pgf.py:378–395  ·  view source on GitHub ↗

Create a new PGF renderer that translates any drawing instruction into text commands to be interpreted in a latex pgfpicture environment. Attributes ---------- figure : `~matplotlib.figure.Figure` Matplotlib figure to initialize height, width and

(self, figure, fh)

Source from the content-addressed store, hash-verified

376class RendererPgf(RendererBase):
377
378 def __init__(self, figure, fh):
379 """
380 Create a new PGF renderer that translates any drawing instruction
381 into text commands to be interpreted in a latex pgfpicture environment.
382
383 Attributes
384 ----------
385 figure : `~matplotlib.figure.Figure`
386 Matplotlib figure to initialize height, width and dpi from.
387 fh : file-like
388 File handle for the output of the drawing commands.
389 """
390
391 super().__init__()
392 self.dpi = figure.dpi
393 self.fh = fh
394 self.figure = figure
395 self.image_counter = 0
396
397 def draw_markers(self, gc, marker_path, marker_trans, path, trans,
398 rgbFace=None):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected