ui changes, formatting

This commit is contained in:
WorldTeacher
2024-06-05 15:39:55 +02:00
parent 98849f22a0
commit a56c70a8b4
26 changed files with 1163 additions and 402 deletions

View File

@@ -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)

View File

@@ -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}