diff --git a/utils/gui/pyqt/main_window/MainWindow.py b/utils/gui/pyqt/main_window/MainWindow.py index 7a5ff9c741460eb532513bbcad0f7108fa733495..d9caf3d1d838cbd71275e6498bd39ebb268fa3e0 100644 --- a/utils/gui/pyqt/main_window/MainWindow.py +++ b/utils/gui/pyqt/main_window/MainWindow.py @@ -231,10 +231,10 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): graph_type = slot[1] if graph_type == "Mesh3D": current_slot.addWidget(render3D(obj,False).native) - if graph_type == "CoupeX": - current_slot.addWidget(cross_section(obj.get_x(),obj.get_z(),"Coupe X",False).native) - if graph_type == "CoupeY": - current_slot.addWidget(cross_section(obj.get_y(),obj.get_z(),"Coupe Y",False).native) + if graph_type == "CoupeXZ": + current_slot.addWidget(cross_section(obj.get_x(),obj.get_z(),"Coupe XZ",False).native) + if graph_type == "CoupeYZ": + current_slot.addWidget(cross_section(obj.get_y(),obj.get_z(),"Coupe YZ",False).native) if graph_type == "EvolutionRayon": current_slot.addWidget(render2D(list(zip(discrete_data['Z moy (en mm)'],discrete_data['Rayon moyen (en mm)'])),"Evolution du rayon moyen",False).native)