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

Function test_figsize

lib/matplotlib/tests/test_figure.py:1877–1879  ·  view source on GitHub ↗
(figsize, figsize_inches)

Source from the content-addressed store, hash-verified

1875 ((600, 400, "px"), (6, 4)),
1876])
1877def test_figsize(figsize, figsize_inches):
1878 fig = plt.figure(figsize=figsize, dpi=100)
1879 assert tuple(fig.get_size_inches()) == figsize_inches
1880
1881
1882def test_figsize_partial_none():

Callers

nothing calls this directly

Calls 2

figureMethod · 0.80
get_size_inchesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…