PyQt5 plot on Matplotlib: PyQt5 tutorial - Part 07

preview_player
Показать описание
The video is part 07 of PyQt5 GUI learning series. It contains instructions to make Drag and Drop based csv file data plotting application. All columns of the data will be plotted and the header of each column will be labeled in the legend. The legend is draggable. Various themes are added to the Combo box widget. A user can select any theme for the plot. In this way, you will learn how to use PyQt5 designer to make GUI with combo box, properly selecting horizontal and vertical spacing, and the layouts. This application is very useful in generating rapid plots for various time series data as well. In addition to that we use super() function to parent the previous main window class on this new class and added more functionality to it.

Python version: 3.6.5
Matplotlib version: 3.2.1

Рекомендации по теме
Комментарии
Автор

great series of videos! One more to round it up: Is it possible to create a 'data cursor' to display the CSV values near the mouse location? would be a very useful add-on in my opinion. thanks

ThomasHaberkorn
Автор

Is there a way to make a GUI or webapp that allows the user to checkbox which series in the csv to plot? And have the plot automatically add legends/scale?

bennguyen
Автор

How would you keep the internal dimensions the same as a sheet of paper? An A4 sheet is 11.7in x 8.3in. The matplotlib default dpi is 100. How do you make the programs internal (saved image) pixels the same ratio - or exactly 1170px x 830px? Probably not the right forum for this questions, but oh well.

duncan-mcrae
Автор

hi,
the question, related to both (part 6 and 7) videos, when you load the last csv in list"Test Result" your x not takes the data from correct column which is date, it drawn as a line in the plot bottom, thus the question - how to invite the axises assignment in menu, let say into 'curves' tab or somewhere else? It is useful feature due to auto assignment is not always correct especially when you use time dependent data and need to choose at least x axis as time. thanks.
one more things, how to add let say checkboxes to be able switch on/off curves on plot? thanks

interprimus