sphinx-subfigure (IN-DEVELOPMENT)
A sphinx extension to create figures with multiple images:
- Provides a simple format for complex image layouts.
- Supports responsive HTML layouts, for different screen sizes.
- Supports figure numbering and referencing.
- Supports image sub-captions, via
alttext. - Supports HTML fully (LaTeX to come), and degrades gracefully for other formats.
Usage
Install sphinx-subfigure with pip install sphinx-subfigure,
then add sphinx_subfigure to your conf.py file's extensions variable:
extensions = ["sphinx_subfigure"]
numfig = True # optional
Now add a subfigure directive to your document:
.. subfigure:: AA|BC
:layout-sm: A|B|C
:subcaptions: above
:name: myfigure
:class-grid: outline
.. image:: imageA.png
:alt: Image A
.. image:: imageB.png
:alt: Image B
.. image:: imageC.png
:alt: Image C
Figure Caption
- Each image is automatically assigned an area identifier (A, B, C, etc.).
- Layouts are formed by composing the areas into a grid, with rows delimited by
|. - Each area must be used exactly once in the layout, and form a single rectangle.
- "Empty" areas can be designated with
.
Metadata
Release files for sphinx-subfigure 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinx_subfigure-0.1.0.tar.gz | 572.6 kB | Without provenance | Details for sphinx_subfigure-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinx_subfigure-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sphinx_subfigure-0.1.0-py3-none-any.whl |
Total release size: 579.0 kB
Release files / sphinx_subfigure-0.1.0.tar.gz
| Download URL | sphinx_subfigure-0.1.0.tar.gz |
|---|---|
| Size | 572.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
278916ef68a2657f67f139c0cdfecee4a881ed1f47740be97f7f717aa84ed70b
|
|
BLAKE2b-256 checksum How to use checksums |
a3cb1abfb008cce8a26d37da17264f4f8d662c924856490c8bdaeb014c62cc16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / sphinx_subfigure-0.1.0-py3-none-any.whl
| Download URL | sphinx_subfigure-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12d3d3d561e009b9f1aceae43ded84867aeb65fb458340bb351efae05d1f55ce
|
|
BLAKE2b-256 checksum How to use checksums |
17808ee7c330a0844f80a3c7c99f2f25b656c6e1dc30062fd82cfb0cc4ef45f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Security for sphinx-subfigure 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.