File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ def _get_rc_timezone():
178
178
import pytz
179
179
return pytz .timezone (s )
180
180
181
+
181
182
"""
182
183
Time-related constants.
183
184
"""
@@ -349,7 +350,7 @@ def date2num(d):
349
350
350
351
Parameters
351
352
----------
352
- d: :class:`datetime` or sequence of :class:`datetime`
353
+ d : :class:`datetime` or sequence of :class:`datetime`
353
354
354
355
Returns
355
356
-------
@@ -378,7 +379,7 @@ def julian2num(j):
378
379
379
380
Parameters
380
381
----------
381
- k: float or sequence of floats
382
+ k : float or sequence of floats
382
383
Julian date(s)
383
384
384
385
Returns
@@ -397,7 +398,7 @@ def num2julian(n):
397
398
398
399
Parameters
399
400
----------
400
- n: float or sequence of floats
401
+ n : float or sequence of floats
401
402
Matplotlib date(s)
402
403
403
404
Returns
@@ -414,10 +415,10 @@ def num2date(x, tz=None):
414
415
"""
415
416
Parameters
416
417
----------
417
- x: float
418
+ x : float or sequence of floats
418
419
Number of days (fraction part represents hours, minutes, seconds)
419
420
since 0001-01-01 00:00:00 UTC, plus one.
420
- tz: string, optional
421
+ tz : string, optional
421
422
Timezone of *x* (defaults to rcparams TZ value).
422
423
423
424
Returns
You can’t perform that action at this time.
0 commit comments