pijyoi
pijyoi
Adapted example from https://matplotlib.org/stable/gallery/images_contours_and_fields/image_nonuniform.html to show that provided coords are not the drawn polygon centers ```python import pyqtgraph as pg from pyqtgraph.graphicsItems.NonUniformImage import NonUniformImage import numpy as np pg.mkQApp() pw...
If I were to implement `enableAutoLevels` as a keyword argument for `ImageItem` to follow `PColorMeshItem`'s API to allow setting during object instantiation, the API becomes weird for `ImageItem`. `ImageItem` has...
Perhaps `enableAutoLevels` should be named as `autoLevels`. This is consistent with the rest of the keyword arguments. Then in `setImage`, if `autoLevels` is present as a keyword argument, it will...
I have reworked things to be more consistent with the API of `ImageItem` itself. If the user wants to instantiate `ImageItem` with `autoLevels=False`, 1) if the data type is float,...
The lines that make a `CurveArrow` different from a `CurvePoint`. If you comment them out, the text shows up. https://github.com/pyqtgraph/pyqtgraph/blob/4de3bf99f6ff678cf4f16a65a46d14f26982f88b/pyqtgraph/graphicsItems/CurvePoint.py#L113-L116 From what I understand, their purpose is to make the...
I have tried to mimic your environment as much as possible, but I am only getting the "Expected behavior" image that you posted. ```console (py310_pyside623) $ head -1 /etc/os-release PRETTY_NAME="Ubuntu...
#3055 implements non-finite handling for `connect="all"` and `connect="finite"`, so it should fix your issue. I, unfortunately, am not able to confirm it myself as I noticed that on my systems,...
Reference: https://doc.qt.io/qt-6/qopenglwidget.html#context-sharing "When multiple QOpenGLWidgets are added as children to the same top-level widget, their contexts will share with each other. **_This does not apply for QOpenGLWidget instances that belong...
The colormap loaded by `pg.colormap.get("viridis")` actually has 256 stops. It is the squashed over-painting of these 256 ticks that results in the appearance of a black background.
The gradients in `GradientEditorItem` pre-date the colormaps stored in `pyqtgraph/colors/maps`. The former date back to 2012, while the latter are a fairly recent addition (2021/06). Except for `GradientEditorItem`, most `GraphicsItem`s...