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

Method seconds

lib/matplotlib/testing/jpl_units/Duration.py:41–43  ·  view source on GitHub ↗

Return the number of seconds in the Duration.

(self)

Source from the content-addressed store, hash-verified

39 return Duration(self._frame, -self._seconds)
40
41 def seconds(self):
42 """Return the number of seconds in the Duration."""
43 return self._seconds
44
45 def __bool__(self):
46 return self._seconds != 0

Callers 2

duration2floatMethod · 0.80
__add__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected