Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Benjamin Root
How did you start ipython?

On Sat, Feb 7, 2015 at 2:27 AM, fjanoos fjan...@yahoo.com wrote:

 hi Benjamin

 This sequence in a new notebook:

 %matplotlib nbagg
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 plt.plot(range(100))

 also results in exactly the same result - the figure placeholder (not sure
 what the exact term is) but no figure inside it.

 Regards.






   --
  *From:* Benjamin Root-2 [via matplotlib] [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=44814i=0
 *To:* fjanoos [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=44814i=1
 *Sent:* Thursday, February 5, 2015 9:45 PM
 *Subject:* Re: Matplotlib backend nbagg does not show figure in iPython
 Notebook

 Selecting a backend must be first before any other matplotlib actions.
 Typically, ipython magics (the %matplotlib commands) are kept at the top
 anyway.
 I hope that clears it up.
 Ben Root
 On Feb 5, 2015 5:22 PM, fjanoos [hidden email] wrote:

 Hello,

 I'm running the following configuration
 Python 2.7.6 (default, Feb  5 2015, 00:21:43)
 IPython 3.0.0-b1
 matplotlib '1.4.2'
 The version of the notebook server is 3.0.0-b1-ee6223a.
 This is running on linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian
 3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux

 I set up matplotlib as follows:
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 %matplotlib nbagg


 Then running this command:
  plt.plot(range(100))
 only displays a box (with resize, zoom, pan, etc controls)  - but does not
 show the figure itself (see figure).
 http://matplotlib.1069221.n5.nabble.com/file/n44812/Untitled.png
 Also, when I click on any part of the figure, I get a slew of the following
 message on stderr:
 [IPKernelApp] ERROR | No such comm: 29281512bed24f259572bc6f0ea8d249


 On the other hand,
  plt.plot(range(100))
  plt.show()
 shows nothing at all.

 However, this
 %matplotlib inline
 plt.plot(range(100))
 displays the figure as expected.

 What is going on ? How can I enable the new notebook backend for matplotlib
 ?

 Thanks.




 --
 View this message in context:
 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812.html
 Sent from the matplotlib - users mailing list archive at Nabble.com.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --

 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812p44813.html
  To unsubscribe from Matplotlib backend nbagg does not show figure in
 iPython Notebook, click here.
 NAML
 http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml



 --
 View this message in context: Re: Matplotlib backend nbagg does not show
 figure in iPython Notebook
 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812p44814.html

 Sent from the matplotlib - users mailing list archive
 http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html at
 Nabble.com.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, 

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Benjamin Root
Hmm, that should work. I notice that you are using the beta 3.0 ipython
release. Perhaps something is broken in the beta? Could you try downgrading
ipython (and the notebook server, they are separate packages, I think)?

Ben Root

P.S. - Do Reply-All so that your responses stay on the mailing list.


On Sat, Feb 7, 2015 at 2:02 PM, FJ fjan...@yahoo.com wrote:

 I'm running the ipython server on a remote linux machine and using chrome
 browser on my windows 7 desktop.

 I start the notebook with :

 ipython notebook --ip 0.0.0.0

 I've tried this both inside and out of a virtualenv  virtual environment
 with same results.

 thanks.

   --
  *From:* Benjamin Root ben.r...@ou.edu
 *To:* fjanoos fjan...@yahoo.com
 *Cc:* Matplotlib Users matplotlib-users@lists.sourceforge.net
 *Sent:* Saturday, February 7, 2015 9:24 AM
 *Subject:* Re: [Matplotlib-users] Matplotlib backend nbagg does not show
 figure in iPython Notebook

 How did you start ipython?

 On Sat, Feb 7, 2015 at 2:27 AM, fjanoos fjan...@yahoo.com wrote:

 hi Benjamin

 This sequence in a new notebook:

 %matplotlib nbagg
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 plt.plot(range(100))

 also results in exactly the same result - the figure placeholder (not sure
 what the exact term is) but no figure inside it.

 Regards.






   --
  *From:* Benjamin Root-2 [via matplotlib] [hidden email]
 *To:* fjanoos [hidden email]
 *Sent:* Thursday, February 5, 2015 9:45 PM
 *Subject:* Re: Matplotlib backend nbagg does not show figure in iPython
 Notebook

 Selecting a backend must be first before any other matplotlib actions.
 Typically, ipython magics (the %matplotlib commands) are kept at the top
 anyway.
 I hope that clears it up.
 Ben Root
 On Feb 5, 2015 5:22 PM, fjanoos [hidden email] wrote:

 Hello,

 I'm running the following configuration
 Python 2.7.6 (default, Feb  5 2015, 00:21:43)
 IPython 3.0.0-b1
 matplotlib '1.4.2'
 The version of the notebook server is 3.0.0-b1-ee6223a.
 This is running on linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian
 3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux

 I set up matplotlib as follows:
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 %matplotlib nbagg


 Then running this command:
  plt.plot(range(100))
 only displays a box (with resize, zoom, pan, etc controls)  - but does not
 show the figure itself (see figure).
 http://matplotlib.1069221.n5.nabble.com/file/n44812/Untitled.png
 Also, when I click on any part of the figure, I get a slew of the following
 message on stderr:
 [IPKernelApp] ERROR | No such comm: 29281512bed24f259572bc6f0ea8d249


 On the other hand,
  plt.plot(range(100))
  plt.show()
 shows nothing at all.

 However, this
 %matplotlib inline
 plt.plot(range(100))
 displays the figure as expected.

 What is going on ? How can I enable the new notebook backend for matplotlib
 ?

 Thanks.




 --
 View this message in context:
 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812.html
 Sent from the matplotlib - users mailing list archive at Nabble.com.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --

 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812p44813.html
  To unsubscribe from Matplotlib backend nbagg does not show figure in
 iPython Notebook, click here.
 NAML
 

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Benjamin Root
I am getting some test failures here and on master in the collections
module.

==
FAIL: __main__.test_regularpolycollection_rotate.test
--
Traceback (most recent call last):
  File /home/ben/miniconda/lib/python2.7/site-packages/nose/case.py, line
197, in runTest
self.test(*self.arg)
  File
/home/ben/.local/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py,
line 51, in failer
result = f(*args, **kwargs)
  File
/home/ben/.local/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py,
line 196, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close:
/home/ben/Programs/matplotlib/result_images/test_collections/regularpolycollection_rotate.png
vs.
/home/ben/Programs/matplotlib/result_images/test_collections/regularpolycollection_rotate-expected.png
(RMS 54.618)

==
FAIL: __main__.test_regularpolycollection_scale.test
--
Traceback (most recent call last):
  File /home/ben/miniconda/lib/python2.7/site-packages/nose/case.py, line
197, in runTest
self.test(*self.arg)
  File
/home/ben/.local/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py,
line 51, in failer
result = f(*args, **kwargs)
  File
/home/ben/.local/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py,
line 196, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close:
/home/ben/Programs/matplotlib/result_images/test_collections/regularpolycollection_scale.png
vs.
/home/ben/Programs/matplotlib/result_images/test_collections/regularpolycollection_scale-expected.png
(RMS 120.828)

--
Ran 54 tests in 15.149s

FAILED (failures=2)



The squares in the first test are larger than they should be. I have some
other errors, but they seem to other be floating point errors, or issues
with fonts.

Ben Root


On Sat, Feb 7, 2015 at 4:46 PM, Thomas Caswell tcasw...@gmail.com wrote:

 Sandro,

 Well, creating the tarball on GH is a lot easier for us as it happens
 automatically!  I don't want to unilaterally change policy so I will create
 the files on SF.

 If you want to tracking GH for debian instead of SF I don't think that
 would be a bad idea, but I don't know how much of a hassle that would be
 for you.

 Tom

 On Sat Feb 07 2015 at 4:14:36 PM Sandro Tosi mo...@debian.org wrote:

 On Sat, Feb 7, 2015 at 9:05 PM, Thomas Caswell tcasw...@gmail.com
 wrote:
  Sandro,
 
  Can you use the tarball from github
  (https://github.com/matplotlib/matplotlib/archive/v1.4.3rc1.tar.gz ?)

 Sure I can, but since all the previous release (even RC) were done one
 SF, we have our tools to monitor and download new releases pointing to
 SF: do you plan to switch to GH for releasing tarballs too?

 Cheers,
 --
 Sandro Tosi (aka morph, morpheus, matrixhasu)
 My website: http://matrixhasu.altervista.org/
 Me at Debian: http://wiki.debian.org/SandroTosi



 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-devel mailing list
 matplotlib-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Sandro Tosi
On Sat, Feb 7, 2015 at 9:05 PM, Thomas Caswell tcasw...@gmail.com wrote:
 Sandro,

 Can you use the tarball from github
 (https://github.com/matplotlib/matplotlib/archive/v1.4.3rc1.tar.gz ?)

Sure I can, but since all the previous release (even RC) were done one
SF, we have our tools to monitor and download new releases pointing to
SF: do you plan to switch to GH for releasing tarballs too?

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread FJ
Upgrading matlplotlib to the git head version  worked perfectly.
Thanks !
  From: Thomas Caswell tcasw...@gmail.com
 To: Benjamin Root ben.r...@ou.edu 
Cc: FJ fjan...@yahoo.com; Matplotlib Users 
matplotlib-users@lists.sourceforge.net 
 Sent: Saturday, February 7, 2015 4:25 PM
 Subject: Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure 
in iPython Notebook
   
Yes, I think that if you want to use ipython 3.0 you need to use mpl 1.4.3 or 
master.

Tom


On Sat Feb 07 2015 at 4:21:19 PM Benjamin Root ben.r...@ou.edu wrote:

So, the user needs to use 1.4.3?

On Sat, Feb 7, 2015 at 4:17 PM, Thomas Caswell tcasw...@gmail.com wrote:

See https://github.com/ipython/ipython/issues/7351 and 
https://github.com/matplotlib/matplotlib/pull/4002

On Sat Feb 07 2015 at 4:15:26 PM Benjamin Root ben.r...@ou.edu wrote:

Hmm, that should work. I notice that you are using the beta 3.0 ipython 
release. Perhaps something is broken in the beta? Could you try downgrading 
ipython (and the notebook server, they are separate packages, I think)?

Ben Root

P.S. - Do Reply-All so that your responses stay on the mailing list.


On Sat, Feb 7, 2015 at 2:02 PM, FJ fjan...@yahoo.com wrote:

I'm running the ipython server on a remote linux machine and using chrome 
browser on my windows 7 desktop.
I start the notebook with :
ipython notebook --ip 0.0.0.0   
I've tried this both inside and out of a virtualenv  virtual environment with 
same results.
thanks.
  From: Benjamin Root ben.r...@ou.edu
 To: fjanoos fjan...@yahoo.com 
Cc: Matplotlib Users matplotlib-users@lists.sourceforge.net 
 Sent: Saturday, February 7, 2015 9:24 AM
 Subject: Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure 
in iPython Notebook
  

 
How did you start ipython?

On Sat, Feb 7, 2015 at 2:27 AM, fjanoos fjan...@yahoo.com wrote:

hi Benjamin
This sequence in a new notebook:
%matplotlib nbaggimport matplotlib as mpl
import matplotlib.pyplot as pltplt.plot(range(100))
also results in exactly the same result - the figure placeholder (not sure what 
the exact term is) but no figure inside it.
Regards.





  From: Benjamin Root-2 [via matplotlib] [hidden email]
 To: fjanoos [hidden email] 
 Sent: Thursday, February 5, 2015 9:45 PM
 Subject: Re: Matplotlib backend nbagg does not show figure in iPython Notebook
   
 Selecting a backend must be first before any other matplotlib actions. 
Typically, ipython magics (the %matplotlib commands) are kept at the top 
anyway.I hope that clears it up.Ben RootOn Feb 5, 2015 5:22 PM, fjanoos 
[hidden email] wrote:

Hello,

I'm running the following configuration
Python 2.7.6 (default, Feb  5 2015, 00:21:43)
IPython 3.0.0-b1
matplotlib '1.4.2'
The version of the notebook server is 3.0.0-b1-ee6223a.
This is running on linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian
3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux

I set up matplotlib as follows:
import matplotlib as mpl
import matplotlib.pyplot as plt
%matplotlib nbagg


Then running this command:
 plt.plot(range(100))
only displays a box (with resize, zoom, pan, etc controls)  - but does not
show the figure itself (see figure).
http://matplotlib.1069221.n5.nabble.com/file/n44812/Untitled.png
Also, when I click on any part of the figure, I get a slew of the following
message on stderr:
[IPKernelApp] ERROR | No such comm: 29281512bed24f259572bc6f0ea8d249


On the other hand,
 plt.plot(range(100))
 plt.show()
shows nothing at all.

However, this
%matplotlib inline
plt.plot(range(100))
displays the figure as expected.

What is going on ? How can I enable the new notebook backend for matplotlib
?

Thanks.




--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
[hidden email]

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Thomas Caswell
See https://github.com/ipython/ipython/issues/7351 and
https://github.com/matplotlib/matplotlib/pull/4002

On Sat Feb 07 2015 at 4:15:26 PM Benjamin Root ben.r...@ou.edu wrote:

 Hmm, that should work. I notice that you are using the beta 3.0 ipython
 release. Perhaps something is broken in the beta? Could you try downgrading
 ipython (and the notebook server, they are separate packages, I think)?

 Ben Root

 P.S. - Do Reply-All so that your responses stay on the mailing list.


 On Sat, Feb 7, 2015 at 2:02 PM, FJ fjan...@yahoo.com wrote:

 I'm running the ipython server on a remote linux machine and using chrome
 browser on my windows 7 desktop.

 I start the notebook with :

 ipython notebook --ip 0.0.0.0

 I've tried this both inside and out of a virtualenv  virtual environment
 with same results.

 thanks.

   --
  *From:* Benjamin Root ben.r...@ou.edu
 *To:* fjanoos fjan...@yahoo.com
 *Cc:* Matplotlib Users matplotlib-users@lists.sourceforge.net
 *Sent:* Saturday, February 7, 2015 9:24 AM
 *Subject:* Re: [Matplotlib-users] Matplotlib backend nbagg does not show
 figure in iPython Notebook


 How did you start ipython?

 On Sat, Feb 7, 2015 at 2:27 AM, fjanoos fjan...@yahoo.com wrote:

 hi Benjamin

 This sequence in a new notebook:

 %matplotlib nbagg
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 plt.plot(range(100))

 also results in exactly the same result - the figure placeholder (not
 sure what the exact term is) but no figure inside it.

 Regards.






   --
  *From:* Benjamin Root-2 [via matplotlib] [hidden email]
 *To:* fjanoos [hidden email]
 *Sent:* Thursday, February 5, 2015 9:45 PM
 *Subject:* Re: Matplotlib backend nbagg does not show figure in iPython
 Notebook

 Selecting a backend must be first before any other matplotlib actions.
 Typically, ipython magics (the %matplotlib commands) are kept at the top
 anyway.
 I hope that clears it up.
 Ben Root
 On Feb 5, 2015 5:22 PM, fjanoos [hidden email] wrote:

 Hello,

 I'm running the following configuration
 Python 2.7.6 (default, Feb  5 2015, 00:21:43)
 IPython 3.0.0-b1
 matplotlib '1.4.2'
 The version of the notebook server is 3.0.0-b1-ee6223a.
 This is running on linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian
 3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux

 I set up matplotlib as follows:
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 %matplotlib nbagg


 Then running this command:
  plt.plot(range(100))
 only displays a box (with resize, zoom, pan, etc controls)  - but does not
 show the figure itself (see figure).
 http://matplotlib.1069221.n5.nabble.com/file/n44812/Untitled.png
 Also, when I click on any part of the figure, I get a slew of the
 following
 message on stderr:
 [IPKernelApp] ERROR | No such comm: 29281512bed24f259572bc6f0ea8d249


 On the other hand,
  plt.plot(range(100))
  plt.show()
 shows nothing at all.

 However, this
 %matplotlib inline
 plt.plot(range(100))
 displays the figure as expected.

 What is going on ? How can I enable the new notebook backend for
 matplotlib
 ?

 Thanks.




 --
 View this message in context:
 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812.html
 Sent from the matplotlib - users mailing list archive at Nabble.com.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --

 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take
 a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812p44813.html
  To unsubscribe from Matplotlib backend nbagg does not show figure in
 iPython Notebook, click here.
 NAML
 

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Benjamin Root
So, the user needs to use 1.4.3?

On Sat, Feb 7, 2015 at 4:17 PM, Thomas Caswell tcasw...@gmail.com wrote:

 See https://github.com/ipython/ipython/issues/7351 and
 https://github.com/matplotlib/matplotlib/pull/4002

 On Sat Feb 07 2015 at 4:15:26 PM Benjamin Root ben.r...@ou.edu wrote:

 Hmm, that should work. I notice that you are using the beta 3.0 ipython
 release. Perhaps something is broken in the beta? Could you try downgrading
 ipython (and the notebook server, they are separate packages, I think)?

 Ben Root

 P.S. - Do Reply-All so that your responses stay on the mailing list.


 On Sat, Feb 7, 2015 at 2:02 PM, FJ fjan...@yahoo.com wrote:

 I'm running the ipython server on a remote linux machine and using
 chrome browser on my windows 7 desktop.

 I start the notebook with :

 ipython notebook --ip 0.0.0.0

 I've tried this both inside and out of a virtualenv  virtual environment
 with same results.

 thanks.

   --
  *From:* Benjamin Root ben.r...@ou.edu
 *To:* fjanoos fjan...@yahoo.com
 *Cc:* Matplotlib Users matplotlib-users@lists.sourceforge.net
 *Sent:* Saturday, February 7, 2015 9:24 AM
 *Subject:* Re: [Matplotlib-users] Matplotlib backend nbagg does not
 show figure in iPython Notebook


 How did you start ipython?

 On Sat, Feb 7, 2015 at 2:27 AM, fjanoos fjan...@yahoo.com wrote:

 hi Benjamin

 This sequence in a new notebook:

 %matplotlib nbagg
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 plt.plot(range(100))

 also results in exactly the same result - the figure placeholder (not
 sure what the exact term is) but no figure inside it.

 Regards.






   --
  *From:* Benjamin Root-2 [via matplotlib] [hidden email]
 *To:* fjanoos [hidden email]
 *Sent:* Thursday, February 5, 2015 9:45 PM
 *Subject:* Re: Matplotlib backend nbagg does not show figure in iPython
 Notebook

 Selecting a backend must be first before any other matplotlib actions.
 Typically, ipython magics (the %matplotlib commands) are kept at the top
 anyway.
 I hope that clears it up.
 Ben Root
 On Feb 5, 2015 5:22 PM, fjanoos [hidden email] wrote:

 Hello,

 I'm running the following configuration
 Python 2.7.6 (default, Feb  5 2015, 00:21:43)
 IPython 3.0.0-b1
 matplotlib '1.4.2'
 The version of the notebook server is 3.0.0-b1-ee6223a.
 This is running on linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian
 3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux

 I set up matplotlib as follows:
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 %matplotlib nbagg


 Then running this command:
  plt.plot(range(100))
 only displays a box (with resize, zoom, pan, etc controls)  - but does
 not
 show the figure itself (see figure).
 http://matplotlib.1069221.n5.nabble.com/file/n44812/Untitled.png
 Also, when I click on any part of the figure, I get a slew of the
 following
 message on stderr:
 [IPKernelApp] ERROR | No such comm: 29281512bed24f259572bc6f0ea8d249


 On the other hand,
  plt.plot(range(100))
  plt.show()
 shows nothing at all.

 However, this
 %matplotlib inline
 plt.plot(range(100))
 displays the figure as expected.

 What is going on ? How can I enable the new notebook backend for
 matplotlib
 ?

 Thanks.




 --
 View this message in context:
 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812.html
 Sent from the matplotlib - users mailing list archive at Nabble.com.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take
 a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --

 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take
 a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812p44813.html
  To unsubscribe from Matplotlib backend nbagg does not show figure in
 

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Thomas Caswell
Sandro,

Well, creating the tarball on GH is a lot easier for us as it happens
automatically!  I don't want to unilaterally change policy so I will create
the files on SF.

If you want to tracking GH for debian instead of SF I don't think that
would be a bad idea, but I don't know how much of a hassle that would be
for you.

Tom

On Sat Feb 07 2015 at 4:14:36 PM Sandro Tosi mo...@debian.org wrote:

 On Sat, Feb 7, 2015 at 9:05 PM, Thomas Caswell tcasw...@gmail.com wrote:
  Sandro,
 
  Can you use the tarball from github
  (https://github.com/matplotlib/matplotlib/archive/v1.4.3rc1.tar.gz ?)

 Sure I can, but since all the previous release (even RC) were done one
 SF, we have our tools to monitor and download new releases pointing to
 SF: do you plan to switch to GH for releasing tarballs too?

 Cheers,
 --
 Sandro Tosi (aka morph, morpheus, matrixhasu)
 My website: http://matrixhasu.altervista.org/
 Me at Debian: http://wiki.debian.org/SandroTosi

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Sandro Tosi
Hi Thomas,

On Mon, Feb 2, 2015 at 5:37 AM, Thomas Caswell tcasw...@gmail.com wrote:
 Evening all,

 I have tagged the first release candidate for v1.4.3
 (https://github.com/matplotlib/matplotlib/releases/tag/v1.4.3rc1).
...
 Please kick the tires and give it a try!  If there are no major issues, the
 plan is to target 1.4.3 for next weekend.

could you also release a tarball on SF, so I can start updating the
debian package and give it a spin on our distro?

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Thomas Caswell
Sandro,

Can you use the tarball from github (
https://github.com/matplotlib/matplotlib/archive/v1.4.3rc1.tar.gz ?)

Tom

On Sat Feb 07 2015 at 4:01:01 PM Sandro Tosi mo...@debian.org wrote:

 Hi Thomas,

 On Mon, Feb 2, 2015 at 5:37 AM, Thomas Caswell tcasw...@gmail.com wrote:
  Evening all,
 
  I have tagged the first release candidate for v1.4.3
  (https://github.com/matplotlib/matplotlib/releases/tag/v1.4.3rc1).
 ...
  Please kick the tires and give it a try!  If there are no major issues,
 the
  plan is to target 1.4.3 for next weekend.

 could you also release a tarball on SF, so I can start updating the
 debian package and give it a spin on our distro?

 Cheers,
 --
 Sandro Tosi (aka morph, morpheus, matrixhasu)
 My website: http://matrixhasu.altervista.org/
 Me at Debian: http://wiki.debian.org/SandroTosi

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Thomas Caswell
Yes, I think that if you want to use ipython 3.0 you need to use mpl 1.4.3
or master.

Tom

On Sat Feb 07 2015 at 4:21:19 PM Benjamin Root ben.r...@ou.edu wrote:

 So, the user needs to use 1.4.3?

 On Sat, Feb 7, 2015 at 4:17 PM, Thomas Caswell tcasw...@gmail.com wrote:

 See https://github.com/ipython/ipython/issues/7351 and
 https://github.com/matplotlib/matplotlib/pull/4002

 On Sat Feb 07 2015 at 4:15:26 PM Benjamin Root ben.r...@ou.edu wrote:

 Hmm, that should work. I notice that you are using the beta 3.0 ipython
 release. Perhaps something is broken in the beta? Could you try downgrading
 ipython (and the notebook server, they are separate packages, I think)?

 Ben Root

 P.S. - Do Reply-All so that your responses stay on the mailing list.


 On Sat, Feb 7, 2015 at 2:02 PM, FJ fjan...@yahoo.com wrote:

 I'm running the ipython server on a remote linux machine and using
 chrome browser on my windows 7 desktop.

 I start the notebook with :

 ipython notebook --ip 0.0.0.0

 I've tried this both inside and out of a virtualenv  virtual
 environment with same results.

 thanks.

   --
  *From:* Benjamin Root ben.r...@ou.edu
 *To:* fjanoos fjan...@yahoo.com
 *Cc:* Matplotlib Users matplotlib-users@lists.sourceforge.net
 *Sent:* Saturday, February 7, 2015 9:24 AM
 *Subject:* Re: [Matplotlib-users] Matplotlib backend nbagg does not
 show figure in iPython Notebook


 How did you start ipython?

 On Sat, Feb 7, 2015 at 2:27 AM, fjanoos fjan...@yahoo.com wrote:

 hi Benjamin

 This sequence in a new notebook:

 %matplotlib nbagg
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 plt.plot(range(100))

 also results in exactly the same result - the figure placeholder (not
 sure what the exact term is) but no figure inside it.

 Regards.






   --
  *From:* Benjamin Root-2 [via matplotlib] [hidden email]
 *To:* fjanoos [hidden email]
 *Sent:* Thursday, February 5, 2015 9:45 PM
 *Subject:* Re: Matplotlib backend nbagg does not show figure in
 iPython Notebook

 Selecting a backend must be first before any other matplotlib actions.
 Typically, ipython magics (the %matplotlib commands) are kept at the top
 anyway.
 I hope that clears it up.
 Ben Root
 On Feb 5, 2015 5:22 PM, fjanoos [hidden email] wrote:

 Hello,

 I'm running the following configuration
 Python 2.7.6 (default, Feb  5 2015, 00:21:43)
 IPython 3.0.0-b1
 matplotlib '1.4.2'
 The version of the notebook server is 3.0.0-b1-ee6223a.
 This is running on linux 3.16.0-0.bpo.4-amd64 #1 SMP Debian
 3.16.7-ckt2-1~bpo70+1 (2014-12-08) x86_64 GNU/Linux

 I set up matplotlib as follows:
 import matplotlib as mpl
 import matplotlib.pyplot as plt
 %matplotlib nbagg


 Then running this command:
  plt.plot(range(100))
 only displays a box (with resize, zoom, pan, etc controls)  - but does
 not
 show the figure itself (see figure).
 http://matplotlib.1069221.n5.nabble.com/file/n44812/Untitled.png
 Also, when I click on any part of the figure, I get a slew of the
 following
 message on stderr:
 [IPKernelApp] ERROR | No such comm: 29281512bed24f259572bc6f0ea8d249


 On the other hand,
  plt.plot(range(100))
  plt.show()
 shows nothing at all.

 However, this
 %matplotlib inline
 plt.plot(range(100))
 displays the figure as expected.

 What is going on ? How can I enable the new notebook backend for
 matplotlib
 ?

 Thanks.




 --
 View this message in context:
 http://matplotlib.1069221.n5.nabble.com/Matplotlib-backend-nbagg-does-not-show-figure-in-iPython-Notebook-tp44812.html
 Sent from the matplotlib - users mailing list archive at Nabble.com.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more.
 Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --

 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more.
 Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Matplotlib-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
  If you reply to this email, your message will be added to the
 discussion below: