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

Method get_datalim

lib/matplotlib/collections.py:1505–1510  ·  view source on GitHub ↗

Calculate the data limits and return them as a `.Bbox`.

(self, transData)

Source from the content-addressed store, hash-verified

1503 self.set_verts(verts)
1504
1505 def get_datalim(self, transData):
1506 """Calculate the data limits and return them as a `.Bbox`."""
1507 datalim = transforms.Bbox.null()
1508 datalim.update_from_data_xy((self.get_transform() - transData).transform(
1509 np.concatenate([self._bbox, [self._bbox.minpos]])))
1510 return datalim
1511
1512 def _make_verts(self, t, f1, f2, where):
1513 """

Callers

nothing calls this directly

Calls 4

nullMethod · 0.80
update_from_data_xyMethod · 0.80
transformMethod · 0.45
get_transformMethod · 0.45

Tested by

no test coverage detected