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

Function _is_close_to_int

lib/matplotlib/ticker.py:2395–2396  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

2393
2394
2395def _is_close_to_int(x):
2396 return math.isclose(x, round(x))
2397
2398
2399class LogLocator(Locator):

Callers 6

__call__Method · 0.85
__call__Method · 0.85
_non_decade_formatMethod · 0.85
set_locsMethod · 0.85
_format_valueMethod · 0.85
__call__Method · 0.85

Calls 1

iscloseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…