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

xkcd() not working #48

Closed
freddycct opened this issue Apr 11, 2014 · 2 comments
Closed

xkcd() not working #48

freddycct opened this issue Apr 11, 2014 · 2 comments

Comments

@freddycct
Copy link

In ipython notebook,

i do the following
using PyPlot
xkcd()

and got this error

sf not defined
while loading In[6], in expression starting on line 1

stevengj added a commit that referenced this issue Apr 11, 2014
@stevengj
Copy link
Member

The error message was wrong, which should be fixed now. However, the real problem is that apparently your version of Matplotlib does not have the xkcd function.

@freddycct
Copy link
Author

import matplotlib
matplotlib.version
'1.1.1'

Ok, here's the problem. I installed matplotlib 1.3.1 through homebrew on OSX. It turns out that OSX already have matplotlib 1.1.1 installed. The PyPlot Julia uses is the built-in 1.1.1 matplotlib that came with OSX.

Need to set python path to use the matplotlib 1.3.1 installed by homebrew.

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

2 participants