ui changes, formatting
This commit is contained in:
@@ -63,7 +63,6 @@ class Ui_Form(object):
|
||||
font = QtGui.QFont()
|
||||
font.setPointSize(10)
|
||||
font.setBold(True)
|
||||
font.setItal # ic(False)
|
||||
font.setUnderline(False)
|
||||
font.setWeight(75)
|
||||
font.setKerning(True)
|
||||
|
||||
@@ -110,7 +110,7 @@ class DataGraph(QtWidgets.QWidget):
|
||||
|
||||
def generateMissingSemesters(self, data: dict[list]):
|
||||
# join the data into a single dict with x values as key and y values as value
|
||||
tmp_data = dict(zip(data["x"], data["y"]))
|
||||
tmp_data = dict(zip(data["x"], data["y"], strict=False))
|
||||
# split into dicts based on SoSe and WiSe
|
||||
SoSe_data = {k: v for k, v in tmp_data.items() if "SoSe" in k}
|
||||
WiSe_data = {k: v for k, v in tmp_data.items() if "WiSe" in k}
|
||||
|
||||
Reference in New Issue
Block a user