SasView / sasview

Code for the SasView application.
BSD 3-Clause "New" or "Revised" License
47 stars 41 forks source link

Moving Sliders in Corfunc throws errors #2912

Open smk78 opened 1 week ago

smk78 commented 1 week ago

Describe the bug Moving the sliders (the Porod ones at least) in Corfunc throws the following error, although the sliders do update!

15:45:10 - ERROR: Traceback (most recent call last): File "sas\qtgui\Perspectives\Corfunc\CorfuncPerspective.py", line 636, in on_extrapolation_slider_changing File "sas\qtgui\Perspectives\Corfunc\QSpaceCanvas.py", line 45, in update_lines File "matplotlib\lines.py", line 1289, in set_xdata RuntimeError: x must be a sequence
15:45:10 - ERROR: Traceback (most recent call last): File "sas\qtgui\Perspectives\Corfunc\CorfuncPerspective.py", line 636, in on_extrapolation_slider_changing File "sas\qtgui\Perspectives\Corfunc\QSpaceCanvas.py", line 45, in update_lines File "matplotlib\lines.py", line 1289, in set_xdata RuntimeError: x must be a sequence
15:45:10 - ERROR: Traceback (most recent call last): File "sas\qtgui\Perspectives\Corfunc\CorfuncPerspective.py", line 636, in on_extrapolation_slider_changing File "sas\qtgui\Perspectives\Corfunc\QSpaceCanvas.py", line 45, in update_lines File "matplotlib\lines.py", line 1289, in set_xdata RuntimeError: x must be a sequence
lucas-wilkins commented 4 days ago

@smk78 I can't reproduce this.

smk78 commented 4 days ago

@lucas-wilkins , I can! W10/x64.

image

image

Grab righthand slider and drag.

image