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

Class SpineMock

lib/matplotlib/tests/test_spines.py:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9def test_spine_class():
10 """Test Spines and SpinesProxy in isolation."""
11 class SpineMock:
12 def __init__(self):
13 self.val = None
14
15 def set(self, **kwargs):
16 vars(self).update(kwargs)
17
18 def set_val(self, val):
19 self.val = val
20
21 spines_dict = {
22 'left': SpineMock(),

Callers 1

test_spine_classFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_spine_classFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…