Canonical API#
The root facade is the supported canonical import surface:
import gsplot as gs
The implementation packages under gsplot._* are private. Historical
module URLs remain available as compatibility references during the 0.4.x and
1.x lines, but they are not part of this canonical API index.
Functions#
Create or reuse a native Figure with concise publication defaults. |
|
|
Create a publication-styled inset on an explicit parent Axes. |
|
Create one placement-only inset below an explicit parent Axes. |
|
Plot publication-ready lines on one or more explicit Axes. |
|
Plot publication-ready points on one or more explicit Axes. |
|
Draw a finite polyline whose segments are mapped through a colormap. |
|
Draw a colormapped line with a local Matplotlib dash pattern. |
|
Create a scalar-colored native scatter collection. |
|
Return evenly spaced publication colors from a Matplotlib colormap. |
|
Sample a Matplotlib colormap as an |
|
Set publication labels and optional panel geometry on explicit Axes. |
|
Apply a finite positive box aspect to explicit Axes. |
Add deterministic lowercase panel indexes to explicit Axes. |
|
|
Apply one validated |
|
Set an explicit Axes title and return its native Text artist. |
|
Set an explicit Figure suptitle and return its native Text artist. |
|
Enable or disable minor ticks on explicit Axes targets. |
|
Configure tick visibility, minor ticks, direction, and parameters. |
|
Set or clear an explicit Axes box aspect. |
|
Add deterministic labels to an explicit ordered panel collection. |
|
Apply the frozen publication baseline to explicit Axes only. |
|
Set one explicit Figure patch facecolor. |
|
Create publication legends on one or more explicit Axes. |
|
Create legends for explicit axes with discoverable entries. |
|
Return discovered handles and labels without creating or printing. |
|
Create a local legend composed of finite colormap stripe proxies. |
|
Apply a validated Theme only to an explicit Figure or Axes. |
|
Save one explicit Figure through a concise transactional workflow. |
|
Save an explicit Figure and optionally display it after all writes. |
|
Display only the unique Figure owned by an explicit target. |
|
Load canonical configuration and translate one schema-less legacy file. |
Read comma-delimited columns with finite NumPy text options. |
|
|
Read a text array without changing the process working directory. |
|
Write one stable UTF-8 metadata document to an explicit destination. |
Return only the installed gsplot version and a null commit value. |
|
|
Select a Matplotlib backend before pyplot or a figure is initialized. |
Value types and errors#
|
Immutable schema-versioned configuration for canonical operations. |
A dictionary of mosaic Axes supporting both label and integer index access. |
|
|
Immutable Cartesian labels, limits, scales, ticks, and padding. |
|
Immutable explicit Figure/Axes appearance values. |
|
Immutable placement specification for an explicit parent Axes. |
|
Immutable, privacy-bounded metadata for one explicit output. |
|
Immutable distribution metadata returned by |
|
Immutable handles, labels, and local legend handler mappings. |
Base class for errors that are part of the canonical API contract. |
|
Raised when configuration cannot be parsed or validated. |
|
Raised when plotting or numerical input violates the data contract. |
|
Raised when a figure or axes layout is invalid. |
|
Raised when a plotting operation cannot be completed safely. |
|
|
Raised when figure output or display cannot be completed. |
Raised when reproducibility metadata is invalid or cannot be written. |
Type aliases#
A subplot-mosaic string or rectangular sequence of label rows. |
|
Finite color bounds or a Matplotlib-compatible normalizer. |
|
A Matplotlib color name or an RGB or RGBA channel tuple. |
|
One Axes or a deterministic finite collection of Axes. |
|
An ordered sequence or exact-key mapping of per-target values. |
|
A Matplotlib named line style or finite dash-tuple form. |
|
An input accepted by Matplotlib's MarkerStyle. |
|
A supported physical figure-size unit. |
|
An automatic publication canvas choice. |
|
A publication preset, explicit dimensions, or ambient Figure size. |
|
A supported Figure layout-engine selection. |
|
A concise target-local style selection. |
|
Two explicit parent-to-inset connector-corner pairs. |
|
A finite two-value axis limit whose order is preserved. |
|
A supported Cartesian axis scale name. |
|
A finite sequence of numeric tick locations. |
|
Concise x/y labels with optional x/y axis limits. |
|
Ordered or exact-key per-target label records. |