Commit Graph

15 Commits

Author SHA1 Message Date
Kyle Sunden 6a59b7e5b5
Many unused import cleanups (#1935)
* Many unused import cleanups

Ignored some star imports, some vendored code in colorama, only looked within pyqtgraph the library, not e.g. examples

* SpinBox decimal imported with both import and from import
2021-07-31 07:35:23 -07:00
Ogi Moore c4a1cf11a1 Use clip_array or clip_scalar instead of np.clip
Significant performance issues have been identified with np.clip
and thus clip_array was created to speed up the operation.  In addition
clip_scalar was created to clip a scalar value between two other values
this commit replaces many uses of np.clip from operating on scalars to
using clip_scalar instead
2021-04-23 11:53:00 -07:00
Ogi Moore f8cefa6284 Use hypot method to avoid over/underflow errors
Use hypot instead of manual calculation
2021-04-23 11:53:00 -07:00
Kenneth Lyons a1064345d3 Disable paint in GLScatterPlotItem if it has no data 2021-02-06 15:31:54 -08:00
Kenneth Lyons faef56c3e7 Qulogic py3 fixes (#1073)
* py3k: Remove reduce calls.

* py3k: Remove compatibility sortList function.

Sorting by key has existed since Python 2.4.

* Remove unnecessary sys.path manipulation.

This file doesn't have any __main__ code to run anyway.

* Use context manager
2019-11-12 08:45:42 -08:00
Aikhjarto 8c137a1caf fix: circular texture was slightly off-center (#1012) 2019-09-13 22:12:23 -07:00
2xB 652ae9e64a Fix: GLScatterPlotItem and GLImageItem initializeGL only executed once 2019-08-15 02:41:51 +02:00
Fekete Imre ce704a1baa Fix issue #145
Disable textures after painting is finished.
2018-04-13 16:23:41 +02:00
John David Reaver 8f273f53ab Fix memory leak in GLScatterPlotItem
Fixes #103. If a ScatterPlotItem was removed from a plot and added
again, glGenTetures was called again unneccesarily. Each time it is
called, it eats up a little more space.
2014-10-15 06:16:40 -07:00
Luke Campagnola f30c1a59d1 Fixed GLScatterPlotItem to allow opaque spots 2014-05-08 22:37:08 -04:00
tommy3001 57c36a953d malformed Signal list of function setData 2014-02-15 11:26:24 +01:00
tommy3001 92d7bbe18e In list tables "**Arguments**", "Arguments:" changed to **Arguments:** 2014-02-03 21:13:10 +01:00
Luke Campagnola 7777240d89 exporters, multiprocess, opengl 2013-12-23 09:46:54 -05:00
Guillaume Poulin f2d0991102 Minor fixes for py3k 2013-07-04 05:52:16 +08:00
Luke Campagnola af59296231 Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -05:00