Parameters ---------- freq : {YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, SECONDLY} Tick frequency. These constants are defined in `dateutil.rrule`, but they are accessible from `matplotlib.dates` as well. tzinfo : `datetime.tzinfo`, opt
(self, freq, tzinfo=None, **kwargs)
| 946 | date tick specifications. |
| 947 | """ |
| 948 | def __init__(self, freq, tzinfo=None, **kwargs): |
| 949 | """ |
| 950 | Parameters |
| 951 | ---------- |
| 952 | freq : {YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, SECONDLY} |
| 953 | Tick frequency. These constants are defined in `dateutil.rrule`, |
| 954 | but they are accessible from `matplotlib.dates` as well. |
| 955 | tzinfo : `datetime.tzinfo`, optional |
| 956 | Time zone information. The default is None. |
| 957 | **kwargs |
| 958 | Additional keyword arguments are passed to the `dateutil.rrule`. |
| 959 | """ |
| 960 | kwargs['freq'] = freq |
| 961 | self._base_tzinfo = tzinfo |
| 962 | |
| 963 | self._update_rrule(**kwargs) |
| 964 | |
| 965 | def set(self, **kwargs): |
| 966 | """Set parameters for an existing wrapper.""" |
nothing calls this directly
no test coverage detected