MCPcopy Create free account
hub / github.com/daft-dev/daft / show

Method show

daft.py:465–476  ·  view source on GitHub ↗

Wrapper on :class:`PGM.render()` that calls `matplotlib.show()` immediately after. :param dpi: (optional) The DPI value to use for rendering.

(self, dpi=None, *args, **kwargs)

Source from the content-addressed store, hash-verified

463 return self._ctx.ax()
464
465 def show(self, dpi=None, *args, **kwargs):
466 """
467 Wrapper on :class:`PGM.render()` that calls `matplotlib.show()`
468 immediately after.
469
470 :param dpi: (optional)
471 The DPI value to use for rendering.
472
473 """
474
475 self.render(dpi=dpi)
476 plt.show(*args, **kwargs)
477
478 def savefig(self, fname, *args, **kwargs):
479 """

Callers

nothing calls this directly

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected