plotpystack / guiqwt Goto Github PK
View Code? Open in Web Editor NEWEfficient 2D plotting Python library based on PythonQwt
Home Page: https://pypi.python.org/pypi/guiqwt
License: Other
Efficient 2D plotting Python library based on PythonQwt
Home Page: https://pypi.python.org/pypi/guiqwt
License: Other
Hello,
Will testing out application we found a problem when changing the contrast.
You can reproduce the problem with the image_plot_tools test.
Juste start the test and activate the contrast tool.
then change the contrast and you will see that the plot is shacking.
Cheers
when trying contrast.py example with latest python-qwt-0.2.0, I get:
RuntimeError: argument numPoints is not implemented in `python-qwt`
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=28
See here: https://code.google.com/p/spyderlib/issues/detail?id=1021
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=58
Reported by Whiskeypistols, Oct 22, 2013
What steps will reproduce the problem?
def create_window():
win = ImageDialog(edit=False, toolbar=True, wintitle="Cross sections test",options=dict(show_xsection=True, show_ysection=True))
plot = win.get_plot()
plot.set_axis_direction('left', False)
win.resize(600, 600)
return win
What is the expected output? What do you see instead?
The x cross section should update but it doesn't, only the y cross section does.
What version of the product are you using? On what operating system?
guidata: 1.4.0
guiqwt: 2.1.5
Please provide any additional information below.
I found the bug, the modified get_x_plot_section() is below.
The x cross section now updates with "Per Image" Enabled and Disabled.
def get_plot_x_section(obj, apply_lut=False):
"""
Return plot cross section along x-axis,
at the y value defined by 'obj', a Marker/AnnotatedPoint object
"""
_x0, y0 = get_object_coordinates(obj)
plot = obj.plot()
xmap = plot.canvasMap(plot.X_BOTTOM)
xc0, xc1 = xmap.p1(), xmap.p2()
_xc0, yc0 = obj.axes_to_canvas(0, y0)
if plot.get_axis_direction("left"):
yc1 = yc0+1
else:
#was yc1 = yc0-1
yc1 = yc0 #changed
yc0 = yc1 - 1 #changed
try:
data = get_image_data(plot, QPoint(xc0, yc0), QPoint(xc1, yc1), apply_lut=apply_lut)
except (ValueError, ZeroDivisionError, TypeError):
return np.array([]), np.array([])
y = data.mean(axis=0)
x0, _y0 = obj.canvas_to_axes(QPoint(xc0, yc0))
x1, _y1 = obj.canvas_to_axes(QPoint(xc1, yc1))
x = np.linspace(x0, x1, len(y))
return x, y
picca@mordor:/Debian/guiqwt/guiqwt$ debuildb3-1~exp1
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: paquet source guiqwt
dpkg-buildpackage: version source 2.4.0
dpkg-buildpackage: distribution source experimental
dpkg-buildpackage: source changé par Picca Frédéric-Emmanuel [email protected]
dpkg-source --before-build guiqwt
dpkg-buildpackage: architecture hôte i386
dpkg-source: info: utilisation des options depuis guiqwt/debian/source/local-options : --unapply-patches
fakeroot debian/rules clean
dh clean --with python2,python3,sphinxdoc --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
Traceback (most recent call last):
File "setup.py", line 102, in
if _bld and 'mingw32' in _bld.get('compiler'):
TypeError: argument of type 'NoneType' is not iterable
E: pybuild pybuild:262: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 2.7 --dir . returned exit code 13
maybe it's pillow 3.0.0 fault, maybe not ?
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\guiqwt\tests\transform.py", line 168, in <module>
build_image(items)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\guiqwt\tests\transform.py", line 139, in build_image
save_image("test1.png", dest)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\guiqwt\tests\transform.py", line 131, in save_image
io.imwrite(name+".u8.png", data, dtype=np.uint8, max_range=True)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\guiqwt\io.py", line 395, in imwrite
iohandler.get_writefunc(ext)(fname, arr, **kwargs)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\guiqwt\io.py", line 226, in _imwrite_pil
img = PIL.Image.fromarray(arr, mode)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\PIL\Image.py", line 2163, in fromarray
return frombuffer(mode, size, obj, "raw", rawmode, 0, 1)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\PIL\Image.py", line 2113, in frombuffer
return frombytes(mode, size, data, decoder_name, args)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\PIL\Image.py", line 2047, in frombytes
im.frombytes(data, decoder_name, args)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\PIL\Image.py", line 731, in frombytes
raise ValueError("not enough image data")
ValueError: not enough image data
...and possibly every other item type?
Hello,
I am testing on of our application with the new guiqwt, but I get this error message.
Using experimental 'pure Python' qwt API
Traceback (most recent call last):
File "/home/experiences/sixs/com-sixs/Fitnxs/Fitnxs3.2.py", line 21, in
from guiqwt.signals import (SIG_ACTIVE_ITEM_CHANGED,SIG_START_TRACKING,
ImportError: cannot import name SIG_ACTIVE_ITEM_CHANGED
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=10
Reported by stefan.reinsberg, Apr 7, 2011
What steps will reproduce the problem?
What is the expected output? What do you see instead?
It should zoom in maybe taking the longer of the two sides of the zoom rectangle as an indication for the desired zoom factor but maintain the aspect ratio. Instead, it will zoom to the area asked for ignoring the current aspect ratio. The behaviour is deterministic but not what I expect - maybe it's me? One can go back to the desired aspect ratio by right clicking, Aspect Ratio/Edit.../OK and pressing OK.
What version of the product are you using? On what operating system?
guiqwt version = '2.0.8.1' on ubuntu
Please provide any additional information below.
Bizarrely, even on first startup the aspect ratio has been fiddle with and comes up as 0.972 (current) rather than 1.
Apr 7, 2011
stefan.reinsberg
confirmed in version 2.1.0 as well. I just realized Pierre had updated this recently so I upgraded and tried again. Man - I'm constantly in awe with Pierre's output. First I discovered spyder and now guiqwt, exactly what the doctor ordered... Thanks for all your good work.
Apr 11, 2011
Project Member pierre.raybaut
Thanks a lot for your encouragements!
Regarding this aspect ratio issue, this is related to a design defect in guiqwt regarding ImagePlot/CurvePlot zoom/plot limits management.
This is being taking care of and a fix will probably be available soon (not in the next release though).
Building items and add them to plotting canvas Saving items... Traceback (most r
ecent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\tests\loadsaveitems_hdf5.py", line 37, in <module>
test.run()
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\tests\loadsaveitems_pickle.py", line 76, in run
self.save_items()
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\tests\loadsaveitems_hdf5.py", line 29, in save_items
self.plot.serialize(writer)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\baseplot.py", line 607, in serialize
io.save_items(writer, items)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\io.py", line 502, in save_items
item.serialize(writer)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\image.py", line 1884, in serialize
super(MaskedImageItem, self).serialize(writer)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\image.py", line 955, in serialize
super(ImageItem, self).serialize(writer)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\image.py", line 822, in serialize
writer.write(self.imageparam, group_name='imageparam')
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guidata\userconfigio.py", line 99, in write
val.serialize(self)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guidata\dataset\datatypes.py", line 758, in serialize
item.serialize(self, writer)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guidata\dataset\datatypes.py", line 328, in serialize
writer.write(value)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guidata\userconfigio.py", line 102, in write
(val, type(val)))
NotImplementedError: cannot serialize 999999 of type <class 'numpy.int32'>
now (compiling with mingwpy, on Python 3.4.3 64 bit, PyQt5.5.1):
(40, 40)
--------------------------------------------------------------------------------
Adding item #0... Done
Adding item #1... Done
Adding item #2... Done
Adding item #3... Done
Adding item #4... Done
--------------------------------------------------------------------------------
Assemble test1: 1735.6896551724137 x 1283.4522058823518
Saving image: 1282 x 1735 (8688 KB):
--> uint16
--> uint8
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\tests\transform.py", line 177, in <module>
build_image(items)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\tests\transform.py", line 147, in build_image
save_image("test1", dest)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\tests\transform.py", line 139, in save_image
io.imwrite(name+".u8.png", data, dtype=np.uint8, max_range=True)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\io.py", line 397, in imwrite
iohandler.get_writefunc(ext)(fname, arr, **kwargs)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\io.py", line 228, in _imwrite_pil
img = PIL.Image.fromarray(arr, mode)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\PIL\Image.py", line 2163, in fromarray
return frombuffer(mode, size, obj, "raw", rawmode, 0, 1)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\PIL\Image.py", line 2113, in frombuffer
return frombytes(mode, size, data, decoder_name, args)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\PIL\Image.py", line 2047, in frombytes
im.frombytes(data, decoder_name, args)
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\PIL\Image.py", line 731, in frombytes
raise ValueError("not enough image data")
ValueError: not enough image data
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=44
Reported by [email protected], Feb 11, 2013
If I do ImageItem.set_data(foo)
where foo is a numpy array with dtype=int64
, I get the following exception:
TypeError: src data type must be one of the following: double, float, uint32, int32, uint16, int16, uint8, int8, bool
It would be nice if int64 and uint64 are also accepted.
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=66
Reported by HamfBohne, May 11, 2015
from guiqwt.plot import ImageDialog
import guidata
import numpy as np
_app = guidata.qapplication()
win = ImageDialog()
win.get_itemlist_panel().show()
win.get_xcs_panel().show()
win.get_ycs_panel().show()
x = 1,2,3
y = 1,2,3
data = np.array(((1,2,1),(1,2,1),(1,2,1)))
data2 = np.array(((2,1,1),(2,1,1),(2,1,1)))
from guiqwt.builder import make
image=make.xyimage(x, y, data, interpolation="nearest")
image2=make.xyimage(x, y, data2, interpolation="nearest")
plot = win.get_plot()
plot.add_item(image)
plot.add_item(image2)
plot.do_autoscale()
plot.replot()
win.show()
win.exec_()
Enable a marker, uncheck one of the images in the image list panel. Cross sections of both images are still shown in the cross section panels.
Only the visible (checked) plots are shown in the cross section display. This makes it easier to compare sets of data (images). Bonus would be to cycle colors of cross sections.
Current python(x,y) on Windows. guidata 1.6.1, guiqwt 2.3.1
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=39
It would be nice to change the guifit() function so that it is convenient for multi-peak fitting. If I want to fit multiple peaks, e.g. 3 Gaussians, I would do it like that (adapted from the example in the docs):
def fit(x, params):
y0, A0, xc0, w0, A1, xc1, w1, A2, xc2, w2 = params
return y0 + A0*np.exp(-(x-xc0)**2/(2*w0**2)) + A1*np.exp(-(x-xc1)**2/(2*w1**2)) + A2*np.exp(-(x-xc2)**2/(2*w2**2))
y0 = FitParam("Offset", 0., -10., 10.)
A0 = FitParam("Amplitude 0", 1., -10., 10.)
xc0 = FitParam("location 0", 2.5, 2., 5.)
w0 = FitParam("width 0", 1., -30., 30.)
A1 = FitParam("Amplitude 1", 1., -10., 10.)
xc1 = FitParam("location 1", 2.5, 2., 5.)
w1 = FitParam("width 1", 1., -30., 30.)
A2 = FitParam("Amplitude 2", 1., -10., 10.)
xc2 = FitParam("location 2", 2.5, 2., 5.)
w2 = FitParam("width 2", 1., -30., 30.)
params = [y0, A0, xc0, w0, A1, xc1, w1, A2, xc2, w2]
values = guifit(x, y, fit, params, xlabel="x", ylabel="Signal(x)")
Using guifit, the overall function, that was fitted, is now plotted. However, it would be nice to visualise the contributions of the individual peaks. So that you define fit=[fit1,fit2,fit2]
with fit1=y0 + A0*np.exp(-(x-xc0)**2/(2*w0**2))
and the subfits are plotted additionally to the overall fit.
What version of the product are you using? On what operating system?
Version 2.1.6 under Linux
if I try a pip install -r requirements.txt
with:
# a zip
qwt
# a whl
guidata
# a zip
guiqwt
I get an apparent try of launching "setup.py" from guiqwt before the guidata wheel is installed.
Using install_requires
instead of requires
may help:
https://caremad.io/2013/07/setup-vs-requirement/
(40, 40)
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\sit
e-packages\guiqwt\image.py:487: RuntimeWarning: overflow encountered in byte_sca
lars
self.lut = (LUT_MAX/(self.max-self.min),
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\sit
e-packages\guiqwt\image.py:488: RuntimeWarning: overflow encountered in byte_sca
lars
-LUT_MAX*self.min/(self.max-self.min),
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\sit
e-packages\guiqwt\image.py:487: RuntimeWarning: overflow encountered in short_sc
alars
self.lut = (LUT_MAX/(self.max-self.min),
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\sit
e-packages\guiqwt\image.py:488: RuntimeWarning: overflow encountered in short_sc
alars
-LUT_MAX*self.min/(self.max-self.min),
--------------------------------------------------------------------------------
Adding item #0... Done
Adding item #1... Done
Adding item #2... Done
Adding item #3... Done
Adding item #4... Done
Assemble test1: 1500.0 x 1000.0
saving...
Assemble test2: 375.0 x 250.0
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=41
PlotManager.create_action
calls qthelpers.create_action
, but it lacks some of its keyword arguments.
Specifically, it lacks the "checkable", "context" and "enabled" keywords.
I miss the checkable one since I want to create actions that are checkable without having to connect to the "toggled" signal.
Suggestion: unless there is some reason against it, I would simply implement PlotManager.create_action()
as follows:
def create_action(self, *a, **kw):
return create_action(self.main, *a, **kw)
Hello, it would be great if guiqwt could provide a generic widget which allow to display a stack of images. A sort of StackImagePlot. This widget could take a StackImage class object which could be subclassed by the user in order to let's the user decide how to grab the image from a file, a camera, and hdf5 file etc...
I imagine that some tools could be attached to each images in order for exemple to select some point depending on the images, etc...
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=67
Reported by HamfBohne, May 11, 2015
from guiqwt.plot import ImageDialog
import guidata
import numpy as np
_app = guidata.qapplication()
win = ImageDialog()
win.get_itemlist_panel().show()
win.get_xcs_panel().show()
win.get_ycs_panel().show()
x = 1,2,3
y = 1,2,3
data = np.array(((1,2,1),(1,2,1),(1,2,1)))
data2 = np.multiply(np.array(((2,1,1),(2,1,1),(2,1,1))),10)
from guiqwt.builder import make
image=make.xyimage(x, y, data, interpolation="nearest")
image2=make.xyimage(x, y, data2, interpolation="nearest")
plot = win.get_plot()
plot.add_item(image)
plot.add_item(image2)
plot.do_autoscale()
plot.replot()
win.show()
win.exec_()
Hide hide currently shown image and or select another image in the item list. Colorbar labels stay and do not reflect correct colormap for the currently shown image.
Colorbar should rescales according to which image is currently selected (or visible). With this bug loading multiple false color plots does not allow comparison of absolute values.
Current python(x,y) on Windows. guidata 1.6.1, guiqwt 2.3.1
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=69
Reported by HamfBohne, May 11, 2015
For certain types of data it is important to be able to compare sign of different features in an XYImageItem
object. Being able to lock the color axis to be symmetric around zero would help with that quite a lot. An interface like the "Reverse Y axis" checkmark or an entry in the axis' properties would be ideal.
This feature would need to be then respected by the automatic contrast adjustment (great tool by the way) to be really valuable.
Current python(x,y) on Windows. guidata 1.6.1, guiqwt 2.3.1
Hello, it seems that I can not build guiqwt.
src/traits.hpp:30:20: fatal error: intrin.h: No such file or directory
#include <intrin.h>
^
trying to assemble a WinPython3.5, I fall on this problem.
/home/picca/Debian/guiqwt/guiqwt/doc/reference/annotations.rst:1: WARNING: autodoc: failed to import module 'guiqwt.annotations'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/annotations.py", line 82, in
from guiqwt.label import DataInfoLabel
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/label.py", line 58, in
from guiqwt.curve import CurveItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/builder.rst:1: WARNING: autodoc: failed to import module 'guiqwt.builder'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/builder.py", line 66, in
from guiqwt.curve import CurveItem, ErrorBarCurveItem, GridItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/cross_section.rst:1: WARNING: autodoc: failed to import module 'guiqwt.cross_section'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/cross_section.py", line 58, in
from guiqwt.curve import CurvePlot, ErrorBarCurveItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/curve.rst:1: WARNING: autodoc: failed to import module 'guiqwt.curve'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/histogram.rst:1: WARNING: autodoc: failed to import module 'guiqwt.histogram'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/histogram.py", line 64, in
from guiqwt.curve import CurveItem, CurvePlot
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/image.rst:1: WARNING: autodoc: failed to import module 'guiqwt.image'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/image.py", line 165, in
from guiqwt.curve import CurvePlot, CurveItem, PolygonMapItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/label.rst:1: WARNING: autodoc: failed to import module 'guiqwt.label'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/label.py", line 58, in
from guiqwt.curve import CurveItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/plot.rst:1: WARNING: autodoc: failed to import module 'guiqwt.plot'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/plot.py", line 119, in
from guiqwt.curve import CurvePlot, PlotItemList
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/pyplot.rst:1: WARNING: autodoc: failed to import module 'guiqwt.pyplot'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/pyplot.py", line 118, in
from guiqwt.plot import PlotManager
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/plot.py", line 119, in
from guiqwt.curve import CurvePlot, PlotItemList
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/tools.rst:1: WARNING: autodoc: failed to import module 'guiqwt.tools'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/tools.py", line 277, in
from guiqwt.annotations import (AnnotatedRectangle, AnnotatedCircle,
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/annotations.py", line 82, in
from guiqwt.label import DataInfoLabel
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/label.py", line 58, in
from guiqwt.curve import CurveItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/widgets_fit.rst:1: WARNING: autodoc: failed to import module 'guiqwt.widgets.fit'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/widgets/fit.py", line 65, in
from guiqwt.builder import make
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/builder.py", line 66, in
from guiqwt.curve import CurveItem, ErrorBarCurveItem, GridItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
/home/picca/Debian/guiqwt/guiqwt/doc/reference/widgets_rotatecrop.rst:1: WARNING: autodoc: failed to import module 'guiqwt.widgets.rotatecrop'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 385, in import_object
__import(self.modname)
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/widgets/rotatecrop.py", line 33, in
from guiqwt.builder import make
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/builder.py", line 66, in
from guiqwt.curve import CurveItem, ErrorBarCurveItem, GridItem
File "/home/picca/Debian/guiqwt/guiqwt/.pybuild/pythonX.Y_3.4/build/guiqwt/curve.py", line 210, in
SELECTED_SYMBOL_PARAM.read_config(CONF, "plot", "selected_curve_symbol")
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 775, in read_config
self.deserialize(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 763, in deserialize
item.deserialize(self, reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 343, in deserialize
value = self.get_value_from_reader(reader)
File "/usr/lib/python3/dist-packages/guidata/dataset/datatypes.py", line 334, in get_value_from_reader
return reader.read_any()
File "/usr/lib/python3/dist-packages/guidata/userconfigio.py", line 125, in read_any
val = self.conf.get(self.section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 311, in get
value = self.__get(section, option)
File "/usr/lib/python3/dist-packages/guidata/userconfig.py", line 318, in __get
value = cp.ConfigParser.get(self, section, option, raw=self.raw)
File "/usr/lib/python3.4/configparser.py", line 772, in get
d)
File "/usr/lib/python3.4/configparser.py", line 371, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File "/usr/lib/python3.4/configparser.py", line 384, in _interpolate_some
rawval = parser.get(section, option, raw=True, fallback=rest)
TypeError: get() got an unexpected keyword argument 'raw'
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=43
Reported by ericjmcd, Feb 6, 2013
Since Baseplot
now implements mouseDoubleClickEvent
, a reimplementation at a higher level is ignored (it never sees the event) so you can't implement custom actions (for instance, double-clicking the plot auto-zooms).
What steps will reproduce the problem?
This occurs because the mouseDoubleClickEvent
in BasePlot
doesn't ignore double-clicks that are on the canvas area (it just accepts them and does nothing). Modifying BasePlot
's mouseDoubleClickEvent
to detect when the d-click is on the canvas and calling event.ignore()
will pass the event up and allow higher level widgets to respond. Suggested fix:
def mouseDoubleClickEvent(self, event):
"""Reimplement QWidget method"""
if self.canvas().geometry().contains(event.pos()): #NEW
event.ignore() #NEW
return #NEW
for axis_id in self.AXIS_IDS:
widget = self.axisWidget(axis_id)
if widget.geometry().contains(event.pos()):
self.edit_axis_parameters(axis_id)
What version of the product are you using? On what operating system?
Using guiqwt 2.2.1-1 (installed via PythonXY) on Windows7 (and Scientific Linux 6.2 - where I have the older version installed that works since mouseDCEvent isn't implemented there).
a new beta would allow better testing
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=50
Reported by sniper.lucian, Mar 22, 2013
What steps will reproduce the problem?
What is the expected output? What do you see instead?
titles in item list disappear by enabling/disabling curves
What version of the product are you using? On what operating system?
guiqwt-2.2.1-py2.7.egg-info
Mar 22, 2013
sniper.lucian
can be solved by using make to generate the curve:
curve = make.curve([0],[0],title=name)
instead of:
curve = guiqwt.curve.CurveItem()
curve.setTitle(name)
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=57
Reported by andreas.g.persson, Sep 13, 2013
What steps will reproduce the problem?
In [1]: from guiqwt.builder import make
In [2]: import numpy as np
In [3]: data = np.zeros((100,100), dtype=np.uint8)
In [4]: img = make.image(data)
In [5]: img.get_lut_range_max()
What is the expected output? What do you see instead?
Expected output is (0,255) but I get an exception:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-5-e3a10e97da73> in <module>()
----> 1 img.get_lut_range_max()
/usr/lib64/python2.7/site-packages/guiqwt/image.pyc in get_lut_range_max(self)
499 info = np.finfo(kind)
500 else:
--> 501 info = np.iinfo(kind)
502 return info.min, info.max
503
/usr/lib64/python2.7/site-packages/numpy/core/getlimits.pyc in __init__(self, int_type)
249 self.key = "%s%d" % (self.kind, self.bits)
250 if not self.kind in 'iu':
--> 251 raise ValueError("Invalid integer data type.")
252
253 def min(self):
ValueError: Invalid integer data type.
What version of the product are you using? On what operating system?
Version 2.3.2 on Linux
The following patch solves this issue:
# HG changeset patch
# User Andreas Persson <[email protected]>
# Date 1379077340 -7200
# Node ID 10e717d2a933108f35157ccfd290cf25cd9e7acf
# Parent 84d213021d832a55c49fe5b2c8361308cbcacc81
BaseImageItem: fix bug in get_lut_range_max()
diff -r 84d213021d83 -r 10e717d2a933 guiqwt/image.py
--- a/guiqwt/image.py Tue Aug 27 11:33:31 2013 +0200
+++ b/guiqwt/image.py Fri Sep 13 15:02:20 2013 +0200
@@ -496,9 +496,9 @@
"""Get maximum range for this dataset"""
kind = self.data.dtype.kind
if kind in np.typecodes['AllFloat']:
- info = np.finfo(kind)
+ info = np.finfo(self.data.dtype)
else:
- info = np.iinfo(kind)
+ info = np.iinfo(self.data.dtype)
return info.min, info.max
def update_border(self):
Test passed successfully.
Exception ignored in: <bound method ImagePlot.__del__ of <guiqwt.image.ImagePlot
object at 0x000000000499D9D8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method YCrossSectionPlot.__del__ of <guiqwt.cross_s
ection.YCrossSectionPlot object at 0x00000000049363A8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method XCrossSectionPlot.__del__ of <guiqwt.cross_s
ection.XCrossSectionPlot object at 0x00000000080485E8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method LevelsHistogram.__del__ of <guiqwt.histogram
.LevelsHistogram object at 0x00000000080805E8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method ImagePlot.__del__ of <guiqwt.image.ImagePlot
object at 0x0000000008185CA8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method YCrossSectionPlot.__del__ of <guiqwt.cross_s
ection.YCrossSectionPlot object at 0x00000000081B54C8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method XCrossSectionPlot.__del__ of <guiqwt.cross_s
ection.XCrossSectionPlot object at 0x00000000081DC948>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method LevelsHistogram.__del__ of <guiqwt.histogram
.LevelsHistogram object at 0x0000000008206948>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method ImagePlot.__del__ of <guiqwt.image.ImagePlot
object at 0x0000000008254048>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method YCrossSectionPlot.__del__ of <guiqwt.cross_s
ection.YCrossSectionPlot object at 0x0000000008254828>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method XCrossSectionPlot.__del__ of <guiqwt.cross_s
ection.XCrossSectionPlot object at 0x000000000827FCA8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
Exception ignored in: <bound method LevelsHistogram.__del__ of <guiqwt.histogram
.LevelsHistogram object at 0x00000000082A2CA8>>
Traceback (most recent call last):
File "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64
\lib\site-packages\guiqwt\curve.py", line 1404, in __del__
canvas.removeEventFilter(self.filter)
RuntimeError: wrapped C/C++ object of type QwtPlotCanvas has been deleted
I have an error, but maybe mingwpy can't fit as a compiler: pip install guiqwt gives this errors;
\guiqwt\images\markerstyles
copying guiqwt\images\markerstyles\vert_marker.png -> build\lib.win-amd64-3.4\
guiqwt\images\markerstyles
creating build\lib.win-amd64-3.4\guiqwt\images\mask
copying guiqwt\images\mask\mask_circle.png -> build\lib.win-amd64-3.4\guiqwt\i
mages\mask
copying guiqwt\images\mask\mask_circle_outside.png -> build\lib.win-amd64-3.4\
guiqwt\images\mask
copying guiqwt\images\mask\mask_rectangle.png -> build\lib.win-amd64-3.4\guiqw
t\images\mask
copying guiqwt\images\mask\mask_rectangle_outside.png -> build\lib.win-amd64-3
.4\guiqwt\images\mask
copying guiqwt\images\mask\mask_tool.png -> build\lib.win-amd64-3.4\guiqwt\ima
ges\mask
creating build\lib.win-amd64-3.4\guiqwt\images\patterns
copying guiqwt\images\patterns\bdiagpattern.png -> build\lib.win-amd64-3.4\gui
qwt\images\patterns
copying guiqwt\images\patterns\crosspattern.png -> build\lib.win-amd64-3.4\gui
qwt\images\patterns
copying guiqwt\images\patterns\dense1pattern.png -> build\lib.win-amd64-3.4\gu
iqwt\images\patterns
copying guiqwt\images\patterns\dense2pattern.png -> build\lib.win-amd64-3.4\gu
iqwt\images\patterns
copying guiqwt\images\patterns\dense3pattern.png -> build\lib.win-amd64-3.4\gu
iqwt\images\patterns
copying guiqwt\images\patterns\dense4pattern.png -> build\lib.win-amd64-3.4\gu
iqwt\images\patterns
copying guiqwt\images\patterns\dense5pattern.png -> build\lib.win-amd64-3.4\gu
iqwt\images\patterns
copying guiqwt\images\patterns\dense6pattern.png -> build\lib.win-amd64-3.4\gu
iqwt\images\patterns
copying guiqwt\images\patterns\dense7pattern.png -> build\lib.win-amd64-3.4\gu
iqwt\images\patterns
copying guiqwt\images\patterns\diagcrosspattern.png -> build\lib.win-amd64-3.4
\guiqwt\images\patterns
copying guiqwt\images\patterns\fdiagpattern.png -> build\lib.win-amd64-3.4\gui
qwt\images\patterns
copying guiqwt\images\patterns\horpattern.png -> build\lib.win-amd64-3.4\guiqw
t\images\patterns
copying guiqwt\images\patterns\nobrush.png -> build\lib.win-amd64-3.4\guiqwt\i
mages\patterns
copying guiqwt\images\patterns\solidpattern.png -> build\lib.win-amd64-3.4\gui
qwt\images\patterns
copying guiqwt\images\patterns\verpattern.png -> build\lib.win-amd64-3.4\guiqw
t\images\patterns
creating build\lib.win-amd64-3.4\guiqwt\images\scales
copying guiqwt\images\scales\lin_lin.png -> build\lib.win-amd64-3.4\guiqwt\ima
ges\scales
copying guiqwt\images\scales\lin_log.png -> build\lib.win-amd64-3.4\guiqwt\ima
ges\scales
copying guiqwt\images\scales\log_lin.png -> build\lib.win-amd64-3.4\guiqwt\ima
ges\scales
copying guiqwt\images\scales\log_log.png -> build\lib.win-amd64-3.4\guiqwt\ima
ges\scales
creating build\lib.win-amd64-3.4\guiqwt\images\shapes
copying guiqwt\images\shapes\circle.png -> build\lib.win-amd64-3.4\guiqwt\imag
es\shapes
copying guiqwt\images\shapes\ellipse_shape.png -> build\lib.win-amd64-3.4\guiq
wt\images\shapes
copying guiqwt\images\shapes\freeform.png -> build\lib.win-amd64-3.4\guiqwt\im
ages\shapes
copying guiqwt\images\shapes\gtaxes.png -> build\lib.win-amd64-3.4\guiqwt\imag
es\shapes
copying guiqwt\images\shapes\marker.png -> build\lib.win-amd64-3.4\guiqwt\imag
es\shapes
copying guiqwt\images\shapes\oblique_rectangle.png -> build\lib.win-amd64-3.4\
guiqwt\images\shapes
copying guiqwt\images\shapes\point_shape.png -> build\lib.win-amd64-3.4\guiqwt
\images\shapes
copying guiqwt\images\shapes\polyline.png -> build\lib.win-amd64-3.4\guiqwt\im
ages\shapes
copying guiqwt\images\shapes\rectangle.png -> build\lib.win-amd64-3.4\guiqwt\i
mages\shapes
copying guiqwt\images\shapes\segment.png -> build\lib.win-amd64-3.4\guiqwt\ima
ges\shapes
creating build\lib.win-amd64-3.4\guiqwt\images\styles
copying guiqwt\images\styles\dash.png -> build\lib.win-amd64-3.4\guiqwt\images
\styles
copying guiqwt\images\styles\dashdot.png -> build\lib.win-amd64-3.4\guiqwt\ima
ges\styles
copying guiqwt\images\styles\dashdotdot.png -> build\lib.win-amd64-3.4\guiqwt\
images\styles
copying guiqwt\images\styles\dot.png -> build\lib.win-amd64-3.4\guiqwt\images\
styles
copying guiqwt\images\styles\solid.png -> build\lib.win-amd64-3.4\guiqwt\image
s\styles
creating build\lib.win-amd64-3.4\guiqwt\locale
creating build\lib.win-amd64-3.4\guiqwt\locale\fr
creating build\lib.win-amd64-3.4\guiqwt\locale\fr\LC_MESSAGES
copying guiqwt\locale\fr\LC_MESSAGES\guiqwt.mo -> build\lib.win-amd64-3.4\guiq
wt\locale\fr\LC_MESSAGES
copying guiqwt\tests\brain.png -> build\lib.win-amd64-3.4\guiqwt\tests
copying guiqwt\tests\brain_cylinder.png -> build\lib.win-amd64-3.4\guiqwt\test
s
copying guiqwt\tests\contrast.png -> build\lib.win-amd64-3.4\guiqwt\tests
copying guiqwt\tests\qtdesigner.ui -> build\lib.win-amd64-3.4\guiqwt\tests
copying guiqwt\tests\test1.png.u8.png -> build\lib.win-amd64-3.4\guiqwt\tests
copying guiqwt\tests\test2.png.u8.png -> build\lib.win-amd64-3.4\guiqwt\tests
running build_ext
Looking for python34.dll
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
Looking for python34.dll
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
building 'guiqwt.histogram2d' extension
compiling C sources
C compiler: gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes
creating build\temp.win-amd64-3.4
creating build\temp.win-amd64-3.4\Release
creating build\temp.win-amd64-3.4\Release\src
compile options: '-D__MSVCRT_VERSION__=0x1000 -ID:\WinPythonQt5\basedir34\buil
d\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\include
-ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\s
ite-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winpython-3.4.
3.amd64\python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\winpython-3
.4.3.amd64\python-3.4.3.amd64\include -c'
gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes -D__MSVCRT_VERSI
ON__=0x1000 -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3
.amd64\lib\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\wi
npython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\include -ID:
\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\include -
ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\includ
e -c src\histogram2d.c -o build\temp.win-amd64-3.4\Release\src\histogram2d.o
Found executable D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-
3.4.3.amd64\Scripts\gcc.exe
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\s
ite-packages\setuptools\dist.py:285: UserWarning: Normalizing '2.4.0beta2' to '2
.4.0b2'
normalized_version,
gcc -m64 -g -shared build\temp.win-amd64-3.4\Release\src\histogram2d.o -LD:\Wi
nPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\libs -LD:\Wi
nPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\PCbuild\amd6
4 -lpython34 -lmsvcr100 -o build\lib.win-amd64-3.4\guiqwt\histogram2d.pyd
building 'guiqwt.mandelbrot' extension
compiling C sources
C compiler: gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes
compile options: '-D__MSVCRT_VERSION__=0x1000 -ID:\WinPythonQt5\basedir34\buil
d\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\include
-ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\s
ite-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winpython-3.4.
3.amd64\python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\winpython-3
.4.3.amd64\python-3.4.3.amd64\include -c'
gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes -D__MSVCRT_VERSI
ON__=0x1000 -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3
.amd64\lib\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\wi
npython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\include -ID:
\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\include -
ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\includ
e -c src\mandelbrot.c -o build\temp.win-amd64-3.4\Release\src\mandelbrot.o
gcc -m64 -g -shared build\temp.win-amd64-3.4\Release\src\mandelbrot.o -LD:\Win
PythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\libs -LD:\Win
PythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\PCbuild\amd64
-lpython34 -lmsvcr100 -o build\lib.win-amd64-3.4\guiqwt\mandelbrot.pyd
building 'guiqwt._scaler' extension
compiling C++ sources
C compiler: g++ -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall
compile options: '-D__MSVCRT_VERSION__=0x1000 -ID:\WinPythonQt5\basedir34\buil
d\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\include
-ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\inclu
de -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\in
clude -c'
extra options: '/EHsc -Wall'
g++ -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -D__MSVCRT_VERSION__=0x1000 -ID:\Win
PythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-pack
ages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\
python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd
64\python-3.4.3.amd64\include -c src\pcolor.cpp -o build\temp.win-amd64-3.4\Rele
ase\src\pcolor.o /EHsc -Wall
Found executable D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-
3.4.3.amd64\Scripts\g++.exe
error: Command "g++ -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -D__MSVCRT_VERSION__
=0x1000 -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd
64\lib\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winpyt
hon-3.4.3.amd64\python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\win
python-3.4.3.amd64\python-3.4.3.amd64\include -c src\pcolor.cpp -o build\temp.wi
n-amd64-3.4\Release\src\pcolor.o /EHsc -Wall" failed with exit status 1
g++.exe: error: /EHsc: No such file or directory
----------------------------------------
Failed building wheel for guiqwt
Failed to build guiqwt
Installing collected packages: guiqwt
Running setup.py install for guiqwt
Complete output from command D:\WinPythonQt5\basedir34\build\winpython-3.4.3
.amd64\python-3.4.3.amd64\python.exe -c "import setuptools, tokenize;__file__='C
:\\Users\\famille\\AppData\\Local\\Temp\\pip-build-49dqdyf3\\guiqwt\\setup.py';e
xec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n
'), __file__, 'exec'))" install --record C:\Users\famille\AppData\Local\Temp\pip
-syqu5k6d-record\install-record.txt --single-version-externally-managed --compil
e:
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler
options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler
options
running build_src
build_src
building extension "guiqwt.histogram2d" sources
building extension "guiqwt.mandelbrot" sources
building extension "guiqwt._scaler" sources
build_src: building npy-pkg config files
running build_py
running build_ext
Looking for python34.dll
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
Looking for python34.dll
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
building 'guiqwt.histogram2d' extension
compiling C sources
C compiler: gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes
compile options: '-D__MSVCRT_VERSION__=0x1000 -ID:\WinPythonQt5\basedir34\bu
ild\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\includ
e -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib
\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winpython-3.
4.3.amd64\python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\winpython
-3.4.3.amd64\python-3.4.3.amd64\include -c'
gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes -D__MSVCRT_VER
SION__=0x1000 -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4
.3.amd64\lib\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\
winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\include -I
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\include
-ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\incl
ude -c src\histogram2d.c -o build\temp.win-amd64-3.4\Release\src\histogram2d.o
Found executable D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\pytho
n-3.4.3.amd64\Scripts\gcc.exe
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib
\site-packages\setuptools\dist.py:285: UserWarning: Normalizing '2.4.0beta2' to
'2.4.0b2'
normalized_version,
gcc -m64 -g -shared build\temp.win-amd64-3.4\Release\src\histogram2d.o -LD:\
WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\libs -LD:\
WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\PCbuild\am
d64 -lpython34 -lmsvcr100 -o build\lib.win-amd64-3.4\guiqwt\histogram2d.pyd
building 'guiqwt.mandelbrot' extension
compiling C sources
C compiler: gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes
compile options: '-D__MSVCRT_VERSION__=0x1000 -ID:\WinPythonQt5\basedir34\bu
ild\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\includ
e -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib
\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winpython-3.
4.3.amd64\python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\winpython
-3.4.3.amd64\python-3.4.3.amd64\include -c'
gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes -D__MSVCRT_VER
SION__=0x1000 -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4
.3.amd64\lib\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\
winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\include -I
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\include
-ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\incl
ude -c src\mandelbrot.c -o build\temp.win-amd64-3.4\Release\src\mandelbrot.o
gcc -m64 -g -shared build\temp.win-amd64-3.4\Release\src\mandelbrot.o -LD:\W
inPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\libs -LD:\W
inPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\PCbuild\amd
64 -lpython34 -lmsvcr100 -o build\lib.win-amd64-3.4\guiqwt\mandelbrot.pyd
building 'guiqwt._scaler' extension
compiling C++ sources
C compiler: g++ -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall
compile options: '-D__MSVCRT_VERSION__=0x1000 -ID:\WinPythonQt5\basedir34\bu
ild\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\numpy\core\includ
e -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\inc
lude -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\
include -c'
extra options: '/EHsc -Wall'
g++ -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -D__MSVCRT_VERSION__=0x1000 -ID:\W
inPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-pa
ckages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd6
4\python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.a
md64\python-3.4.3.amd64\include -c src\pcolor.cpp -o build\temp.win-amd64-3.4\Re
lease\src\pcolor.o /EHsc -Wall
Found executable D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\pytho
n-3.4.3.amd64\Scripts\g++.exe
error: Command "g++ -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -D__MSVCRT_VERSION
__=0x1000 -ID:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.a
md64\lib\site-packages\numpy\core\include -ID:\WinPythonQt5\basedir34\build\winp
ython-3.4.3.amd64\python-3.4.3.amd64\include -ID:\WinPythonQt5\basedir34\build\w
inpython-3.4.3.amd64\python-3.4.3.amd64\include -c src\pcolor.cpp -o build\temp.
win-amd64-3.4\Release\src\pcolor.o /EHsc -Wall" failed with exit status 1
g++.exe: error: /EHsc: No such file or directory
----------------------------------------
Command "D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd6
4\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\famille\\AppDa
ta\\Local\\Temp\\pip-build-49dqdyf3\\guiqwt\\setup.py';exec(compile(getattr(toke
nize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record C:\Users\famille\AppData\Local\Temp\pip-syqu5k6d-record\install
-record.txt --single-version-externally-managed --compile" failed with error cod
e 1 in C:\Users\famille\AppData\Local\Temp\pip-build-49dqdyf3\guiqwt
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64>
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=65
Reported by HamfBohne, May 11, 2015
from guiqwt.plot import ImageDialog
import guidata
import numpy as np
_app = guidata.qapplication()
win = ImageDialog()
win.get_xcs_panel().show()
win.get_ycs_panel().show()
x = 1,2,3
y = 1,2,3
data = np.array(((1,2,1),(1,2,1),(1,2,1)))
from guiqwt.builder import make
image=make.xyimage(x, y, data, interpolation="nearest")
plot = win.get_plot()
plot.add_item(image)
plot.do_autoscale()
plot.replot()
win.show()
win.exec_()
Then zoom in to an area if the image, end anable a marker. The cross section stays on initial zoom.
Cross section axis limits are the same as the xyimage ones, enabling you to have a closer look at small features.
Current python(x,y) on Windows. guidata 1.6.1, guiqwt 2.3.1
hi Pierre,
Trying to do a Slim version of Winpython I discover that:
Is it an easy change to shift to PyTables for the test loadsaveitems_hdf5.py
?
Originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=48
Reported by [email protected], Mar 18, 2013
With scientific images, usually we have a great dynamic so it is very convenient to plot them in logscale.
Indeed I can transfor the image with something like this
numpy.log(1 + img + img.min())
but , I want when I read the stat of the image, data based on the real values, not the transformed one.
Or with the shift button to read the real z valu of the image not the log of this value.
thanks
Frederic
Next error :)
Now thaht I migrate to the API 2 for the signals, I got this error message with spyder 2.3.6
Traceback (most recent call last):
File "fitnxs.py", line 1362, in
ui.setupUi(MainWindow)
File "fitnxs.py", line 998, in setupUi
self.makewindow()
File "fitnxs.py", line 1248, in makewindow
ylabel="ylabel"))
File "/usr/lib/python2.7/dist-packages/guiqwt/plot.py", line 840, in init
panels=panels)
File "/usr/lib/python2.7/dist-packages/guiqwt/plot.py", line 772, in init
self.register_tools()
File "/usr/lib/python2.7/dist-packages/guiqwt/plot.py", line 795, in register_tools
self.register_all_curve_tools()
File "/usr/lib/python2.7/dist-packages/guiqwt/plot.py", line 575, in register_all_curve_tools
self.register_standard_tools()
File "/usr/lib/python2.7/dist-packages/guiqwt/plot.py", line 498, in register_standard_tools
import spyderlib.widgets.objecteditor # analysis:ignore
File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/objecteditor.py", line 13, in
from spyderlib.qt.QtCore import QObject, SIGNAL
File "/usr/lib/python2.7/dist-packages/spyderlib/qt/init.py", line 23, in
sip.setapi('QDate', 2)
ValueError: API 'QDate' has already been set to version 1
D:\WinPythonQt5\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\sit
e-packages\PIL\Image.py:861: UserWarning: Palette images with Transparency exp
ressed in bytes should be converted to RGBA images
'to RGBA images')
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=62
Reported by petebachant, Nov 20, 2014
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The entire main window becomes very laggy on Python 3.4. Upon profiling it seems in Python 3.4 the replot method takes about twice as long, which is killing performance.
What version of the product are you using? On what operating system?
The latest version in WinPython 2.7.8.3 and 3.4.2.2.
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=55
Reported by [email protected], May 25, 2013
Hello here I put the phinx warning or error generated during the buildprocess.
Cheers
Fred
docstring of guiqwt.pyplot.imshow:9: ERROR: Unexpected indentation.
docstring of guiqwt.pyplot.imshow:10: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/fit.py:docstring of guiqwt.widgets.fit.FitDialog.add_tool:4: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/fit.py:docstring of guiqwt.widgets.fit.FitDialog.add_tool:5: WARNING: Inline strong start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/fit.py:docstring of guiqwt.widgets.fit.FitDialog.register_all_curve_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/fit.py:docstring of guiqwt.widgets.fit.FitDialog.register_all_image_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/fit.py:docstring of guiqwt.widgets.fit.FitDialog.register_curve_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/fit.py:docstring of guiqwt.widgets.fit.FitDialog.register_image_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/fit.py:docstring of guiqwt.widgets.fit.FitDialog.register_other_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.PlotManager.add_tool:4: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.PlotManager.add_tool:5: WARNING: Inline strong start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.PlotManager.register_all_curve_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.PlotManager.register_all_image_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.PlotManager.register_curve_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.PlotManager.register_image_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.PlotManager.register_other_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.CurveWidget:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.CurveDialog:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.ImageWidget:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/plot.py:docstring of guiqwt.plot.ImageDialog:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.annotated_circle:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.annotated_ellipse:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.annotated_rectangle:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.annotated_segment:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.circle:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.curve:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.ellipse:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.error:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.histogram:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.histogram2D:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.imagefilter:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.label:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.legend:4: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.marker:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.perror:4: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.range_info_label:6: WARNING: Title underline too short.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.range_info_label:6: SEVERE: Unexpected section title.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.range_info_label:12: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.rectangle:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.segment:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.trimage:4: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/builder.py:docstring of guiqwt.builder.PlotItemBuilder.xyimage:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/panels.py:docstring of guiqwt.panels:7: ERROR: Unexpected indentation.
docstring of guiqwt.baseplot:7: ERROR: Unexpected indentation.
docstring of guiqwt.baseplot.BasePlot.get_nearest_object:3: ERROR: Unexpected indentation.
docstring of guiqwt.baseplot.BasePlot.get_nearest_object:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.baseplot.BasePlot.save_widget:1: WARNING: Inline emphasis start-string without end-string.
docstring of guiqwt.baseplot.BasePlot.save_widget:1: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.add_item:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.add_item:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.get_axis_direction:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.get_nearest_object:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.get_nearest_object:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.save_widget:1: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.save_widget:1: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.set_axis_direction:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.set_axis_direction:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.set_pointer:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.set_titles:4: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/curve.py:docstring of guiqwt.curve.CurvePlot.set_titles:5: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image:61: WARNING: Inline interpreted text or phrase reference start-string without end-string.
docstring of guiqwt.image.ImagePlot:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImagePlot.add_item:5: WARNING: Definition list ends without a blank line; unexpected unindent.
docstring of guiqwt.image.ImagePlot.get_axis_direction:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImagePlot.get_nearest_object:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImagePlot.get_nearest_object:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.ImagePlot.save_widget:1: WARNING: Inline emphasis start-string without end-string.
docstring of guiqwt.image.ImagePlot.save_widget:1: WARNING: Inline emphasis start-string without end-string.
docstring of guiqwt.image.ImagePlot.set_axis_direction:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImagePlot.set_axis_direction:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.ImagePlot.set_pointer:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImagePlot.set_titles:4: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImagePlot.set_titles:5: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.BaseImageItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.BaseImageItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.BaseImageItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.RawImageItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.RawImageItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.RawImageItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImageItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImageItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.ImageItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.TrImageItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.TrImageItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.TrImageItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.XYImageItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.XYImageItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.XYImageItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.RGBImageItem:3: WARNING: Bullet list ends without a blank line; unexpected unindent.
docstring of guiqwt.image.RGBImageItem:5: ERROR: Unexpected indentation.
docstring of guiqwt.image.RGBImageItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.RGBImageItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.RGBImageItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.MaskedImageItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.MaskedImageItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.MaskedImageItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.MaskedImageItem.set_mask_filename:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.MaskedImageItem.set_mask_filename:5: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.ImageFilterItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.ImageFilterItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.ImageFilterItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.XYImageFilterItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.XYImageFilterItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.XYImageFilterItem.get_data:6: ERROR: Unexpected indentation.
docstring of guiqwt.image.Histogram2DItem.get_data:3: ERROR: Unexpected indentation.
docstring of guiqwt.image.Histogram2DItem.get_data:4: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of guiqwt.image.Histogram2DItem.get_data:6: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.add_item:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.add_item:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.get_axis_direction:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.get_nearest_object:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.get_nearest_object:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.save_widget:1: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.save_widget:1: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.set_axis_direction:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.set_axis_direction:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.set_pointer:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.set_titles:4: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/histogram.py:docstring of guiqwt.histogram.LevelsHistogram.set_titles:5: WARNING: Block quote ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/annotations.py:docstring of guiqwt.annotations.AnnotatedObliqueRectangle.set_rect:15: WARNING: Definition list ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/shapes.py:docstring of guiqwt.shapes.ObliqueRectangleShape.set_rect:16: WARNING: Definition list ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/styles.py:docstring of guiqwt.styles.MarkerParam.set_markerstyle:3: ERROR: Unexpected indentation.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/rotatecrop.py:docstring of guiqwt.widgets.rotatecrop.RotateCropDialog.add_tool:4: WARNING: Inline emphasis start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/rotatecrop.py:docstring of guiqwt.widgets.rotatecrop.RotateCropDialog.add_tool:5: WARNING: Inline strong start-string without end-string.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/rotatecrop.py:docstring of guiqwt.widgets.rotatecrop.RotateCropDialog.register_all_curve_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/rotatecrop.py:docstring of guiqwt.widgets.rotatecrop.RotateCropDialog.register_all_image_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/rotatecrop.py:docstring of guiqwt.widgets.rotatecrop.RotateCropDialog.register_curve_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/rotatecrop.py:docstring of guiqwt.widgets.rotatecrop.RotateCropDialog.register_image_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
/tmp/buildd/guiqwt-2.3.1/build/lib.linux-i686-2.7/guiqwt/widgets/rotatecrop.py:docstring of guiqwt.widgets.rotatecrop.RotateCropDialog.register_other_tools:4: WARNING: Explicit markup ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=63
Reported by gaetan.browaeys, Jan 19, 2015
Hello,
I would like to know if it is possible to realize the selection of multi-points of a curve with a "click and slide" with the mouse. See example of plot attached.
I know it is possible by performing a left mouse click and maintaining the Ctrl button press but as I may have many points to select it would be much quicker if I can select different points of a curve in one go.
Thank you really much for your answer.
Regards,
Gaetan
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=42
Reported by peter.mpifr.de, Jan 30, 2013
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expect the same aspect ratio as in the image window
What version of the product are you using? On what operating system?
Python 2.6.6 Qt 4.6.3 PyQt 4.7.3 GUIqwt 2.2.0 GUIdata 1.5.0 on Linux 2.6.32-5-amd64
Please provide any additional information below.
The aspect ratio seems to change between the display in "simple_windows" and the PDF output. The ration changes with the ratio of the page hight and width.
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=64
Reported by HamfBohne, May 11, 2015
from guiqwt.plot import ImageDialog
import numpy as np
import guidata
_app = guidata.qapplication()
win = ImageDialog()
from guiqwt.builder import make
x = 1,2,2
y = 1,3,2
data = np.ones((3,3))
make.xyimage(x, y, data, interpolation="nearest")
win.show()
win.exec_()
ValueError: x must be an increasing 1D array
(same would happen for y)
Builder sorts x and y to be increasing arrays and data accordingly and creates image instead of failing.
This is expected as builder is supposed to an easy to use interface. Measurement data is often not recorded in a monotonically fashion, thus this behaviour would add a lot of convenience.
Current python(x,y) on Windows. guidata 1.6.1, guiqwt 2.3.1
playing with guiqwt (compiled with mingwpy), I get a strange warning in the console.
Is it guiqwt , mingwpy, or other ?
Using experimental 'pure Python' qwt API
float32
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
D:\WinPython\basedir27\build\winpython-2.7.10\notebooks>
Could not find a version that satisfies the requirement guidata>=1.7.0 (from g
uiqwt->-r D:\WinpythonQt5\basedir34\requirements3.txt (line 2)) (from versions:
1.7.0rc1)
No matching distribution found for guidata>=1.7.0 (from guiqwt->-r D:\WinpythonQ
t5\basedir34\requirements3.txt (line 2))
Maybe the test should not be 1.7.0 but 1.6.99 , if 1.7.0rc1 is considered inferior to 1.7.0 by pip requirements algorithm.
Hello Pierre,
you added some lgpl-2.1 informations in the traits.hpp file.
I looked at the lgp-2.1 snipste available in Debian and this snipset contain the (at your opinion) any later version.
can you confirm that that the version used by the upstream author of the asm code is LGPL-2.1 strict.
This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
when building the doc, guiqwt use all my computer CPU load.
updating environment: 8 added, 0 changed, 0 removed
reading sources... [ 12%] development
reading sources... [ 25%] disthelpers
reading sources... [ 37%] examples
reading sources... [ 50%] index
reading sources... [ 62%] installation
reading sources... [ 75%] overview
reading sources... [ 87%] reference
Using experimental 'pure Python' qwt API
here...
I do not understand why but it takes minutes to get out of this
Issue originally submitted here: https://code.google.com/p/guiqwt/issues/detail?id=68
Reported by HamfBohne, May 11, 2015
In any XYimage
double click on colorbar and choose scaling to logarithmic. Colobar vanishes, scaling is not changed accordingly
Axis scaling should change as it is choosen (lin/log). Colorbar reflecting the new colorbar.
Current python(x,y) on Windows. guidata 1.6.1, guiqwt 2.3.1
...which is wrong because no curve item is selected by default, and it throws the following error when activated:
Traceback (most recent call last):
File "C:\Python\guiqwt-qwt\guiqwt\tools.py", line 1219, in move
(curve, "∫ydx=%g", lambda *args: np.trapz(args[1], args[0])),
File "C:\Python\guiqwt-qwt\guiqwt\builder.py", line 1206, in computations
title = curve.curveparam.label
AttributeError: 'NoneType' object has no attribute 'curveparam'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.