On 2010-09-13 21:55, Benjamin Root wrote:
On Mon, Sep 13, 2010 at 2:38 PM, Virgil Stokes <v...@it.uu.se
<mailto:v...@it.uu.se>> wrote:
I have tried to produce a very simple plot with my recent
installation of matplotlib (1.0.0 64-bit) and numpy (1.5.0 64-bit)
using the following code (taken from the matplotlib tutorial
material).
*import matplotlib
import numpy
import matplotlib.pyplot as plt
print matplotlib.__version__
print numpy.__version__
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()*
If I execute this in Windows 7 (64-bit) it works correctly. If I
execute this in Windows Vista (32-bit) it works correctly.
If I execute this in Ubuntu 10.04 64-bit the versions are printed
out correctly and thus I believe that the packages are being
imported; but, /no plot is produced!/
Why not?
Virgil,
Did you build matplotlib from source?
I did try this and believe that it succeeded (saw no errors displayed
during the build).
If so, then chances are that one or more backends were not built
properly.
But, I do not understand what you mean here...
This typically happens if you do not have all the build dependencies.
And what can I do to correct this?
Note, the build will not necessarily fail if some dependencies are
missing because the core portions of matplotlib still build successfully.
Sorry Ben, bu I do not understand what you mean here.
Would you please explain how I can use some combination of the following
(with Python 2.6 on Ubuntu 10.04 both 64-bit) to get a working
matplotlib and numpy.
* *python-numpy_1.4.1-4_amd64.deb*
* *python-numpy_1.5.0-1ppa1_amd64.deb*
* *numpy-1.5.0.tar.gz*
and,
* *matplotlib_0.99.3-1ubuntu1.debian.tar.gz*
* *matplotlib_0.99.3.orig.tar.gz*
* *matplotlib-1.0.0.tar.gz*
This has become such a frustrating task that I would settle for vers.
0.99.3 of matplotlib and/or vers. 1.4.1-4 of numpy. I thought I
understood Python and Ubuntu 10.04 enough to accomplish this task; but,
obviously this was not the case. And I have looked at the FAQs and help
given at matplotlib's homepage.
--V
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users