File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -205,11 +205,10 @@ def displayStrategyResults(self):
205
205
self .interface .displayPnL ( pd .DataFrame (pnl_data ) )
206
206
207
207
pass
208
-
208
+
209
209
def displayUI (self ):
210
210
self .interface .show ()
211
211
pass
212
-
213
212
214
213
def cashChanged (self , cashString ):
215
214
Original file line number Diff line number Diff line change @@ -276,14 +276,19 @@ def resetPlots(self):
276
276
# Entirely reset graph
277
277
if (hasattr (self ,"ax0" )):
278
278
self .ax0 .reset ()
279
- self .ax0 . overlay () .reset ()
279
+ # self.ax0.reset()
280
280
if (hasattr (self ,"ax1" )):
281
281
self .ax1 .reset ()
282
282
if (hasattr (self ,"ax2" )):
283
283
self .ax2 .reset ()
284
284
if (hasattr (self ,"axPnL" )):
285
285
self .axPnL .reset ()
286
286
287
+ # Reset overylays too
288
+ axs = fplt .overlay_axs
289
+ for ax_overlay in axs :
290
+ ax_overlay .reset ()
291
+
287
292
pass
288
293
289
294
def refreshChart (self ):
You can’t perform that action at this time.
0 commit comments