Hi,

I have the same issue. Installed Winston at 8:35pm Jan 27 EST, using ubuntu 
12.04.
julia> using Winston

julia> plot([1:10],[1:10])
error during Tk callback: 
ERROR: no method Rectangle(Int64,Int64,Int64,Int64)
 in PlotContext at /home/pengshi/.julia/Winston/src/Winston.jl:117
 in _context1 at /home/pengshi/.julia/Winston/src/Winston.jl:1177
 in exterior at /home/pengshi/.julia/Winston/src/Winston.jl:1195
 in interior at /home/pengshi/.julia/Winston/src/Winston.jl:1683
 in compose at /home/pengshi/.julia/Winston/src/Winston.jl:1747
 in page_compose at /home/pengshi/.julia/Winston/src/Winston.jl:1763
 in anonymous at /home/pengshi/.julia/Winston/src/tk.jl:45
 in draw at /home/pengshi/.julia/Tk/src/tkwidget.jl:251
 in configure at /home/pengshi/.julia/Tk/src/tkwidget.jl:246
 in init_canvas at /home/pengshi/.julia/Tk/src/tkwidget.jl:406
 in anonymous at /home/pengshi/.julia/Tk/src/tkwidget.jl:385
 in jl_tcl_callback at /home/pengshi/.julia/Tk/src/tkwidget.jl:145
FramedPlot(...)



On Monday, January 27, 2014 3:16:13 PM UTC-5, Mike Nolta wrote:
>
> Oops -- hopefully fixed now. Try `Pkg.update()`. 
>
> -Mike 
>
> On Mon, Jan 27, 2014 at 2:45 PM, Milos Hasan 
> <[email protected]<javascript:>> 
> wrote: 
> > Hi, 
> > 
> > I have a newbie question. When trying to plot using Winston on Linux, I 
> get: 
> > 
> > julia> x = linspace(-10, 10, 1000) 
> > 
> > julia> using Winston 
> > 
> > julia> plot(x, sin(x)) 
> > error during Tk callback: 
> > ERROR: no method Rectangle(Int64,Int64,Int64,Int64) 
> >  in PlotContext at /home/hasanm/.julia/Winston/src/Winston.jl:117 
> >  in _context1 at /home/hasanm/.julia/Winston/src/Winston.jl:1177 
> >  in exterior at /home/hasanm/.julia/Winston/src/Winston.jl:1195 
> >  in interior at /home/hasanm/.julia/Winston/src/Winston.jl:1683 
> >  in compose at /home/hasanm/.julia/Winston/src/Winston.jl:1747 
> >  in page_compose at /home/hasanm/.julia/Winston/src/Winston.jl:1763 
> >  in page_compose at /home/hasanm/.julia/Winston/src/Winston.jl:1751 
> >  in anonymous at /home/hasanm/.julia/Winston/src/tk.jl:45 
> >  in draw at /home/hasanm/.julia/Tk/src/tkwidget.jl:251 
> >  in configure at /home/hasanm/.julia/Tk/src/tkwidget.jl:246 
> >  in init_canvas at /home/hasanm/.julia/Tk/src/tkwidget.jl:406 
> >  in anonymous at /home/hasanm/.julia/Tk/src/tkwidget.jl:385 
> >  in jl_tcl_callback at /home/hasanm/.julia/Tk/src/tkwidget.jl:145 
> > FramedPlot(...) 
> > 
> > Same thing on Ubuntu 12.04 and 13.10. Winston installation was 
> successful. 
> > Any ideas? 
> > 
> > Thanks, 
> > Milos 
> > 
>

Reply via email to