File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,11 +185,11 @@ def plot(
185185 Additional arguments passed to matplotlib `plot` or `fill_between`.
186186 Useful arguments include `color`, `lw`, and `marker`.
187187 """
188- if not None and not (isinstance (start_time , Timestamp )):
189- raise TypeError (f"start time is of type { type (start_time )} \
188+ if start_time is not None and not (isinstance (start_time , Timestamp )):
189+ raise TypeError (f"Start time is of type { type (start_time )} . \
190190 It must be of of type Pandas Timestamp." )
191- if not None and not (isinstance (end_time , Timestamp )):
192- raise TypeError (f"end time is of type { type (end_time )} \
191+ if end_time is not None and not (isinstance (end_time , Timestamp )):
192+ raise TypeError (f"End time is of type { type (end_time )} . \
193193 It must be of of type Pandas Timestamp." )
194194
195195 df = self .data
You can’t perform that action at this time.
0 commit comments