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

Class _DummyAxis

lib/matplotlib/ticker.py:160–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158
159
160class _DummyAxis:
161 __name__ = "dummy"
162
163 def __init__(self, minpos=0):
164 self._data_interval = (0, 1)
165 self._view_interval = (0, 1)
166 self._minpos = minpos
167
168 def get_view_interval(self):
169 return self._view_interval
170
171 def set_view_interval(self, vmin, vmax):
172 self._view_interval = (vmin, vmax)
173
174 def get_minpos(self):
175 return self._minpos
176
177 def get_data_interval(self):
178 return self._data_interval
179
180 def set_data_interval(self, vmin, vmax):
181 self._data_interval = (vmin, vmax)
182
183 def get_tick_space(self):
184 # Just use the long-standing default of nbins==9
185 return 9
186
187
188class TickHelper:

Callers 1

create_dummy_axisMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…