MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / getname_val

Function getname_val

site-packages/matplotlib/pyplot.py:2307–2315  ·  view source on GitHub ↗

return the name and column data for identifier

(identifier)

Source from the content-addressed store, hash-verified

2305 checkrows=checkrows, delimiter=delimiter, names=names)
2306
2307 def getname_val(identifier):
2308 'return the name and column data for identifier'
2309 if isinstance(identifier, str):
2310 return identifier, r[identifier]
2311 elif isinstance(identifier, Number):
2312 name = r.dtype.names[int(identifier)]
2313 return name, r[name]
2314 else:
2315 raise TypeError('identifier must be a string or integer')
2316
2317 xname, x = getname_val(cols[0])
2318 ynamelist = []

Callers 1

plotfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected