Skip to content

Commit 2aaac61

Browse files
committed
Add dark mode on dock widgets
1 parent 8dae422 commit 2aaac61

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

finplotWindow.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def createPlotWidgets(self):
3535

3636
# fin plot
3737
self.ax0, self.ax_rsi, self.ax_stochasticRsi, self.ax_stochastic, self.axPnL = fplt.create_plot_widget(master=self.dockArea, rows=5, init_zoom_periods=200)
38-
self.dockArea.axs = [self.ax0] # , self.ax_rsi, self.ax2, self.axPnL
38+
self.dockArea.axs = [self.ax0, self.ax_rsi, self.ax_stochasticRsi, self.ax_stochastic, self.axPnL] # , self.ax_rsi, self.ax2, self.axPnL
3939
self.dockChart.addWidget(self.ax0.ax_widget, 1, 0, 1, 1)
4040

4141
'''
@@ -50,10 +50,6 @@ def createPlotWidgets(self):
5050
# Ax Profit & Loss
5151
self.interface.strategyResultsUI.ResultsTabWidget.widget(1).layout().addWidget(self.axPnL.ax_widget)
5252

53-
self.ax_rsi.ax_widget.hide()
54-
self.ax_stochasticRsi.ax_widget.hide()
55-
self.ax_stochastic.ax_widget.hide()
56-
self.axPnL.ax_widget.hide()
5753
pass
5854

5955
def drawCandles(self):
@@ -331,10 +327,6 @@ def updateChart(self):
331327
if self.IndRsiActivated:
332328
self.rsi_indicator = rsi.Rsi(self.data)
333329
self.rsi_indicator.draw(self.ax_rsi)
334-
self.ax_rsi.ax_widget.show()
335-
else:
336-
self.ax_rsi.ax_widget.hide()
337-
pass
338330

339331
if self.IndStochasticActivated:
340332
pass

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy