Skip to main content

Questions tagged [pyqtgraph]

High-performance scientific graphics for PyQt.

0 votes
0 answers
16 views

Customizing Y-Axis values in pyqtgraph.ImageItem

I was wondering if it is possible to seek some help on how to customize the y-axis values when plotting an image with ImageItem. I have a vector for y-axis values (frequencies) that are not linearly ...
faith76's user avatar
  • 11
0 votes
0 answers
25 views

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 ...
emma's user avatar
  • 315
0 votes
0 answers
15 views

Issue with Draggable Curve Segment and Y-Axis Alignment in PyQt5 PlotWidget

I have been struggling with a problem for about a month. I have used ChatGPT-4o during this time, but it hasn't provided a satisfactory solution. The issue is as follows: When a user clicks on a part ...
negar's user avatar
  • 9
2 votes
1 answer
27 views

How to set the default colour of a PyQtGraph ImageView's Histogram LUT?

PyQtGraph's ImageView widget includes a histogram with: a moveable region that defines dark and light levels. as well as the ability to edit a colour gradient. These two features allow users to edit/...
Kyle F. Hartzenberg's user avatar
0 votes
1 answer
44 views

How to deselect curve when clicking on background in pyqtgraph

I try to deselect a curve by clicking on the background in a pyqtgraph. So when I click on a curve, it is selecting it and when I click on the background or the curve again, it should deselect it. If ...
Souleater's user avatar
1 vote
0 answers
42 views

How to setup light source position and shading: with Pyqtgraph: GLMeshItem?

I am using pyqtgraph.opengl for graphics and display of STL files on my UI. I am using phong shading technique called 'shaded' param with pyqtgraph.opengl.GLMeshItem API. But I am having a dark color ...
Nagarjun Vinukonda's user avatar
0 votes
0 answers
29 views

Whenever i changing the widget i am facing the issue of delay in overall performance and user interface while using serial COM

I'm using this PyQt5 code on the Raspberry Pi 4. When I run the code, I receive and plot analog values on the plot_widget via serial communication. If I change the mode or widget, and then attach the ...
Thiru .N's user avatar
0 votes
0 answers
21 views

Make a live plotter with pyqtgraph with clear the plott bevor with a black distance to the plott bevor

I want to plott live data with the pyqtgraph. This is a minimal code sample: from random import randint import pyqtgraph as pg from PyQt5 import QtCore, QtWidgets class MainWindow(QtWidgets....
Maltura's user avatar
0 votes
0 answers
12 views

pyqtgraph - using setYLink does not align plots Y axis

I am using self.vp_plot.setYLink(self.main_plot) however the axis values are not lining up even though the y axis is in fact linked on mouse drag. This happens if setting a title on one of the plots ...
BAR's user avatar
  • 16.7k
0 votes
0 answers
15 views

Align Y axis start for subplots in pyqtgraph

I want to align the line indicating the start of the Y axis. As you can see in the image the middle plot is out of line with the top and bottom plot. Apparently because they take up varying amount ...
BAR's user avatar
  • 16.7k
0 votes
1 answer
42 views

PyQtGraph: Retrieve size of GLTextItem

I'm using pyqtgraph to plot radar data (in 2D and 3D) using a GLViewWidget. Adding and visualizing the data in 2D and 3D works well. I also added text labels using GLTextItem, but they are a bit ...
Schwefelsaeure's user avatar
-1 votes
0 answers
40 views

Realtime plotting using PyQtGraph for excessively huge amount of serial data

I am trying to plot serial data that is voltage and current obtained from arduino using python's library PyQt using the graph widget - PlotWidget from PyQtGraph in real time. So, data is continuously ...
Rishabh Gupta's user avatar
0 votes
1 answer
37 views

Puffer data for live-plotting via pyqtgraph

I have an dataframe, i import this dataframe in an python modul and then i plott them live. Each dataframe has 100 numbers. For this i use pyqtgraph: def update_plot_data(self): from ...
tenebris in kux's user avatar
-1 votes
1 answer
53 views

Matplotlib to pyqtgraph

Does anyone have a converter that takes working plots created with matplotlib and produce a reasonable equivalent in pyqtgraph? Seems like it should be possible. It would save me a lot of time. I'm ...
Ed Schneider's user avatar
2 votes
0 answers
173 views

PySide6/PyQtGraph real-time plotting of sensor data

I am creating PySide6 app and I need to plot a vast amount of sensor data. The aim is that user has the feeling that the system is working real-time-ish. For example, if they tap a table next to an ...
Piotr Herbut's user avatar

15 30 50 per page
1
2 3 4 5
68