jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Bug]: Flexplot image editing does not work #2833

Open bmatyasb opened 1 month ago

bmatyasb commented 1 month ago

JASP Version

0.19.0

Commit ID

No response

JASP Module

Descriptives

What analysis are you seeing the problem on?

Flexplot

What OS are you seeing the problem on?

Windows 11

Bug Description

When editing the generated flexplot, an error message is displayed when setting the axis limits. This is not consistent, sometimes it comes up, sometimes not. But if it comes up, you cannot edit the plot any further. I don't know if this is the case with other plots. The flexplot in Visual Modelling didn't have the problem after repeated attempts, only the Descriptive Statistics flexplot. image

Expected Behaviour

Simply set the axis limits.

Steps to Reproduce

loading iris data create flexplot, (y = Sepal.Length, Petal.Width) click on image edit change the limits of the x or y axis

Log (if any)

JASP 2024-07-19 07_33_42 Engine 0.log JASP 2024-07-19 07_33_42 Desktop.log JASP 2024-07-19 07_33_42 Engine 1.log

Final Checklist

tomtomme commented 1 month ago

@bmatyasb thx for the report! Can you share the .jasp file by renaming to .zip and drag and dropping it here? Or is the iris data part of the data lib? thx

bmatyasb commented 1 month ago

Yes, it is part of the data lib.

Thomas Langkamp @.***> ezt írta (időpont: 2024. júl. 25., Cs 13:35):

@bmatyasb https://github.com/bmatyasb thx for the report! Can you share the .jasp file by renaming to .zip and drag and dropping it here? Or is the iris data part of the data lib? thx

— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/2833#issuecomment-2250114707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVW2D7LXAINMWCEAKPEW22LZODPJHAVCNFSM6AAAAABLD6JCGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJQGEYTINZQG4 . You are receiving this because you were mentioned.Message ID: @.***>

tomtomme commented 1 month ago

Where can I find it exactly?

tomtomme commented 1 month ago

I really cannot find a data file called iris in the data library. Also the documentation of the data library does not mention a variable "petal.width"

bmatyasb commented 1 month ago

In the software it is in the machine learning library, called iris. I'm not on the computer at the moment, but I'll do a print screen soon.

Thomas Langkamp @.***> ezt írta (időpont: 2024. júl. 26., P 18:38):

I really cannot find a data file called iris in the data library. Also the documentation of the data library does not mention a variable "petal.width"

— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/2833#issuecomment-2253114064, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVW2D7OOBS77Z2O3CS2E2TTZOJ3RXAVCNFSM6AAAAABLD6JCGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTGEYTIMBWGQ . You are receiving this because you were mentioned.Message ID: @.***>

tomtomme commented 1 month ago

got it, thx! If I choose the marked options it works. grafik

Choosing "based on data" and setting y to start from 1 does have no effect at all for me. I also do not get an error message. Maybe this is a Win 11 error (I am on linux flatpak).

@boutinb or @dustinfife Can you test changing the y-axis for on Win 10 or 11 to confirm the error? File here: iris.zip

mlotinga commented 3 weeks ago

I'm also experiencing exactly the same error for flexplot in JASP 0.19.0 on Windows 11 - both axes.

It worked fine in 0.18.3 (in Windows 11).

mlotinga commented 3 weeks ago

I reinstalled JASP 0.18.3.0 followed by reinstalling JASP 0.19.0.0 and now the issue seems to have gone away for me. Weird.

tomtomme commented 1 week ago

@mlotinga Strange. Maybe there were old config-files or cache-files somewhere that lead to this?

@bmatyasb maybe you could also go that route of reinstalling 0.18.3 and then reinstalling 0.19 to see if this helps you too? Or even installing via windows store instead of the msi-installer from our homepage?