figure_formats¶
The formats of the files of a figure, without importing anything of sbmlsim.
A figure of a run is written as the image the renderer of sbmlsim-core draws,
SVG or PNG, and beside it as the spec of its chart, JSON, which the report
reads. sbmlsim.experiment writes them and sbmlsim.project checks the
formats of a project, whose module stays light (it imports no experiment).
figure_formats_of
¶
Get the formats of the files a run writes of every figure.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
figure_formats
|
Sequence[str] | None
|
the formats asked for, |
required |
Returns:
| Type | Description |
|---|---|
list[str]
|
The formats in lower case and in their order without duplicates, |
list[str]
|
followed by |
Raises:
| Type | Description |
|---|---|
TypeError
|
if the formats are a single string. |
ValueError
|
for |