-
Notifications
You must be signed in to change notification settings - Fork 250
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
Gadfly does not plot? #125
Comments
Note that you need to explicitly call @dcjones I think perhaps it might be good to explicitly state in the manual when Gadfly actually pops something up on screen (Only in IJulia I believe?) and when it only writes out to a file (only with explicit calls to |
a weird thing about runing the same code on Win64 is that, the file generated by |
@staticfloat Yeah, I should make that more clear. Really it should show the plot somehow when plot is called, I've just gotten so used using ijulia that I haven't bothered. @wlbksy I made a change recently that may explain that. Is that causing problems? |
I was expecting the generated figure is available right after call |
@wlbksy It should be fixed now. I didn't realize windows always locked open files. |
Just calling plot() does not give any visualization at all. Calling draw() works. Is this intended? If it is, the documentation does not say anything about it. Having the pictures right after the plot commands suggests that calling plot() would give an interactive window, like in most other plotting packages. |
It's probably something that should be added. At one point the behavior was to write a plot to a temporary file and try to open it in a web browser. That was a little clumsy, but it might be preferable to doing nothing. The alternative would be to use Gtk or Tk, which I'm not crazy about either because I want Gadfly to work without depending on external libraries. Also, |
+1 to "write a plot to a temporary file and try to open it in a web browser" |
Either way, I think the behavior should be documented in the tutorial. (I.e. "In order to actually see the plots, use draw().") |
Now calling This respects options set by |
P.S. I haven't tested this on windows, though it should work. Let me know if it doesn't. |
@dcjones doesn't look like it. Have you had a chance to address loladiro's comment here? 7a65b77#commitcomment-5922916 |
I forgot about that. It should work once again now. |
Thanks, but still didn't seem to work?
And nothing opens. PNG backend works to generate a file, but is more verbose. |
Doesn't work here either. I call EDIT:
works. |
Hello,
the following seems to give only trouble and unfortunately not plot:
Cheers,
Heinz
[aviks: format code block]
The text was updated successfully, but these errors were encountered: