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

Method unit

lib/matplotlib/transforms.py:810–812  ·  view source on GitHub ↗

Create a new unit `Bbox` from (0, 0) to (1, 1).

()

Source from the content-addressed store, hash-verified

808
809 @staticmethod
810 def unit():
811 """Create a new unit `Bbox` from (0, 0) to (1, 1)."""
812 return Bbox([[0, 0], [1, 1]])
813
814 @staticmethod
815 def null():

Callers 15

__init__Method · 0.80
apply_aspectMethod · 0.80
clearMethod · 0.80
connect_bboxMethod · 0.80
get_window_extentMethod · 0.80
get_window_extentMethod · 0.80
rotatedMethod · 0.80
get_tick_spaceMethod · 0.80
get_tick_spaceMethod · 0.80
set_clip_pathMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 1

BboxClass · 0.85

Tested by 2

test_lockable_bboxFunction · 0.64