Commit Graph

2383 Commits

Author SHA1 Message Date
danielhrisca
b575b56edf avoid calling setLabel repeatedly for AxisItem 2019-01-16 16:44:00 +02:00
MingZZZZZZZZ
3f93e30b31
Update Legend.py
add legend examples for line plot, bar graph and scatter plot.
2018-12-21 01:47:23 -05:00
MingZZZZZZZZ
7e09022e67
add legend for bar graph items 2018-12-21 01:45:00 -05:00
Luke Campagnola
2e69b9c5e6 Add changelog entry and credit for previous PR 2018-11-09 07:18:36 -08:00
Luke Campagnola
753c291bcd
Merge pull request #446 from WFrsh/develop
Included matplotlib 2.0 colormaps
2018-11-09 07:08:39 -08:00
Sebastian Pauka
482dd2ee33 Terminate FileForwarder thread on process end
Previously on windows the FileForwarder threads would
continue to run and eat up a lot of CPU once the child process
they were forwarding dies. This commit shuts down those threads
when the child process is killed.
2018-10-30 10:22:49 +11:00
Luke Campagnola
fdc2e53025
Merge pull request #780 from campagnola/fix-axis-drag
Revert "Fixed AxisMouse drag issue"
2018-10-29 12:33:44 -07:00
Luke Campagnola
4285785985 Revert "Fixed AxisMouse drag issue"
The original change breaks mouse dragging directly on the axis

