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

Method _staircase

lib/matplotlib/ticker.py:2180–2183  ·  view source on GitHub ↗
(steps)

Source from the content-addressed store, hash-verified

2178
2179 @staticmethod
2180 def _staircase(steps):
2181 # Make an extended staircase within which the needed step will be
2182 # found. This is probably much larger than necessary.
2183 return np.concatenate([0.1 * steps[:-1], steps, [10 * steps[1]]])
2184
2185 def set_params(self, **kwargs):
2186 """

Callers 1

set_paramsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected