Matplotlib version in Jupyter

I don?t know if this is the place to ask but why is the matplotlib version in my Jupyter different from that in numpy? I have 1.5 installed but Jupyter imports 1.4.3.

Thanks

Jo?o

You probably have to supply some more details to figure out what is going
on. I assume that you mean ipython and not numpy?
Jupyter can run several different kernels with different versions of python
so it could be a different version of python?

The easies way to figure out where python imports a library from is to do
something like

import matplotlib
print(matplotlib.__file__)

that will tell you the part to the top level file of the installation. Can
you try that and report back the result?

best
Jens

···

On Thu, 10 Dec 2015 at 21:29 Joao Fonseca <joao.q.fonseca at gmail.com> wrote:

I don?t know if this is the place to ask but why is the matplotlib version
in my Jupyter different from that in numpy? I have 1.5 installed but
Jupyter imports 1.4.3.

Thanks

Jo?o
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
Matplotlib-users Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151210/f0e1d9c1/attachment.html&gt;

Glad that you figured it out.
For future reference the output of `jupyter --data-dir` and `jupyter
--config-dir`
may be helpful for figuring out where jupyter stores its config files and
kernels. I guess that you had a Jupyter kernel which ran with your old
canopy python installation

best
Jens

···

On Thu, 10 Dec 2015 at 22:25 Joao Fonseca <joao.q.fonseca at gmail.com> wrote:

Fixed it. I removed all canopy files, then had to reinstall the ipython
kernel, although just reinstalling the kernel would have probably done the
trick. Thanks for your help, anyway.
> On 10 Dec 2015, at 21:36, Jens Nielsen <jenshnielsen at gmail.com> wrote:
>
> You probably have to supply some more details to figure out what is
going on. I assume that you mean ipython and not numpy?
> Jupyter can run several different kernels with different versions of
python so it could be a different version of python?
>
> The easies way to figure out where python imports a library from is to
do something like
>
> import matplotlib
> print(matplotlib.__file__)
>
> that will tell you the part to the top level file of the installation.
Can you try that and report back the result?
>
> best
> Jens
>
>
> On Thu, 10 Dec 2015 at 21:29 Joao Fonseca <joao.q.fonseca at gmail.com> > wrote:
> I don?t know if this is the place to ask but why is the matplotlib
version in my Jupyter different from that in numpy? I have 1.5 installed
but Jupyter imports 1.4.3.
>
> Thanks
>
> Jo?o
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> Matplotlib-users Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151211/b40c3d82/attachment.html&gt;