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

Error: add_plot_element not defined #543

Closed
abysmon opened this issue Feb 9, 2015 · 1 comment
Closed

Error: add_plot_element not defined #543

abysmon opened this issue Feb 9, 2015 · 1 comment

Comments

@abysmon
Copy link

abysmon commented Feb 9, 2015

I've got Julia 3.5 and Gadfly latest one. Tried running a sample code, but got stuck with add_plot_element not defined error message. I've tried Pkg.update() multiple times. Running on Win8 64bit. Maybe something is missing ? Below is the code I've tried running.
Edit: I'm using Juno as IDE.

using Gadfly
# gadfly sample
xs = [0:0.1:pi]
k = layer(x=xs, y=sin(xs))
add_plot_element(k, Guide.title("Now it has a title"))
p = plot(x=xs, y=sin(xs))
add_plot_element(p, Guide.title("Titular"))
add_plot_element(p, Guide.title("Now it has a title"))
display(p)
@Mattriks
Copy link
Member

This can be closed, since push! is documented

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

3 participants