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

Method _normalize_grid_string

lib/matplotlib/figure.py:1897–1904  ·  view source on GitHub ↗
(layout)

Source from the content-addressed store, hash-verified

1895
1896 @staticmethod
1897 def _normalize_grid_string(layout):
1898 if '\n' not in layout:
1899 # single-line string
1900 return [list(ln) for ln in layout.split(';')]
1901 else:
1902 # multi-line string
1903 layout = inspect.cleandoc(layout)
1904 return [list(ln) for ln in layout.strip('\n').split('\n')]
1905
1906 def subplot_mosaic(self, mosaic, *, sharex=False, sharey=False,
1907 width_ratios=None, height_ratios=None,

Callers 1

subplot_mosaicMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected