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

Method get_offsets

lib/matplotlib/collections.py:643–646  ·  view source on GitHub ↗

Return the offsets for the collection.

(self)

Source from the content-addressed store, hash-verified

641 self.stale = True
642
643 def get_offsets(self):
644 """Return the offsets for the collection."""
645 # Default to zeros in the no-offset (None) case
646 return np.zeros((1, 2)) if self._offsets is None else self._offsets
647
648 def _get_default_linewidth(self):
649 # This may be overridden in a subclass.

Callers 15

get_datalimMethod · 0.95
_prepare_pointsMethod · 0.95
set_3d_propertiesMethod · 0.80
set_3d_propertiesMethod · 0.80
_clickedMethod · 0.80
drawMethod · 0.80
test_hexbin_logFunction · 0.80
test_hexbin_log_offsetsFunction · 0.80
test_set_offset_unitsFunction · 0.80
test_check_offsets_dtypeFunction · 0.80

Calls

no outgoing calls