Hello Martin,
thank you for the help, it was very interesting and it helped me found what didn't work. This said, I don't know if it was an error on my part, or an error in pyqt, I'll explain briefly:
When setting borders ( self.graphWidget.ci.setBorder((0, 50, 100)) <- my piece of code, graphWidget being my GraphicsLayoutWidget
) it seems that these borders will stay on the widget after using the command line self.graphWidget.ci.clear(), thus cleaning the lines and axes, but leaving the square borders on the graph. Those squares didn't even resize when the program window was resized, although the new plots would as normal. They would stay static on the view.
I don't know if it is a bad manipulation on my part, but I wanted to inform you just in case. If you need more info you can contact me at this email.
Anyway, my program has continued its development thanks to your help, so thank you very much!
- Thomas