|
3 | 3 |
|
4 | 4 | """
|
5 | 5 | This module contains the global configuration for agate. Users should use
|
6 |
| -:function:`.get_option` and :function:`.set_option` to modify the global |
| 6 | +:meth:`get_option` and :meth:`set_option` to modify the global |
7 | 7 | configuration.
|
| 8 | +
|
| 9 | +Available configuation options: |
| 10 | +
|
| 11 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 12 | +| Option | Description | Default value | |
| 13 | ++=========================+==========================================+=========================================+ |
| 14 | +| default_locale | Default locale for number formatting | default_locale('LC_NUMERIC') or 'en_US' | |
| 15 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 16 | +| horizontal_line_char | Character to render for horizontal lines | u'-' | |
| 17 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 18 | +| vertical_line_char | Character to render for vertical lines | u'|' | |
| 19 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 20 | +| bar_char | Character to render for bar chart units | u'░' | |
| 21 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 22 | +| printable_bar_char | Printable character for bar chart units | u':' | |
| 23 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 24 | +| zero_line_char | Character to render for zero line units | u'▓' | |
| 25 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 26 | +| printable_zero_line_char| Printable character for zero line units | u'|' | |
| 27 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 28 | +| tick_char | Character to render for axis ticks | u'+' | |
| 29 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 30 | +| ellipsis_chars | Characters to render for ellipsis | u'...' | |
| 31 | ++-------------------------+------------------------------------------+-----------------------------------------+ |
| 32 | +
|
8 | 33 | """
|
9 | 34 |
|
10 | 35 | from babel.core import default_locale
|
|
0 commit comments