Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/ds4
/ fmt_tick
Function
fmt_tick
speed-bench/plot_speed.py:52–55 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
50
51
52
def
fmt_tick(value):
53
if
abs(value) >= 1000:
54
return
f
"{value / 1000:g}k"
55
return
f
"{value:g}"
56
57
58
def
read_points(path):
Callers
1
render_svg
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected