Relative Content

Tag Archive for pythonpyqtgraph

Plot sparse matrix in Pyqtgraph

I have a large sparse matrix and would like to plot it using pyqtgraph. At the moment I am just converting the matrix into a full matrix with the obvious drawback of large memory consumption. Is there a more elegant way of plotting a sparse 2D array using pyqtgraph?

Plot sparse matrix in Pyqtgraph

I have a large sparse matrix and would like to plot it using pyqtgraph. At the moment I am just converting the matrix into a full matrix with the obvious drawback of large memory consumption. Is there a more elegant way of plotting a sparse 2D array using pyqtgraph?

pyqtgraph: Elegant way to remove a plot from GraphicsLayoutWidget?

I am trying to programmatically add and remove plots to GraphicsLayoutWidget. Adding works as expected via addPlot(row, col) (col is zero for me). Unfortunately there is no removePlot function (which I find odd!), so I am trying to use removeItems(plot). This does not seem to work, though.