|
6 | 6 | `~matplotlib.units` to convert `datetime.datetime`, and `numpy.datetime64`
|
7 | 7 | objects when plotted on an x- or y-axis. The user does not
|
8 | 8 | need to do anything for dates to be formatted, but dates often have strict
|
9 |
| -formatting needs, so this module provides many axis locators and formatters. |
| 9 | +formatting needs, so this module provides many tick locators and formatters. |
10 | 10 | A basic example using `numpy.datetime64` is::
|
11 | 11 |
|
12 | 12 | import numpy as np
|
|
82 | 82 | In [1]: date(2006, 4, 1).toordinal() - date(1, 1, 1).toordinal()
|
83 | 83 | Out[1]: 732401
|
84 | 84 |
|
85 |
| -All the Matplotlib date converters, tickers and formatters are timezone aware. |
| 85 | +All the Matplotlib date converters, locators and formatters are timezone aware. |
86 | 86 | If no explicit timezone is provided, :rc:`timezone` is assumed, provided as a
|
87 | 87 | string. If you want to use a different timezone, pass the *tz* keyword
|
88 |
| -argument of `num2date` to any date tickers or locators you create. This can |
89 |
| -be either a `datetime.tzinfo` instance or a string with the timezone name that |
90 |
| -can be parsed by `~dateutil.tz.gettz`. |
| 88 | +argument of `num2date` to any date tick locators or formatters you create. This |
| 89 | +can be either a `datetime.tzinfo` instance or a string with the timezone name |
| 90 | +that can be parsed by `~dateutil.tz.gettz`. |
91 | 91 |
|
92 | 92 | A wide range of specific and general purpose date tick locators and
|
93 | 93 | formatters are provided in this module. See
|
|
99 | 99 |
|
100 | 100 | .. _dateutil: https://dateutil.readthedocs.io
|
101 | 101 |
|
102 |
| -.. _date-tickers: |
| 102 | +.. _date-locators: |
103 | 103 |
|
104 |
| -Date tickers |
105 |
| ------------- |
| 104 | +Date tick locators |
| 105 | +------------------ |
106 | 106 |
|
107 |
| -Most of the date tickers can locate single or multiple values. For example:: |
| 107 | +Most of the date tick locators can locate single or multiple ticks. For example:: |
108 | 108 |
|
109 | 109 | # import constants for the days of the week
|
110 | 110 | from matplotlib.dates import MO, TU, WE, TH, FR, SA, SU
|
|
126 | 126 | rule = rrulewrapper(YEARLY, byeaster=1, interval=5)
|
127 | 127 | loc = RRuleLocator(rule)
|
128 | 128 |
|
129 |
| -The available date tickers are: |
| 129 | +The available date tick locators are: |
130 | 130 |
|
131 | 131 | * `MicrosecondLocator`: Locate microseconds.
|
132 | 132 |
|
@@ -622,7 +622,7 @@ def _wrap_in_tex(text):
|
622 | 622 | return ret_text
|
623 | 623 |
|
624 | 624 |
|
625 |
| -## date tickers and formatters ### |
| 625 | +## date tick locators and formatters ### |
626 | 626 |
|
627 | 627 |
|
628 | 628 | class DateFormatter(ticker.Formatter):
|
|
0 commit comments