This reverts commit 9bfdda06a6.
2018-10-29 10:59:11 -07:00
Tran Duy Hoa
16616c77b7
Fix bug in GLViewWidget.py
call debug.printExc() instead of pyqtgraph.debug.printExc()
2018-10-26 23:06:23 +02:00
2xB
0f149f38c2
No warning for arrays with zeros in logscale
NumPy evaluates log10(0) to -inf, so there is no reason to show the user a RuntimeWarning. Before, if visualizing data arrays containing zeros in logscale, a RuntimeWarning was shown.
2018-10-14 18:49:03 +02:00
Stefan Ecklebe
fc5e0cd9f4 Fixed issue #481 2018-10-12 15:32:23 +02:00
Luke Campagnola
e5e103de6d
Merge pull request #768 from campagnola/changelog-update
changelog all caught up
2018-10-11 16:13:00 +03:00
Luke Campagnola
e62889d095
Merge pull request #763 from hhslepicka/fix_downsampling
FIX: Protection over downsampling calculation.
2018-10-11 16:09:23 +03:00
Luke Campagnola
96b0f8601c
Merge pull request #765 from epanepucci/develop
import python2_3 for basestring
2018-10-11 15:58:15 +03:00
Luke Campagnola
56ed52b718 changelog all caught up 2018-10-11 13:36:02 +01:00
Jim Crowell
d261c2f0f2 fixed bug in graphicsItems/ImageItem.py: degenerate images (max==min) would raise exception in getHistogram() 2018-10-10 10:29:16 -04:00
Ezequiel (gac-esbmx) Panepucci
d550473ba7 import python2_3 for basestring 2018-10-09 09:37:04 +02:00
Billy Su
266b0d0b47 Update the installation document
* Add the method to directly install the latest commit or any branch
on the GitHub.
2018-10-08 10:59:05 +08:00
Hugo Slepicka
984eb5ed29 FIX: Protection over downsampling calculation. 2018-10-05 14:18:09 -07:00
Luke Campagnola
574c5f3a47
Merge pull request #565 from justengel/axis_mouse_drag
Fixed AxisItem mouse drag issue
2018-09-28 16:02:29 -07:00
Luke Campagnola
6b26245e50
Add explanatory comment 2018-09-28 16:02:14 -07:00
Luke Campagnola
efaf61f711
Merge pull request #541 from justengel/image_render_error
ImageItem render error if graph is too small.
2018-09-28 15:38:02 -07:00
Luke Campagnola
cce7a83e85
Merge pull request #530 from justengel/plot_item_update
Fixed issue where setData only updated opts if data is given
2018-09-28 15:35:27 -07:00
Luke Campagnola
a690ea41a0
Merge pull request #758 from campagnola/fix-osx-remote
Flush shared memory file before attempting to map
2018-09-11 08:54:15 -07:00
Luke Campagnola
839ad486f8 Flush shared memory file before attempting to map
This avoids the error "ValueError: mmap length is greater than file size"
on OSX. (see #730)
2018-09-11 07:14:28 -07:00
Luke Campagnola
9aaae8d5dc
Merge pull request #739 from campagnola/wheel-event-fix
Fix error in ViewBox wheelEvent when mouse has 2-axis wheel events
2018-07-30 11:46:43 -07:00
Luke Campagnola
f1b51027cc Fix error in ViewBox wheelEvent when mouse has 2-axis wheel events 2018-07-30 11:36:08 -07:00
Mikhail Terekhov
b13062f081 In PlotDataItem.clear() use corresponding curve.clear() and scatter.clear()
Otherwise when stepMode is True curve.setData([]) causes exception:
"len(X) must be len(Y)+1 ..."
2018-07-28 10:18:26 -04:00
Mikhail Terekhov
c238be004e add test case for the PlotDataItem.clear() in stepMode 2018-07-28 10:18:26 -04:00
Luke Campagnola
240889c460
Merge pull request #735 from campagnola/fix-exit-error
Fix exit error caused by callback invoked during Qt teardown
2018-07-26 09:37:47 -07:00
Luke Campagnola
6826e2615c Fix exit error caused by callback invoked during Qt teardown 2018-07-25 10:07:24 -07:00
Luke Campagnola
41d2bc03a0
Merge pull request #723 from klickverbot/scaled-ticks
AxisItem: Fix tick elision with self.scale set
2018-07-11 08:58:24 -07:00
David Nadlinger
fe7e1775da AxisItem: Fix tick elision with self.scale set
Previously, only the highest level ticks would be displayed
for e.g. scale = 1e3.
2018-07-11 15:31:29 +01:00
Luke Campagnola
a240766607
add pip/git install method to README 2018-07-10 16:14:59 -07:00
Luke Campagnola
ada79bffde
Merge pull request #718 from ales-erjavec/svg-export-exposed-rect
SVGExport: Initialize option.exposedRect for items that use it
2018-07-10 15:44:27 -07:00
Luke Campagnola
c3f612d6ca
Merge pull request #717 from campagnola/console-thread-exceptions
Make console handle exceptions from non-gui threads a little more carefully
2018-07-10 15:03:15 -07:00
Luke Campagnola
e99eb67677
Merge pull request #721 from campagnola/viewbox-wheel-fix
Viewbox wheel fix
2018-07-10 06:20:06 -07:00
Luke Campagnola
2884eef079 Add ViewBoxFeatures to example menu 2018-07-10 05:56:35 -07:00
Luke Campagnola
585390e16e fix: mouse wheel on viewbox leaves autorange unaffected if mouse is disabled for one axis 2018-07-10 05:23:53 -07:00
Luke Campagnola
809704ac45
Merge pull request #719 from campagnola/image-hover-example
Add image hover callback to imageAnalysis example
2018-07-07 12:17:11 -07:00
Luke Campagnola
f8efbec53f Add image hover callback to imageAnalysis example 2018-07-07 00:10:15 -07:00
Ales Erjavec
56950479f9 SVGExport: Initialize option.exposedRect for items that use it 2018-07-06 15:53:28 +02:00
Luke Campagnola
f3583ed338 Make console handle exceptions from non-gui threads a little more carefully 2018-07-03 13:43:28 -07:00
Luke Campagnola
3d3d0a2459
Merge pull request #715 from campagnola/file-dialog-fix
File dialog fix
2018-06-25 09:39:47 -07:00
Luke Campagnola
08349351da Fix QString handling 2018-06-22 17:31:58 -07:00
Luke Campagnola
3fd56eb195 Handle Qt4/5 API difference in filedialog 2018-06-22 17:26:31 -07:00
Luke Campagnola
c4a5ffa01c
Merge pull request #713 from campagnola/console-scrolling
Console scrolling
2018-06-20 13:13:23 -07:00
Luke Campagnola
b9f6a28884 Add ConsoleWidget.write(scrollToBottom) argument 2018-06-20 13:02:39 -07:00
Luke Campagnola
f2baf31d51 Fix console input up/down arrows
In some cases, pressing down past the end of the command history would not clear the input
2018-06-20 13:01:52 -07:00
Luke Campagnola
ca7d12d666
Merge pull request #712 from campagnola/filterwidget-update
avoid repeated signal emission in filterwidget
2018-06-19 08:43:51 -07:00