Search
706 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).
-
#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
-
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.
-
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
-
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.
-
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.
-
Consulting #pyqtgraph to determine where it puts x, y, z axes from #python #numpy vectors and comparing that with conventional #GeometricAlgebra basis vectors e1, e2, e3 I think I have my coordinate system straightened out
There's an #algebra trick to turn component bivectors into a single #bivector. Trick has two singularities (no e13 component and then either has or hasn't e23)
I either covered both those cases or hacked it until it didn't crash, I'm not 100% sure...
Now to prettify.
-
I bought a heart rate monitor strap for on the treadmill and...oops, I got a new #adhd #hyoerfixation...on #medical #datascience
The app shows a "#poincare plot". That is a cardiac-specific term for a more general #math concept for investigating cyclical data. Maybe good for some of the #satellite #orbit stuff I've been doing!
Meanwhile, the actual use here is for "heart rate variability" which is the latest mostly-woo #health fad
But a great excuse to learn #ble and practice #pyqtgraph
-
Anyone fancy trying to get https://codeberg.org/eclexic/swipe-o-scope to build as a flatpak? That way I can steal the build script and put it on flathub.
The problem I ran into, that doesn't fit my tight timetable, was that pyqtgraph isn't supported by the pyside6 baseapp... because the kde sdk doesn't support it! So, to fix it, you would have to bother the maintainers of 2 projects. First, the kde people, and then the person that maintains pyside6 baseapp.
Anyway, if anyone feels up to it, I would be greatful!
-
Prompt: Black on black.
(I deliberately skipped Prompt 3, "Exactly 42 lines of code." which seemed both too constricting and not constricting enough.)