# Examples

## The test launcher

A lot of examples are available in the `qwt.test` module

    from qwt import tests
    tests.run()

The two lines above execute the `PythonQwt` test launcher:

GUI-based test launcher can be executed from the command line thanks to the `PythonQwt-py3` test script (or `PythonQwt-py2` for Python 2).

Unit tests may be executed from the commande line thanks to the console-based script `PythonQwt-tests-py3`: `PythonQwt-tests-py3 --mode unattended`.

## Tests

Here are some examples from the qwt.test module:

- Bode demo
- Cartesian demo
- CPU plot demo
- Curve benchmark demo 1
- Curve benchmark demo 2
- Curve demo 1
- Curve demo 2
- Data demo
- Error bar demo
- Event filter demo
- Image plot demo
- Log curve plot demo
- Map demo
- Multi demo
- Really simple demo
- Vertical plot demo