MCPcopy Create free account
hub / github.com/numpy/numpy / enable

Method enable

numpy/ma/core.py:2407–2412  ·  view source on GitHub ↗

Set the enabling shrink to `shrink`.

(self, shrink=1)

Source from the content-addressed store, hash-verified

2405 return self._enabled
2406
2407 def enable(self, shrink=1):
2408 """
2409 Set the enabling shrink to `shrink`.
2410
2411 """
2412 self._enabled = shrink
2413
2414 def __str__(self):
2415 return str(self._display)

Callers 4

test_refcountMethod · 0.80
test_frompyfunc_leaksMethod · 0.80
_assert_valid_refcountFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_refcountMethod · 0.64
test_frompyfunc_leaksMethod · 0.64