-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converted image all black #20
Comments
Same issue here. Convert Image button turns the graph black. Tried installing your fix using pip command from a different post and still have the problem. Also tried using different data part types like area or stacked and it didn't change. Would be great to see a fix! |
@gcaha I used the pip command fixes from issue #21 and managed to get it to work, i.e. the converted image isn't all black. It initially did not work, but I think an important step is to uninstall previous matplotlib, as zhouborui97 commented, and install version 3.4.3. I still had issues with the automatic detection of sample points last time I used it, but uncertain whether that is due to image quality or something else. I made sure that I could still convert the image with the fix before commenting this though. |
Hi, I now rolled back matplotlib back to 3.4.3 and double checked version with pip list. Then reapplied the fix but still finding the problem. Did you also have to do the comment out line #59 in setup.py? I didn't do this step b/c the program launches, but just still turned the image black. I also tried reinstalling then reapplying the fix and made sure matplotlib stayed at 3.4.3 but no luck. I think there must be some other conflict or newer package that is conflicting now. Thank you for the help.
From: Mattias Sjölander ***@***.***>
Sent: Monday, May 9, 2022 3:10 AM
To: Chilipp/straditize ***@***.***>
Cc: Gabriel Cahalan ***@***.***>; Mention ***@***.***>
Subject: Re: [Chilipp/straditize] Converted image all black (#20)
@gcaha<https://github.com/gcaha> I used the pip command fixes from issue #21<#21> and managed to get it to work, i.e. the converted image isn't all black. It initially did not work, but I think an important step is to uninstall previous matplotlib, as zhouborui97 commented, and install version 3.4.3. I still had issues with the automatic detection of sample points last time I used it, but uncertain whether that is due to image quality or something else. I made sure that I could still convert the image with the fix before commenting this though.
-
Reply to this email directly, view it on GitHub<#20 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMR4FTTIJNGFTCOM47357JDVJC25TANCNFSM5F7EU3HA>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
That is too bad! It was some time back now, but I seem to remember that I did a fresh install, used the fix Chilipp added in the response to issue #22 and rolled back the matplotlib. I am unsure whether I used the first fix:
Or second approach: I at least know that I didn't need to comment out that one line in setup.py. |
Screenshot
Converted image turns fully black
Actual diagram for comparison
Problem description
After selecting the data the converted image turns all black as in screenshot above.
Expected Output
The converted image should be a binary (black/white) image of the actual diagram but instead fills the selected data area with black. I have attempted to reinstall straditize as well as update dependencies with no change. On a previous installation on my laptop straditize worked fine (spring/summer 2020), but upon installing recently on another computer this issue appears. Fresh install on my laptop created the same issue, this was needed as straditize would not launch on the laptop.
Environment information
psyplot -aV
psy_simple.plugin:
version: 1.4.0
psy_strat.plugin:
version: 0.1.0
psyplot:
requirements:
matplotlib: 3.4.3
numpy: 1.21.2
pandas: 1.3.3
python: 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:22:46) [MSC
v.1916 64 bit (AMD64)]
xarray: 0.19.0
version: 1.4.0
psyplot_gui:
requirements:
pyqt: 5.12.3
qt: 5.12.9
qtconsole: 5.1.1
version: 1.4.0
straditize -V
0.1.3
conda info -a
conda list
NOTE
This is a bug report.
For requesting new features, use this template.
For changing existing features, use this template.
The text was updated successfully, but these errors were encountered: