mirror of
https://github.com/Athemis/PyDSF.git
synced 2025-07-03 18:51:07 +00:00
Coding style
This commit is contained in:
parent
86b5090b49
commit
11e480037a
2 changed files with 54 additions and 26 deletions
|
@ -20,7 +20,10 @@ from .Ui_mainwindow import Ui_MainWindow
|
|||
import ui.libs.pyqtgraph as pg
|
||||
from pydsf import Experiment, PlotResults
|
||||
|
||||
pg.setConfigOptions(antialias=True)
|
||||
# pg.setConfigOptions(antialias=True)
|
||||
# Switch to using white background and black foreground
|
||||
pg.setConfigOption('background', 'w')
|
||||
pg.setConfigOption('foreground', 'k')
|
||||
|
||||
VERSION = "1.0"
|
||||
|
||||
|
@ -157,7 +160,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||
def generate_plot_tab(self, name):
|
||||
tab = QScrollArea()
|
||||
tab.setObjectName(name)
|
||||
tab.setWidgetResizable(True)
|
||||
tab.setWidgetResizable(False)
|
||||
return tab
|
||||
|
||||
def generate_plate_tabs(self, plate):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue