# Gallery of Examples

This page consists of the ‘General example’ gallery and a sub-gallery, ‘No image output examples’. This sub-gallery is generated from a sub-directory within the general examples directory. The file structure of this gallery looks like this:

    examples/           # base 'Gallery of Examples' directory
    ├── README.txt
    ├── <.py files>
    └── no_output/      # generates the 'No image output examples' sub-gallery
        ├── README.txt
        └── <.py files>

## General examples

This gallery consists of introductory examples and examples demonstrating specific features of Sphinx-Gallery.

Local module

Introductory example - Plotting sin

Plotting the exponential function

Seaborn example

Capturing output representations

Choosing the thumbnail figure

Providing a figure for the thumbnail image

Using Unicode everywhere 🤗

Identifying function names in a script

Using sys.argv in examples

Example with the plotly graphing library

## No image output examples

This section gathers examples which don’t produce any figures. Some examples only output to standard output, others demonstrate how Sphinx-Gallery handles examples with errors.

A short Python script

Example that fails to execute

Constrained Text output frame

SyntaxError

Gallery generated by Sphinx-Gallery