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

Method edit_all_margins_min

lib/matplotlib/_layoutgrid.py:306–323  ·  view source on GitHub ↗

Change the minimum size of all the margin of all the cells in the layout grid. Parameters ---------- todo : {'left', 'right', 'bottom', 'top'} The margin to alter. size : float Minimum size of the margin. If it is larger tha

(self, todo, size)

Source from the content-addressed store, hash-verified

304 self.edit_margin(todo, size, i)
305
306 def edit_all_margins_min(self, todo, size):
307 """
308 Change the minimum size of all the margin of all
309 the cells in the layout grid.
310
311 Parameters
312 ----------
313 todo : {'left', 'right', 'bottom', 'top'}
314 The margin to alter.
315
316 size : float
317 Minimum size of the margin. If it is larger than the
318 existing minimum it updates the margin size. Fraction of
319 figure size.
320 """
321
322 for i in range(len(self.margin_vals[todo])):
323 self.edit_margin_min(todo, size, i)
324
325 def edit_outer_margin_mins(self, margin, ss):
326 """

Callers

nothing calls this directly

Calls 1

edit_margin_minMethod · 0.95

Tested by

no test coverage detected