File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,6 @@ def _warn_set_ylim_deprecated(value):
79
79
category = DeprecationWarning )
80
80
return isinstance (value ,bool )
81
81
82
- def _tzinfo_dates (dates ,tzinfo = None ):
83
- if tzinfo != None : # assume 'UTC'; later implement others
84
- return dates
85
- dts = copy .deepcopy (dates )
86
- for ix , d in enumerate (dts ):
87
- dts [ix ] = d .replace (tzinfo )
88
- return dts
89
-
90
82
91
83
def _valid_plot_kwargs ():
92
84
'''
@@ -360,9 +352,9 @@ def plot( data, **kwargs ):
360
352
361
353
if config ['show_nontrading' ]:
362
354
formatter = mdates .DateFormatter (fmtstring )
363
- xdates = _tzinfo_dates ( dates , tzinfo = config [ 'tzinfo' ])
355
+ xdates = dates
364
356
else :
365
- formatter = IntegerIndexDateTimeFormatter (_tzinfo_dates ( dates ,tzinfo = config [ 'tzinfo' ]), fmtstring )
357
+ formatter = IntegerIndexDateTimeFormatter (dates , fmtstring )
366
358
xdates = np .arange (len (dates ))
367
359
368
360
if external_axes_mode :
You can’t perform that action at this time.
0 commit comments