Closed srt7509 closed 1 week ago
Can you please paste your Zed version info into the issue description? cmd-shift-p
and copy specs to clipboard
If that error is coming up, the image
crate was unable to render it. If you can reliably run that same block again with that error, it might be helpful for us to see your matplotlibrc because I haven't been able to reproduce with your code.
When I ran the code it produced a valid image though I don't have the font:
If I switch to Arial Unicode MS I get:
Can you please paste your Zed version info into the issue description?
cmd-shift-p
andcopy specs to clipboard
Thanks a lot,I used Ver. 0.148.1 for learning last week, I will try it again using the latest version.
If that error is coming up, the
image
crate was unable to render it. If you can reliably run that same block again with that error, it might be helpful for us to see your matplotlibrc because I haven't been able to reproduce with your code.When I ran the code it produced a valid image though I don't have the font:
If I switch to Arial Unicode MS I get:
Thanks. The font problems in my code was showed up when I used other editor , such as VSC, Sublime. So I guess that is not the reason. I will using the latest version Zed and test again.
Sorry, the bug came again. I use Zed Preview 0.151.1 for Mac (Intel).
Zed: v0.151.1 (Zed Preview) OS: macOS 13.6.0 Memory: 16 GiB Architecture: x86_64
My code:
import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np
x = np.random.randint(low=2, high=10, size=10)
y = np.random.randint(low=2, high=10, size=10)
plt.scatter(x, y)
plt.title("hi")
plt.xlabel("x")
plt.ylabel("y")
plt.show()
I have a similar error in:
@cthed2 Reported a similar error in dev (0.154.x) in #18086. Reopening here, hopefully we can find some reproduction steps.
The R code executes fine, I can't view images generated by ggplot2. Instead, I receive the following error message.
Failed to load image: Invalid symbol 10, offset 72
2024-09-19T11:07:07.461096-05:00 [ERROR] Error { code: HRESULT(0x80070490), message: "No se ha encontrado el elemento." }
Settings:
"jupyter": {
"kernel_selections": {
"r": "ark"
}
}
The error still shows up in Zed Preview 0.156.0, hope you guys can fix it .
I'm also having a similar problem with Zed preview 0.156.1
I am also having the same issue with Zed 0.157.5
Check for existing issues
Describe the bug / provide steps to reproduce it
It shows "Failed to load image: Invalid symbol 10, offset 19812." after I run a python program with plotting function using Zed REPL. By the way, the results are all correct except no pictures showed.
Environment
Mac OS 13.6 , Miniconda Python 3.9
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log