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#

__getattr__(name)

Resolve a lazy re-export, checking the eyepiece requirement first.

__dir__()

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 name is not one of the lazy re-exports.

orbix.viz.__dir__()[source]#

List the lazy re-exports alongside the module’s real attributes.

Returns:

Sorted attribute names, including the lazily provided functions.