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

Method set_dpi

lib/matplotlib/figure.py:3208–3217  ·  view source on GitHub ↗

Set the resolution of the figure in dots-per-inch. Parameters ---------- val : float

(self, val)

Source from the content-addressed store, hash-verified

3206 return self.dpi
3207
3208 def set_dpi(self, val):
3209 """
3210 Set the resolution of the figure in dots-per-inch.
3211
3212 Parameters
3213 ----------
3214 val : float
3215 """
3216 self.dpi = val
3217 self.stale = True
3218
3219 def set_figwidth(self, val, forward=True):
3220 """

Callers 1

test_subfigure_dpiFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_subfigure_dpiFunction · 0.36