renamed graphs

This commit is contained in:
Djalim Simaila 2023-04-27 15:22:32 +02:00
parent 31c8820581
commit 39e6f494bd

View File

@ -33,7 +33,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
"Mesh3D", "Mesh3D",
"Coupe XZ", "Coupe XZ",
"Coupe YZ", "Coupe YZ",
"EvolutionRayon", "Evolution du rayon moyen",
] ]
self.obj = None self.obj = None
@ -252,7 +252,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
current_slot.addWidget(cross_section(obj.get_x(),obj.get_z(),"Coupe XZ",False).native) current_slot.addWidget(cross_section(obj.get_x(),obj.get_z(),"Coupe XZ",False).native)
if graph_type == "Coupe YZ": if graph_type == "Coupe YZ":
current_slot.addWidget(cross_section(obj.get_y(),obj.get_z(),"Coupe YZ",False).native) current_slot.addWidget(cross_section(obj.get_y(),obj.get_z(),"Coupe YZ",False).native)
if graph_type == "EvolutionRayon": if graph_type == "Evolution du rayon moyen":
current_slot.addWidget(render2D(list(zip(discrete_data['Z moy (en mm)'],discrete_data['Rayon moyen (en mm)'])),"Evolution du rayon moyen",False).native) current_slot.addWidget(render2D(list(zip(discrete_data['Z moy (en mm)'],discrete_data['Rayon moyen (en mm)'])),"Evolution du rayon moyen",False).native)
def clear_graphs(self): def clear_graphs(self):