pyqtgraph/examples
shikishima-TasakiLab f13002b251
Add "GLTextItem" (#1776)
* Add GLTextItem

* Fixed DocString.

* Delete unnecessary function.

* Add `from .items.GLTextItem import *`

* Add an example.

* [Combines two `isinstance()` into one.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046120)

* [Combines two `isinstance()` into one.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046120)

* [The long code has been broken up into separate lines.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046234)

* [Moved `pos`, `color`, `text`, and `font` to the `__init__` method.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633047216)

* Add `import initExample` and fix `mkQApp().exec_()` to `pg.exec()` (https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046878, https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046781)

* Fix `pg.exec()` to `pg.mkQApp().exec()`

* Revert "Fix `pg.exec()` to `pg.mkQApp().exec()`"

This reverts commit 67d397d803.

* Remove type-hints.

* Fix `glColor4d(float(self.color[0]), float(self.color[1]), float(self.color[2]), float(self.color[3]))` to `glColor4d(*self.color)`

* Add `value = fn.glColor(value)`

* Remove debug print.

* Add GLGridItem and GLAxisItem

* Remove if-check for "color" argument

* Draw text without using GLUT.

* Divide the text position by the device pixel ratio

* Fixed bare exceptions to ValueError and TypeError.

* Add 'GLTextItem.py' to utils.py.

* Fixed a bare exception to ArgumentErrror.

* Add `__all__ = ['GLTextItem']`
2021-06-05 08:19:54 -07:00
..
cx_freeze update cx_freeze example and add a workaround for templates 2021-05-24 17:50:24 -03:00
optics Use np.pi or math.pi instead of just pi 2021-04-23 22:43:57 -07:00
py2exe Fix: avoid importing py3 module from pyqt when using py2 2014-04-03 13:33:16 -04:00
relativity change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
verlet_chain Fix verlet integration demo 2017-10-18 00:18:46 -07:00
__init__.py example app now works with Qt4 and Python2 again (#1302) 2020-10-19 11:51:12 -07:00
__main__.py Fix ExampleApp: Use pg module from directory when run without installation (#1432) 2020-11-09 14:57:01 -08:00
Arrow.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
BarGraphItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
beeswarm.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
CLIexample.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ColorBarItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ColorButton.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ColorGradientPlots.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
colorMaps.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ConsoleWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
contextMenu.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
crosshair.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
customGraphicsItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
CustomGraphItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
customPlot.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
DataSlicing.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
DataTreeWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
DateAxisItem_QtDesigner.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
DateAxisItem_QtDesigner.ui Date axis item (#1154) 2020-04-27 11:43:22 -07:00
DateAxisItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
designerExample.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
designerExample.ui Patch/window handling (#468) 2020-06-01 11:23:18 -07:00
DiffTreeWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
dockarea.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
Draw.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ErrorBarItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ExampleApp.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
exampleLoaderTemplate_pyqt5.py regenerate templates 2021-02-22 19:17:53 +08:00
exampleLoaderTemplate_pyqt6.py regenerate templates 2021-02-22 19:17:53 +08:00
exampleLoaderTemplate_pyside2.py regenerate templates 2021-02-22 19:17:53 +08:00
exampleLoaderTemplate_pyside6.py regenerate templates 2021-02-22 19:17:53 +08:00
exampleLoaderTemplate.ui remove graphics system combobox 2021-02-22 19:17:53 +08:00
FillBetweenItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
Flowchart.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
FlowchartCustomNode.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
fractal.py Revert Point.angle behavior change (#1806) 2021-05-27 08:51:06 -07:00
GLBarGraphItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLImageItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLIsosurface.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLLinePlotItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLMeshItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLScatterPlotItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLshaders.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLSurfacePlot.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLTextItem.py Add "GLTextItem" (#1776) 2021-06-05 08:19:54 -07:00
GLViewWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GLVolumeItem.py Do not attempt to avoid np.log(0), instead ignore the warning 2021-05-16 10:18:23 -07:00
GradientEditor.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GradientWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GraphicsLayout.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GraphicsScene.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
GraphItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
hdf5.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
histogram.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
HistogramLUT.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
imageAnalysis.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ImageItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ImageView.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
infiniteline_performance.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
InfiniteLine.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
initExample.py modify environment to choose binding 2021-02-22 18:13:49 +08:00
isocurve.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
JoystickButton.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
Legend.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
linkedViews.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
logAxis.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
LogPlotTest.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
MouseSelection.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
MultiplePlotAxes.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
multiplePlotSpeedTest.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
MultiPlotSpeedTest.py Have MultiPlotSpeedTest use skipFiniteCheck 2021-05-25 21:58:58 -07:00
MultiPlotWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
multiprocess.py Replace main stanza with PyQt6 compatable variant (#1645) 2021-03-22 11:17:12 -07:00
NonUniformImage.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
optics_demos.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
PanningPlot.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
parallelize.py Import from python2_3 for all uses of basestring, cmp, and xrange 2015-05-19 09:29:55 -04:00
parametertree.py Set minStep in dec stepping SpinBox example 2021-05-16 17:37:33 -04:00
PColorMeshItem.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
PlotAutoRange.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
PlotSpeedTest.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
Plotting.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
PlotWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ProgressDialog.py Fix windows hidpi (#1516) 2021-01-27 10:59:07 -08:00
relativity_demo.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
RemoteGraphicsView.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
RemoteSpeedTest.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ROIExamples.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ROItypes.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
RunExampleApp.py Clean up test files 2021-05-31 21:06:16 -07:00
ScaleBar.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ScatterPlot.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ScatterPlotSpeedTest.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ScatterPlotWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
scrollingPlots.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
SimplePlot.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
SpinBox.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
Symbols.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
syntax.py app.dark_mode => app.property('darkMode') 2021-02-18 19:02:18 +00:00
TableWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
template.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
test_examples.py Fix unraisable exception in test_examples 2021-05-31 21:06:16 -07:00
text.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
TreeWidget.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
utils.py Add "GLTextItem" (#1776) 2021-06-05 08:19:54 -07:00
verlet_chain_demo.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
VideoSpeedTest.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
VideoTemplate_pyqt5.py VideoSpeedTest.py : Add numba checkbox 2021-05-07 15:35:27 +08:00
VideoTemplate_pyqt6.py VideoSpeedTest.py : Add numba checkbox 2021-05-07 15:35:27 +08:00
VideoTemplate_pyside2.py VideoSpeedTest.py : Add numba checkbox 2021-05-07 15:35:27 +08:00
VideoTemplate_pyside6.py VideoSpeedTest.py : Add numba checkbox 2021-05-07 15:35:27 +08:00
VideoTemplate.ui VideoSpeedTest.py : Add numba checkbox 2021-05-07 15:35:27 +08:00
ViewBox.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ViewBoxFeatures.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00
ViewLimits.py change all examples to use pg.exec() 2021-05-14 06:16:21 +08:00