MCPcopy Index your code
hub / github.com/PyQt5/PyQt / tickStrings

Method tickStrings

PyQtGraph/tools.py:62–71  ·  view source on GitHub ↗
(self, values, scale, spacing)

Source from the content-addressed store, hash-verified

60 self.xdict = xdict
61
62 def tickStrings(self, values, scale, spacing):
63 strings = []
64 for v in values:
65 vs = v * scale
66 if vs in self.xdict.keys():
67 vstr = self.xdict[vs]
68 else:
69 vstr = ""
70 strings.append(vstr)
71 return strings
72
73
74# 禁止鼠标事件

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected