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

Method new_locator

lib/mpl_toolkits/axes_grid1/axes_divider.py:563–575  ·  view source on GitHub ↗

Create an axes locator callable for the specified cell. Parameters ---------- ny, ny1 : int Integers specifying the row-position of the cell. When *ny1* is None, a single *ny*-th row is specified. Otherwise, location of rows spann

(self, ny, ny1=None)

Source from the content-addressed store, hash-verified

561 """
562
563 def new_locator(self, ny, ny1=None):
564 """
565 Create an axes locator callable for the specified cell.
566
567 Parameters
568 ----------
569 ny, ny1 : int
570 Integers specifying the row-position of the
571 cell. When *ny1* is None, a single *ny*-th row is
572 specified. Otherwise, location of rows spanning between *ny*
573 to *ny1* (but excluding *ny1*-th row) is specified.
574 """
575 return super().new_locator(0, ny, 0, ny1)
576
577 def _locate(self, nx, ny, nx1, ny1, axes, renderer):
578 # docstring inherited

Callers 1

test_vbox_dividerFunction · 0.95

Calls 1

new_locatorMethod · 0.45

Tested by 1

test_vbox_dividerFunction · 0.76