Skip to content

Commit 530f189

Browse files
author
michael xu
committed
fix bug
1 parent 8edb7db commit 530f189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

finplotWindow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,10 @@ def _date_str2x(self, ax, date_str):
390390
print(date_str)
391391

392392
if ax.getAxis('bottom').vb.datasrc is None:
393-
394393
df = self.last_ax_data_xtick
395394
else:
396395
df = ax.getAxis('bottom').vb.datasrc.df
396+
self.last_ax_data_xtick = df
397397

398398
dftime = np.array(df.iloc[:, 0])
399399
lsttime = dftime.tolist()

0 commit comments

Comments
 (0)