Search
452 results for “pyqtgraph”
-
@melissawm @jni @simon_brooke @hynek @napari
I build them for #PyQtGraph. You use the html builder with a little bit of (emphasis on little) custom css and the sphinx pydata theme looks amazing as a docset. I also disabled sidebars which makes for better viewing in dash.
The longest part was going through all the docs to identify areas that were problematic. I would occasionally identify oddities.
-
I love #pyqtgraph for 2D scientific and #dataviz #graphs in #python. And now I'm starting to really love #vtk for 3D.
It has a lot of the same #science adjacent type plotting. It works well with python. (And there's a #javascript #api but I haven't used it...yet). And it is *extremely fast*.
The only problem is that there's a lot to it and I don't really understand the workflow. (I feel like there's an extra layer. There's a "source", a "mapper", an "actor" and a "renderer". One of those seems superfluous.)
There are a lot of examples on their site and elsewhere. And there's a lot of documentation. But I haven't yet found a good combination tutorial that has worked examples that are also explained.
I really just have to use it more and get it into my head.
Fortunately, I have a weird #math/#geometry/#orbitalmechanics thing I want to try to solve (or at least visualize). Intersections of multiple ellipsoids and cones....
-
I love #pyqtgraph for 2D scientific and #dataviz #graphs in #python. And now I'm starting to really love #vtk for 3D.
It has a lot of the same #science adjacent type plotting. It works well with python. (And there's a #javascript #api but I haven't used it...yet). And it is *extremely fast*.
The only problem is that there's a lot to it and I don't really understand the workflow. (I feel like there's an extra layer. There's a "source", a "mapper", an "actor" and a "renderer". One of those seems superfluous.)
There are a lot of examples on their site and elsewhere. And there's a lot of documentation. But I haven't yet found a good combination tutorial that has worked examples that are also explained.
I really just have to use it more and get it into my head.
Fortunately, I have a weird #math/#geometry/#orbitalmechanics thing I want to try to solve (or at least visualize). Intersections of multiple ellipsoids and cones....
-
I love #pyqtgraph for 2D scientific and #dataviz #graphs in #python. And now I'm starting to really love #vtk for 3D.
It has a lot of the same #science adjacent type plotting. It works well with python. (And there's a #javascript #api but I haven't used it...yet). And it is *extremely fast*.
The only problem is that there's a lot to it and I don't really understand the workflow. (I feel like there's an extra layer. There's a "source", a "mapper", an "actor" and a "renderer". One of those seems superfluous.)
There are a lot of examples on their site and elsewhere. And there's a lot of documentation. But I haven't yet found a good combination tutorial that has worked examples that are also explained.
I really just have to use it more and get it into my head.
Fortunately, I have a weird #math/#geometry/#orbitalmechanics thing I want to try to solve (or at least visualize). Intersections of multiple ellipsoids and cones....
-
I love #pyqtgraph for 2D scientific and #dataviz #graphs in #python. And now I'm starting to really love #vtk for 3D.
It has a lot of the same #science adjacent type plotting. It works well with python. (And there's a #javascript #api but I haven't used it...yet). And it is *extremely fast*.
The only problem is that there's a lot to it and I don't really understand the workflow. (I feel like there's an extra layer. There's a "source", a "mapper", an "actor" and a "renderer". One of those seems superfluous.)
There are a lot of examples on their site and elsewhere. And there's a lot of documentation. But I haven't yet found a good combination tutorial that has worked examples that are also explained.
I really just have to use it more and get it into my head.
Fortunately, I have a weird #math/#geometry/#orbitalmechanics thing I want to try to solve (or at least visualize). Intersections of multiple ellipsoids and cones....
-
I have known about distutils going away for some time; but yet I somehow still am getting caught flat footed as I didn't realize #PyQtGraph made use of it for some of it's more ... esoteric setup.py commands (yes python setup.py <whatever> has long been deprecated ... I know I know).
-
Upcoming changes will involve removing PySide2 support (No plans to remove PyQt5 support for the time being).
If you are seeing this, have some #OpenGL programming experience and would like to contribute to #PyQtGraph, please reach out!
-
@shapr @ibboard #PyQtGraph even has an “examples application” (run by python -m pyqtgraph.examples). Main part of the window is a text area showing the code, (its editable so users can tinker) on the left is a tree view of a bunch of different examples. There is a run button. Overwhelming majorly of the feedback I’ve gotten is how helpful that examples application is. Wish it was a design pattern more prevalent.
-
@pathunstrom @glyph 💯💯💯
For this reason I added a “used by” section to the #PyQtGraph readme, and when I am contacted outside of GitHub by a user, I encourage them to make a PR adding their project(s) to that section. -
@glob_god FWIW the next release is having some major performance improvements on 3D plots (one of the regular contributors took it upon himself to learn some OpenGL and made the library much better for it).
#PyQtGraph definitely seems to have a niche in the experimental science/engineering fields for sure.
How did you come across the library to begin with?
-
@melissawm given how long it’s been since the first season, I may re-watch that first. … that said, I’m on the verge of a #PyQtGraph release that I really should get out the door
-
@mcc I maintain #PyQtGraph ; and I can’t tell you how many issues I identify if I try and pretend like I am a complete newcomer, don’t look at past examples but look at the docs and try and plow forward.
-
Next minor task since I'm waiting on feedback for #PyQtGraph changes I'm trying to make; try and implement Custom sections in numpydoc (see: https://github.com/numpy/numpydoc/issues/202 ).
I should note, I have no idea how sphinx extensions work, but this feature would be very useful to #PyQtGraph and judging by the number of linked issues, quite a few other libraries.
-
Do you use #PyQtGraph with conda versions of #PySide bindings? Then this issue is very relevant to you. Please upvote:
https://bugreports.qt.io/plugins/servlet/mobile#issue/PYSIDE-3031
-
The next release of #PyQtGraph will likely be the last release to support PySide2. If this will impact you negatively, please reach out.
-
We have recently merged into the repo a new on of #OpenGL related improvements, mostly for 3D, but PColorMeshItem got some love too. If you use #PyQtGraph for 3D visualization, we’d love to hear back from you.
-
Every time I update the sphinx theme for #PyQtGraph I get a different CSS coloring issue.
For the record, I'm throwing no shade at the theme maintainers, it's not their fault that I'm probably modifying the underlying CSS in a way that is so bizarre that nobody that has any resemblance of knowing what they're doing would do 😂
-
@davidr FYI #PyQtGraph has an issue with thick lines (>1px) and partial alpha. If the QPen instance has partial alpha, we can't use our fast "drawLines" codepath, and are stuck with "drawPath”, which performs _terribly_ with >1px lines. If you're plotting static plots, you may not notice, but if you're doing anything that updates frequently, you're likely to have problems.
-
So. I want to #pyqtgraph plot some colored items with medium alphas and then overlap them to produce the usual kindergarten color wheel results.
But it turns out that #pyqt only supports compositing in the RGB #color space.
In fact, the Wikipedia article makes it sound like alpha blending is only even *defined* for RGB. Which I guess makes sense for speed reasons, but I'd still expect some way to put in a callback or whatever for a custom mode.
I guess what I'll do it do all the HSV and compositing work in a #python #numpy array and the convert to an RGB image and display it that way...?
Unless there's a better idea?
-
@villares if you’re wanting live plot updates that’s sort of #PyQtGraph ‘s thing. I will freely admit that pyqtgraph does not have the plotting customization that matplotlib does but it’s very straight forward to integrate into a Qt application.
-
W H E W i finally did it
- created my own polar graph in #pyqtgraph
- created a subclass that maps azimuth to theta (easy) and elevation to R (not hard, but not necessarily obvious for stereographic projection)
- used that to re-implement the faulty graph I made like....6 years ago? also had to find and rewrite a bunch of code to use a great-circle distance from a point rather than azimuth/elevation ranges #python #space #math
The original toot in this chain is from 1/3, so that's exactly two weeks of A B S O L U T E P A N I C on my part
I mean, it was my bug. And it's kind of a dumb bug. And it has been keeping me from my regular #coding and also from doing a good job as a #mentor for the super-fresh new-hire
But it's really #adhd #rsd perfectionism/terror that drove me for these two weeks. I could barely think straight. I should probably note this at my adhd evaluation on 1/30.
-
When you have a holiday and decide to merge ~13 PRs in #PyQtGraph
My apologies to the contributors that waited quite some time for feedback or the PR to be merged.
-
Lastly, for #PyQtGraph developers, we now have stub files for getting auto-completion when using pyqtgraph.Qt, which is PyQtGraph's Qt abstraction layer. This layer is not intended to be used outside of #PyQtGraph, if you want a Qt abstraction layer for your project, we recommend the #QtPy library.
We have had a stub file there for a while, but it only worked in PyCharm, the stubs now work with pyright and PyCharm now.
-
#PyQtGraph 0.13.5 is out! While not our largest release, it has something for everyone! Note, this release is the last to support #Python
3.9 and #NumPy 1.22.First, ImageItem got another substantial performance boost, especially if you're using #numba but there is a significant boost for #NumPy users as well.
A ColorMapMenu was added to ColorBarItem, allowing for users to be able to change color maps interactively instead of programmatically.
-
@fluiddyn The #PIV image case would be a good one for #PyQtGraph, given our origins of working with 2D slices of “3D images". Please don't hesitate to reach out if you could use assistance with plotting or trying to improve performance.
-
@pyqtgraph
Another place where we have actually used #PyQtGraph is in #fluidimage to compare #PIV images and velocity fields.https://foss.heptapod.net/fluiddyn/fluidimage/-/tree/branch/default/fluidimage/gui
-
I love #pyqtgraph for 2D scientific and #dataviz #graphs in #python. And now I'm starting to really love #vtk for 3D.
It has a lot of the same #science adjacent type plotting. It works well with python. (And there's a #javascript #api but I haven't used it...yet). And it is *extremely fast*.
The only problem is that there's a lot to it and I don't really understand the workflow. (I feel like there's an extra layer. There's a "source", a "mapper", an "actor" and a "renderer". One of those seems superfluous.)
There are a lot of examples on their site and elsewhere. And there's a lot of documentation. But I haven't yet found a good combination tutorial that has worked examples that are also explained.
I really just have to use it more and get it into my head.
Fortunately, I have a weird #math/#geometry/#orbitalmechanics thing I want to try to solve (or at least visualize). Intersections of multiple ellipsoids and cones....
-
Welp. I spent WAAAAYYYYY too long computing zoomed ticks/labels on my custom #python #pyqtgraph polar plots
But at least I'm not doing a tremendously great job and the code is incomprehensible!
To be fair, I looked at some other graphing packages and none of them really worked how you'd expect in all cases.
Desmos has the same behavior as mine as 0,0 crosses over the viewable area.
Both Desmos and another only add ticks in the radial dimension past a certain point.
That seems not helpful, so I'm beating the pros! And I shoved my last remaining error in a try/except. So....done?
-
A while ago I created my own polar #graph (θ,r but also built az,el on top of that) inside the excellent #pyqtgraph (#python)
I also implemented a spaced tick computation similar to the one it uses. However, I didn't make it work in zoom for lack of time
I got a bug report about how the ticks/grids/labels "disappear" during zoom (i.e. stay at a larger scale while the zoom goes inside) so I thought I'd just fix that
This turns out to be non-trivial. Or at least I can't think of a simple way to do it
I was getting the xy coords of the corners of the zoombox and computing the θ,r to figure out where I was. That doesn't really work, tho. Imagine the zoom box just to the right of 0,0: θ->0,180. Now imagine it just barely containing 0,0: θ->0,360.
I think I need to measure angles from 0,0 but that means....uh....I need a whiteboard and some rubber duckies. I wish my nerd kids were awake at this hour...
-
I'm on this project where we want to do #realtime #radar but are sort of starting with nothing (apart from world-class radar transmitters, receivers and expertise...)
One very smart but non-#software person wrote a bunch of good #signalprocessing #code and some "gets the job done" #gui code
Or it did until we went higher bandwidth
Last week I rewrote all the non-sigproc parts into #pyqt and #pyqtgraph. Today I benchmarked both.
Exactly the same speed....except pyqtgraph is
THREE ORDERS OF MAGNITUDE
faster than #matplotlib
#python peeps, please hear me. mpl has its place and uses. High data rate animated displays is not that place.