orbix.viz#
Plotting for orbix types, built on eyepiece primitives.
Requires the viz extra (pip install 'orbix[viz]'), which brings
eyepiece and, through it, matplotlib and hwostyle. The base install stays
free of all three: names are re-exported lazily (PEP 562), so importing
this package imports no plotting stack, and the eyepiece requirement is
checked only when a plot function is first touched.
Submodules#
Attributes#
Functions#
|
Resolve a lazy re-export, checking the eyepiece requirement first. |
|
List the lazy re-exports alongside the module's real attributes. |
Package Contents#
- orbix.viz._LAZY#
- orbix.viz.__all__#
- orbix.viz.__getattr__(name)[source]#
Resolve a lazy re-export, checking the eyepiece requirement first.
- Parameters:
name – Attribute being looked up on
orbix.viz.- Returns:
The requested plot function.
- Raises:
AttributeError – If
nameis not one of the lazy re-exports.