Closed astro4dev closed 7 years ago
Which version of python and matplotlib are you using?
$ python
Python 2.7.9 (default, Jun 29 2016, 13:08:31)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print (sys.version)
2.7.9 (default, Jun 29 2016, 13:08:31)
[GCC 4.9.2]
>>> import matplotlib
>>> matplotlib.__version__
'1.4.2'
So Python 2.7.9 and matplotlib 1.4.2.
I will be changing to my own profile.
The notebook is indeed written in python 3. Try to run it in python3 and let me know if it still doesn't work. Including the mention "python3 compatible" sounds sensible. I can try to make a python2.7 version of the notebook if necessary and see if it works.
I actually think that it would be great to create a virtual environment with a list of packages. It would make people's life easier. What do you think ?
I was running Python 3 all the time as shown by Jupyter in the upper right corner. The issue is that a file is missing:
ERROR:root:File `'fig_config.py'` not found.
Could you perhaps upload this file?
I think that a list of packages are good. If python 2.7 works, great, but don't worry about making it backwards compatible. I am happy to only support Python 3.
Oh I see, I know what's wrong now. Give me a minute (or two) and it will be solved.
Also in In [6] I see that I changed some code by mistake. It says: run gmm_fig_style.py but it should be run fig_config.py.
Don't worry I am cleaning my mess now. I have updated the notebook for the original paper as well and forgot to update this one. As a consequence half of the modification were done and of course bugs everywhere. Sorry for that!
No problem. This is giving me good github practice! :)
Running the code below:
I get:
I have merged the error to the master branch so you can view the entire error.