Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
2395
def
_is_close_to_int(x):
2396
return
math.isclose(x, round(x))
2397
2398
2399
class
LogLocator(Locator):
Callers
6
__call__
Method · 0.85
__call__
Method · 0.85
_non_decade_format
Method · 0.85
set_locs
Method · 0.85
_format_value
Method · 0.85
__call__
Method · 0.85
Calls
1
isclose
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…