Re: [go-nuts] gonum plot : font error

2021-05-18 Thread Fred
@Roland : I saw this change too, removing the error variable fix the problem :) Le mardi 18 mai 2021 à 12:44:40 UTC+2, rol...@gmail.com a écrit : > Hello, > > applying Carlas's solution I got a failure in line 20 since plot.New() > returns a pointer but no pointer, error pair. > > Only after

Re: [go-nuts] gonum plot : font error

2021-05-18 Thread Roland Müller
Hello, applying Carlas's solution I got a failure in line 20 since plot.New() returns a pointer but no pointer, error pair. Only after changing usage of New() I got the scatter-demo running. May be error message can be enhanced :-) scatter-demo]$ go build # scatter-demo ./main.go:20:9: assignme

Re: [go-nuts] gonum plot : font error

2021-05-17 Thread Fred
Thanks Carla and Sébastien for your quick answer ! Carla your solution works, when I use modules I do not have font errors. What is strange is that I was not using modules in any computer to try this example and it was working in one an not the other :) Le lundi 17 mai 2021 à 15:10:55 UTC+2,

Re: [go-nuts] gonum plot : font error

2021-05-17 Thread 'Sebastien Binet' via golang-nuts
Salut Fred, On Mon May 17, 2021 at 14:11 CET, Fred wrote: > Hi, > I have 2 computers with Linux Manjaro and go version 1.16.3. > The same scatter plot > works > on > one computer and produces on the other these already known errors

[go-nuts] gonum plot : font error

2021-05-17 Thread Fred
Hi, I have 2 computers with Linux Manjaro and go version 1.16.3. The same scatter plot works on one computer and produces on the other these already known errors : # gonum.or