Ask Your Question

OpenSauceCool's profile - activity

2022-09-07 13:24:57 +0200 commented answer Why is a png viewer not loading?

After install jupyter notebook, I run the code ./sage -n jupyter To open a jupyter notebook with sage, this works. Man

2022-09-07 13:24:01 +0200 marked best answer Why is a png viewer not loading?

Question 54175 is the same issue highlighted previously without solution.

This is so frustrating as it's the first time I'm using Sage and the whole process has been incredibly annoying to set up and I can't even view my plot!

I'm using SageMath 9.6, using Ubuntu on Windows.

Here's my code:

sage: vector_field(X, Y) = (0.9*X - 0.5*Y, 0.1*X + 0.8*Y)
sage: p = plot_vector_field(vector_field,
....:                       (X, -2, 2), (Y, -2, 2),
....:                       frame=False,
....:                       color="green",
....:                       plot_points=10,
....:                       axes_labels=("$X$", "$Y$"))
sage: show(p, aspect_ratio=1, figsize=5)
Launched png viewer for Graphics object consisting of 1 graphics primitive

But no png viewer is launched!

2022-09-07 13:24:01 +0200 received badge  Scholar (source)
2022-09-07 13:24:00 +0200 received badge  Supporter (source)
2022-09-07 12:52:09 +0200 commented question Why is a png viewer not loading?

Using WSL. I tried configuring following the first link, but I get the error Can't open display: localhost:0.0.

2022-09-06 16:47:34 +0200 received badge  Nice Question (source)
2022-09-06 15:46:51 +0200 received badge  Student (source)
2022-09-06 14:43:38 +0200 asked a question Why is a png viewer not loading?

Why is a png viewer not loading? Question 54175 is the same issue highlighted previously without solution. This is so