Skip to content
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

"window not defined" #181

Open
weberc2 opened this issue Nov 14, 2014 · 7 comments
Open

"window not defined" #181

weberc2 opened this issue Nov 14, 2014 · 7 comments

Comments

@weberc2
Copy link

weberc2 commented Nov 14, 2014

Hi, I'm new to Julia, but when I run julia> id = figure(height=100, width=100, name="hello"), I get:

ERROR: window not defined
 in figure at /home/someone/.julia/v0.3/Winston/src/Winston.jl:2693

Am I doing something wrong? I'm not getting any information back from my Google searches...

@nolta
Copy link
Member

nolta commented Nov 14, 2014

How are you running julia? In a terminal, IJulia, etc.?

@weberc2
Copy link
Author

weberc2 commented Nov 14, 2014

In a terminal.
On Nov 13, 2014 7:46 PM, "Mike Nolta" [email protected] wrote:

How are you running julia? In a terminal, IJulia, etc.?


Reply to this email directly or view it on GitHub
#181 (comment).

@nolta
Copy link
Member

nolta commented Nov 14, 2014

Hmm, weird. I can't reproduce this.

@weberc2
Copy link
Author

weberc2 commented Nov 14, 2014

I just installed Julia from the releases apt repo (tonight), grabbed
Winston, and attempted the aforementioned command. I'm on Ubuntu 14.04.
On Nov 13, 2014 7:49 PM, "Mike Nolta" [email protected] wrote:

Hmm, weird. I can't reproduce this.


Reply to this email directly or view it on GitHub
#181 (comment).

@nolta
Copy link
Member

nolta commented Nov 14, 2014

I just tried on ubuntu1404 (although using a julia built from source), and didn't see this problem.

You don't see the warning

Selected Winston backend not found. You will not be able to display plots in a window

after using Winston?

@fullerf
Copy link

fullerf commented Sep 3, 2015

This error is showing up on my machine. Details:

running: Julia-0.4.0-dev-f42b2225fe
OS: OSX Mavericks
operating in: IJulia

I get the following error while attempting to execute
figure()

`LoadError: UndefVarError: window not defined
while loading In[19], in expression starting on line 1

in figure at /Users/fdfuller/.julia/v0.4/Winston/src/Winston.jl:2820`

Note: plotting works in IJulia, but I can only ever have one plot. Attempts to open a new plot or close the current plot all fail.

However, in the usual Julia REPL I receive no such error. figure() and closefig() work just fine.

@lahvak
Copy link

lahvak commented Oct 21, 2015

I see similar problem in IJulia.

julia version 0.3.11
Linux (Debian Sid)
IJulia 1.1.7

using figure() causes the "window not defined" error. I do not have any issues with plotting without using figure(), though, I can make as many plots as I want, using plot or FramedPlot. Also, figure() works fine when used form the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants