LegRecord#
- class scikitplot.mcp.LegRecord(leg, status, hit_count=0, error=None)[source]#
How one retrieval leg fared.
- Parameters:
- Raises:
- ValueError
If
statusis not a known status, or if a degraded/failed leg is recorded without anerror.
- Parameters:
Notes
Developer-focused. The error-required invariant is enforced here rather than merely documented, matching
scikitplot.corpus.LegOutcome: an unexplained degradation is as unhelpful as no degradation signal at all.- error#
!! processed by numpydoc !!
- hit_count#
!! processed by numpydoc !!
- leg#
!! processed by numpydoc !!
- status#
!! processed by numpydoc !!