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

Function _nums_to_str

lib/matplotlib/backends/backend_ps.py:71–72  ·  view source on GitHub ↗
(*args, sep=" ")

Source from the content-addressed store, hash-verified

69
70
71def _nums_to_str(*args, sep=" "):
72 return sep.join(f"{arg:1.3f}".rstrip("0").rstrip(".") for arg in args)
73
74
75def _move_path_to_path_or_stream(src, dst):

Callers 10

_serialize_type42Function · 0.85
set_colorMethod · 0.85
set_linewidthMethod · 0.85
set_linedashMethod · 0.85
_get_clip_cmdMethod · 0.85
draw_markersMethod · 0.85
draw_texMethod · 0.85
_draw_psMethod · 0.85
print_figure_implMethod · 0.85
_print_figure_texMethod · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…