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

Method new_locator

lib/mpl_toolkits/axes_grid1/axes_divider.py:526–538  ·  view source on GitHub ↗

Create an axes locator callable for the specified cell. Parameters ---------- nx, nx1 : int Integers specifying the column-position of the cell. When *nx1* is None, a single *nx*-th column is specified. Otherwise, location of colu

(self, nx, nx1=None)

Source from the content-addressed store, hash-verified

524 """
525
526 def new_locator(self, nx, nx1=None):
527 """
528 Create an axes locator callable for the specified cell.
529
530 Parameters
531 ----------
532 nx, nx1 : int
533 Integers specifying the column-position of the
534 cell. When *nx1* is None, a single *nx*-th column is
535 specified. Otherwise, location of columns spanning between *nx*
536 to *nx1* (but excluding *nx1*-th column) is specified.
537 """
538 return super().new_locator(nx, 0, nx1, 0)
539
540 def _locate(self, nx, ny, nx1, ny1, axes, renderer):
541 # docstring inherited

Callers 1

test_hbox_dividerFunction · 0.95

Calls 1

new_locatorMethod · 0.45

Tested by 1

test_hbox_dividerFunction · 0.76