|
3 | 3 | Introduction
|
4 | 4 | ============
|
5 | 5 |
|
6 |
| -Matplotlib can be placed as a widget into a variety of user-interface frameworks (or user-interface toolkits). This allows one to build custom applications that can display Matplotlib-plots. |
| 6 | +Matplotlib can be placed into a variety of user-interface frameworks (or user-interface toolkits), which allows for the rapid development of applications that visualize data. The user dynamically change the appearance of the plot and can even manipulate the data through the plot. The integration of Matplotlib into web-frameworks brings these same features to webpages. In addition, many rendering backends (or graphical libraries) are supported, which can be used for dynamic applications or exporting the graphs into static documents. |
7 | 7 |
|
8 |
| -.. figure:: ../_static/mpl_with_glade_3.png |
9 |
| - :width: 50 % |
10 |
| - :alt: Figure of the Glade interface, showing how to divide the window into 2 scrolled windows. |
11 |
| - :align: center |
12 |
| - |
13 |
| - **Figure 1:** Example of Matplotlib embedded as a widget in a user-interface framework. This example shows the GTK+ 3.x framework under Ubuntu 14.04. *Note that the appearance of the window will depend on the operating system and can additonialy be customized.* |
14 |
| - |
15 |
| -The different frameworks offer different features and programming-language bindings. Most offer graphical user-interface-builders (or rapid-application-development programs) that are useful for larger applications. |
| 8 | +The different user-interface frameworks offer different features and programming-language bindings. Most offer graphical user-interface-builders (or rapid-application-development programs) that are useful for constructing the layout of larger applications. The appearance of the user interface will be, by default, similar to the style of the operating system, but can be customized. |
16 | 9 |
|
17 | 10 | The following user-interface frameworks are supported (graphical builders in brackets):
|
18 | 11 |
|
19 | 12 | - Gtk+
|
20 | 13 |
|
21 |
| - - Gtk+ 2.x (Glade 3.8.x) |
22 |
| - - Gtk+ 3.x (Glade 3.16.x) |
| 14 | + - Gtk+ 2.x (Glade 3.8.x) |
| 15 | + - Gtk+ 3.x (Glade 3.16.x) |
| 16 | + |
| 17 | +- macosx |
23 | 18 |
|
24 | 19 | - Qt (Qt-Creator)
|
25 | 20 |
|
26 |
| - - Qt4 |
27 |
| - - Qt5 |
| 21 | + - Qt4 |
| 22 | + - Qt5 |
| 23 | + |
28 | 24 | - Tk
|
29 | 25 |
|
30 |
| -- Wx (wxFormbuilder) |
| 26 | +- wxWidgets (wxFormbuilder) |
31 | 27 |
|
32 |
| - - Wx 2.x |
33 |
| - - Wx 3.x |
| 28 | + - wx 2.x |
| 29 | + - wx 3.x |
| 30 | + |
| 31 | + *The wxWidget-framework is, as of June 2014, the only toolkit that does not support Python 3.x* |
| 32 | + |
| 33 | +The supported web-frameworks are: |
34 | 34 |
|
35 |
| -The different frameworks offer different features and programming-language bindings. The appearance of the user interface will be, by default, similar to the style of the operating system, but can be customized. |
| 35 | +- Django |
36 | 36 |
|
37 |
| -.. figure:: ../_static/mpl_with_glade_2.png |
| 37 | +The following backends are supported: |
| 38 | + |
| 39 | +- Agg (Anti-Grain Geometry) |
| 40 | + |
| 41 | + - CocoaAgg |
| 42 | + - GTKAgg |
| 43 | + - TkAgg |
| 44 | + - QtAgg |
| 45 | + - WebAgg |
| 46 | + |
| 47 | + |
| 48 | +- Cairo |
| 49 | +- Gdk (GIMP Drawing Kit) |
| 50 | +- Pdf (Portable Document Format) |
| 51 | +- Pgf (Portable Graphics Format) |
| 52 | +- Ps (PostScript) |
| 53 | +- Svg (Scalable Vector Graphics) |
| 54 | + |
| 55 | +.. figure:: ../_static/mpl_with_glade_3.png |
38 | 56 | :width: 50 %
|
39 |
| - :alt: Glade window as an example for a graphical user-interface-builder or rapid-application development program. |
| 57 | + :alt: Figure of the Glade interface, showing how to divide the window into 2 scrolled windows. |
40 | 58 | :align: center
|
41 |
| - |
42 |
| - **Figure 2:** Glade is just one of many programs that can be used to design more complex user interfaces using a graphical interface. |
| 59 | + |
| 60 | + **Figure 1:** Example of Matplotlib embedded as a widget in a user-interface framework. This example shows the GTK+ 3.x framework under Ubuntu 14.04. *Note that the appearance of the window will depend on the operating system and can additonialy be customized.* |
0 commit comments