vuecore.engines package

vuecore.engines package#

vuecore.engines.get_builder(plot_type: PlotType, engine: EngineType) Callable[source]#

Retrieves a plot builder function from the registry.

Looks up the plotting function based on the specified plot type and engine.

Parameters:
  • plot_type (PlotType) – The type of plot to retrieve.

  • engine (EngineType) – The engine used to render the plot.

Returns:

The registered plotting function.

Return type:

Callable

Raises:

ValueError – If no function is found for the given plot type and engine.

vuecore.engines.get_saver(engine: EngineType) Callable[source]#

Retrieves a save function from the registry.

Returns the function used to save plots for the specified engine.

Parameters:

engine (EngineType) – The engine for which the saving function should be retrieved.

Returns:

The registered saving function.

Return type:

Callable

Raises:

ValueError – If no saver function is registered for the given engine.

Subpackages#

Submodules#