SheffieldML / notebook

Collection of jupyter notebooks for demonstrating software.
BSD 3-Clause "New" or "Revised" License
163 stars 107 forks source link

Migrate matplotlib matplot_dep to Python 3.4 #5

Open finmod opened 9 years ago

finmod commented 9 years ago

Running these demo notebooks with the following configuration: Python 3.4.3, IPython 4.0, OS Windows 8.6.2.9200, conda 3.17.0, GPy 0.8.8, matplotlib 1.4.3, numpy 1.9.2.

There are some plotting issues with matplotlib and matplot_dep in the migration from MATLAB-like API to matplotlib object-oriented API. In short, the "from pylab import..." is no longer acceptable to Python 3.4. The same for plotting.matplot_dep in GPy-0.8.8.

Also similar problems in building datasets with pods. Is there a standard "conda install" or "pip install" for pods?

mzwiessele commented 9 years ago

Yes pip install pods

I tried to get every 'from pylab import' out and replace it with 'from matplotlib import pyplot as plt', does this work in 3.4?

On 15/09/15 14:34, finmod wrote:

Running these demo notebooks with the following configuration: Python 3.4.3, IPython 4.0, OS Windows 8.6.2.9200, conda 3.17.0, GPy 0.8.8, matplotlib 1.4.3, numpy 1.9.2.

There are some plotting issues with matplotlib and matplot_dep in the migration from MATLAB-like API to matplotlib object-oriented API. In short, the "from pylab import..." is no longer acceptable to Python 3.4. The same for plotting.matplot_dep in GPy-0.8.8.

Also similar problems in building datasets with pods. Is there a standard "conda install" or "pip install" for pods?

— Reply to this email directly or view it on GitHub https://github.com/SheffieldML/notebook/issues/5.

finmod commented 9 years ago

I installed one more time GPy devel this morning (0.8.8). Just looked into matplot_dev, bases_plot, models_plot, priors_plot. They are still on the old template. Init_conf.py should also be aligned.

On Python 3.4, this morning’s version was not working. Calculations are fine so far on almost all tests.

Denis Richard *


*

From: Max Zwiessele [mailto:notifications@github.com] Sent: Tuesday, September 15, 2015 3:42 PM To: SheffieldML/notebook notebook@noreply.github.com Cc: finmod denis.richard@dr.com Subject: Re: [notebook] Migrate matplotlib matplot_dep to Python 3.4 (#5)

Yes pip install pods

I tried to get every 'from pylab import' out and replace it with 'from matplotlib import pyplot as plt', does this work in 3.4?

On 15/09/15 14:34, finmod wrote:

Running these demo notebooks with the following configuration: Python 3.4.3, IPython 4.0, OS Windows 8.6.2.9200, conda 3.17.0, GPy 0.8.8, matplotlib 1.4.3, numpy 1.9.2.

There are some plotting issues with matplotlib and matplot_dep in the migration from MATLAB-like API to matplotlib object-oriented API. In short, the "from pylab import..." is no longer acceptable to Python 3.4. The same for plotting.matplot_dep in GPy-0.8.8.

Also similar problems in building datasets with pods. Is there a standard "conda install" or "pip install" for pods?

— Reply to this email directly or view it on GitHub https://github.com/SheffieldML/notebook/issues/5.

— Reply to this email directly or view it on GitHub https://github.com/SheffieldML/notebook/issues/5#issuecomment-140396798 . https://github.com/notifications/beacon/AMHyIhTuAHYSmHd2Zo-RhdYoLwv0IVnxks5oyBeugaJpZM4F9n4a.gif

mzwiessele commented 9 years ago

Could you please cross link an issue on GPy, so we can fix it. Thanks

On 15/09/15 14:50, finmod wrote:

I installed one more time GPy devel this morning (0.8.8). Just looked into matplot_dev, bases_plot, models_plot, priors_plot. They are still on the old template. Init_conf.py should also be aligned.

On Python 3.4, this morning’s version was not working. Calculations are fine so far on almost all tests.

Denis Richard *


*

  • Via Panama, 88
  • Rome 00198, Italy
  • Tel: +39 06 83 90 66 29
  • Cel: +39 32 79 76 12 96
  • Email: denis.richard@dr.com *

From: Max Zwiessele [mailto:notifications@github.com] Sent: Tuesday, September 15, 2015 3:42 PM To: SheffieldML/notebook notebook@noreply.github.com Cc: finmod denis.richard@dr.com Subject: Re: [notebook] Migrate matplotlib matplot_dep to Python 3.4 (#5)

Yes pip install pods

I tried to get every 'from pylab import' out and replace it with 'from matplotlib import pyplot as plt', does this work in 3.4?

On 15/09/15 14:34, finmod wrote:

Running these demo notebooks with the following configuration: Python 3.4.3, IPython 4.0, OS Windows 8.6.2.9200, conda 3.17.0, GPy 0.8.8, matplotlib 1.4.3, numpy 1.9.2.

There are some plotting issues with matplotlib and matplot_dep in the migration from MATLAB-like API to matplotlib object-oriented API. In short, the "from pylab import..." is no longer acceptable to Python 3.4. The same for plotting.matplot_dep in GPy-0.8.8.

Also similar problems in building datasets with pods. Is there a standard "conda install" or "pip install" for pods?

— Reply to this email directly or view it on GitHub https://github.com/SheffieldML/notebook/issues/5.

— Reply to this email directly or view it on GitHub https://github.com/SheffieldML/notebook/issues/5#issuecomment-140396798 . https://github.com/notifications/beacon/AMHyIhTuAHYSmHd2Zo-RhdYoLwv0IVnxks5oyBeugaJpZM4F9n4a.gif

— Reply to this email directly or view it on GitHub https://github.com/SheffieldML/notebook/issues/5#issuecomment-140400234.