Figures and tables

On this page, you can see how images, figures and tables look like. Sphinx distinguishes between images and figures.


Images

For straightforward images without captions, use the image directive.

A placeholder image

Use the :align: center option to center an image.

A centered placeholder image

Use :align: right option to align the image to the right edge.

A right-aligned placeholder image

Figures

If you want to add captions and legends to the image, use the figure directive.

A grey placeholder image
This is an image caption.

You can also provide a legend to the figure with the :legend: option. The images on this page are from https://undraw.co/.

You can control the image alignment by using the :align: option.

A centered placeholder image in figure environment
Use :align: center to center a figure.
A right-aligned placeholder image in figure environment
Use :align: right to right-align a figure.

Tables

This is a small table.

Table caption

table head

table head

column

column

column

column

column

column