Python Code (with Matplotlib) export does not work if shape or size are defined
What's wrong?
Scatter Plot widget does not save any file when trying to save the Python Code (with Matplotlib)(*.py)
How can we reproduce the problem?
For example, 1.Use the Liver spectroscopy (Collagen) Orange dataset, 2.Plot data with Scatter Plot widget, 3. Click on save and select Python Code, after clicking on save, it does not save any *.py file.
What's your environment?
- Operating system: Windows 11
- Orange version: 3.40.0
- How you installed Orange: Directly by downloading the .exe file
Hey! I may be able to help with this bug.
I build custom fixes for Python projects and automation systems.
If you'd like help resolving this issue quickly feel free to reach out.
Happy to take a look 👍
It works for me. I'm perplexed by the dialog at the top left of your screenshot. Are you sure that you're looking at the correct directory?
Hello, I just tried in another computer and it is working, so there might be something wrong with my Orange installation, I will reinstall it.
Thanks a lot for your prompt response.
Actually, I think just found the bug, if you have the same Shape for the plot points, saving the *.py works, but if you have different shapes, for example using its "type" then it does not save any file:
I was able to replicate the bug on my Mac.
Thanks for diagnosing and reporting. PR with a fix is in a dependency (orange-widget-base).