Re: [Matplotlib-users] closest neighbour?

2009-03-10 Thread Marjolaine Rouault
Hi Jeff,

Yes, I think this is what I needed. Many thanks.

Marjolaine. 
 
 Jeff Whitaker jsw...@fastmail.fm 03/09/09 5:21 PM  
Marjolaine Rouault wrote:
 Hi,

 I am trying to extract a a line (or transect) of data across a 2 dimensional 
 array. I want to know what the best way of finding data points within my 2D 
 dataset closest to each point on my line. Is there a matplotlib pre-defined 
 function to find  the closest point within a radius or must I create my own?

 Thanks a lot, Marjolaine.
   

Marjolaine:  Sounds like what you want is nearest neighbor interpolation.  The 
Basemap toolkit has an interp function that can do bilinear or nearest neighbor 
interpolation.  It's typically used for regridding, but I think it will work 
for your use case too.

Here's some pseudo-code:

from mpl_toolkits.basemap import interp
# here datarr is 2d data array on a regular grid with x,y coordinates
# defined by 1-d arrays x,y.  The arrays xout, yout describe the points
# on the transect. order=0 means nearest neighbor interp, order=1 means 
bilinear.
# dataout is the data interpolated to the transect.
dataout = interp(datarr,x,y,xout,yout,order=0)

-Jeff

-- 
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : jeffrey.s.whita...@noaa.gov
325 BroadwayOffice : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg




-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] closest neighbour?

2009-03-09 Thread Marjolaine Rouault

Hi,

I am trying to extract a a line (or transect) of data across a 2 dimensional 
array. I want to know what the best way of finding data points within my 2D 
dataset closest to each point on my line. Is there a matplotlib pre-defined 
function to find  the closest point within a radius or must I create my own?

Thanks a lot, Marjolaine.


Marjolaine Rouault
CSIR - NRE
Research Group : Earth Observation
15 Lower Hope street, Rosebank
7700
South Africa

Tel.: +27 (0) 21 658-2755
Fax: +27 (0) 21 658-2744
mroua...@csir.co.za 







-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib.mlab PCA analysis

2009-02-11 Thread Marjolaine Rouault
Hi,

Thanks a lot for your comments.  I did try earlier on to remove the bad points 
but came across some problems when re-ordering my array. I will try out the 
method sent to me and check the reference.

Regards, Marjolaine.



 kgdunn+nab...@gmail.com 02/11/09 4:06 PM 
Marjolaine,

I am assuming your masked array entries are missing data.  Multivariate 
analysis with missing data can be handled in several standard ways, however 
these methods don't appear in most Python libraries.

Here are some references on the topic that will help you:

[1] P.R.C. Nelson and J.F. MacGregor, 1996, Missing data methods in PCA and 
PLS: Score calculations with incomplete observations, Chemometrics and 
Intelligent Laboratory Systems, v35, p 45-65.

[2] F. Arteaga and A. Ferrer, 2002, Dealing with missing data in MSPC: several 
methods, different interpretations, some examples, Journal of Chemometrics, 
v16, p408-418.

Paper [1] deals with building a model with missing data, while paper [2] looks 
at applying an existing PCA model to new data that contains missing entries.

Hope these help,
Kevin

Marjolaine Rouault wrote:
 
 Hi,
 
 I am struggling to do a PCA analysis on a masked array. Anybody has
 suggestions on how to deal with masked array when doing PCAs?
 
 Best regards, Marjolaine.


Quoted from: 
http://www.nabble.com/matplotlib.mlab-PCA-analysis-tp21932808p21932808.html



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] matplotlib.mlab PCA analysis

2009-02-10 Thread Marjolaine Rouault
Hi,

I am struggling to do a PCA analysis on a masked array. Anybody has suggestions 
on how to deal with masked array when doing PCAs?

Best regards, Marjolaine.



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] interger to binary

2008-09-07 Thread Marjolaine Rouault
Hi,

Thanks a lot to all of you for your help. This looks very promising. I will 
test it on Monday.

Regards, Marjolaine.

 Michael Droettboom [EMAIL PROTECTED] 09/05/08 7:54 PM 
You could do something like:

def bitget(value, bit_number):
return (value  (1  bit_number)) != 0

which will return True or False for the given bit number, and this 
function works on numpy arrays.  (Bits are numbered base-0 -- I don't 
know if that matches matlab).

Hope that helps,
Mike

Marjolaine Rouault wrote:
 Hi,

 I was wondering if python has the equivalent of the matlab bitget.m function.

 I have a large 2 dimensional variable of type uint32 which I must convert to 
 binaries and then find if bit 23 of the binary for each point is 0 or 1. The 
 matlab bitget function is ideal for that but I can't find much in python. The 
 only thing I found was binary_repr which converts to a sting and can only be 
 used for 1 point at a time.

 Any suggestions?

 Thanks, Marjolaine.

   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] interger to binary

2008-09-05 Thread Marjolaine Rouault
Hi,

I was wondering if python has the equivalent of the matlab bitget.m function.

I have a large 2 dimensional variable of type uint32 which I must convert to 
binaries and then find if bit 23 of the binary for each point is 0 or 1. The 
matlab bitget function is ideal for that but I can't find much in python. The 
only thing I found was binary_repr which converts to a sting and can only be 
used for 1 point at a time.

Any suggestions?

Thanks, Marjolaine.

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] creating colormaps

2008-07-10 Thread Marjolaine Rouault
Thanks Eric,

That is much better. I am going to try and implement it now and see how I go. I 
will let you know.

Regards, Marjolaine.

 Eric Firing [EMAIL PROTECTED] 07/09/08 11:12 PM 
Marjolaine Rouault wrote:
 Hi,
 
 I don't understand how one creates his own colormap. i am using
 matplotlib and I have checked the example in
 http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps but I can't
 really understand how it works. Are there any other examples out
 there? I want to create a colormap a bit like the one at this url:
 
 http://www.pyngl.ucar.edu/Graphics/Images/ViBlGrWhYeOrRe.gif
 
 best regards, Marjolaine.
 
 
 

Marjolaine,

Depending on your starting point--what you know about your desired 
colormap--you can use either a LinearSegmentedColormap or a 
ListedColormap.  If you already have a colormap in the form of a list of 
evenly-spaced colors, then the simplest way to get it into mpl is by 
using that list to initialize a ListedColormap.  If, instead, you have a 
general idea of how you want R, G, and B to vary over the range of the 
map, then you probably need the LinearSegmentedColormap.

Every description of the LinearSegmentedColormap class that I have seen 
is confusing, even though the way it works is fairly simple.  Let's see 
if I can make it a little less confusing.

Example: suppose you want red to increase from 0 to 1 over the bottom 
half, green to do the same over the middle half, and blue over the top 
half.  Then you would use:

cdict = { 'red': ((0, 0, 0),
   (0.5, 1, 1),
   (1, 1, 1)),
   'green': ((0, 0, 0),
 (0.25, 0, 0),
 (0.75, 1, 1),
 (1, 1, 1)),
'blue': ((0, 0, 0),
 (0.5, 0, 0),
 (1, 1, 1))}

If, as in this example, there are no discontinuities in the r, g, and b 
components, then it is quite simple: the second and third element of 
each tuple, above, is the same--call it y.  The first element (x) 
defines interpolation intervals over the full range of 0 to 1, and it 
must span that whole range.  In other words, the values of x divide the 
0-to-1 range into a set of segments, and y gives the end-point color 
values for each segment.

Now consider the green. cdict['green'] is saying that for
0 = x = 0.25, y is zero; no green.
0.25  x = 0.75, y varies linearly from 0 to 1.
x  0.75, y remains at 1, full green.

If there are discontinuities, then it is a little more complicated. 
Label the 3 elements in each row in the cdict entry for a given color as 
(x, y0, y1).  Then for values of x between x[i] and x[i+1] the color 
value is interpolated between y1[i] and y0[i+1].

Going back to the cookbook example, look at cdict['red']; because y0 != 
y1, it is saying that for x from 0 to 0.5, red increases from 0 to 1, 
but then it jumps down, so that for x from 0.5 to 1, red increases from 
0.7 to 1.  Green ramps from 0 to 1 as x goes from 0 to 0.5, then jumps 
back to 0, and ramps back to 1 as x goes from 0.5 to 1.

row i:   x  y0  y1
/
   /
row i+1: x  y0  y1

Above is an attempt to show that for x in the range x[i] to x[i+1], the 
interpolation is between y1[i] and y0[i+1].  So, y0[0] and y1[-1] are 
never used.

I hope I got all that right--I would welcome close checking.  I want to 
get an adequate and correct explanation into the standard mpl documentation.


Eric



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] creating colormaps

2008-07-09 Thread Marjolaine Rouault
Hi,

I don't understand how one creates his own colormap. i am using matplotlib and 
I have checked the example in 
http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps but I can't really 
understand how it works. Are there any other examples out there? I want to 
create a colormap a bit like the one at this url:

http://www.pyngl.ucar.edu/Graphics/Images/ViBlGrWhYeOrRe.gif

best regards, Marjolaine.



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Ubuntu Hardy and matplotlib

2008-06-17 Thread Marjolaine Rouault
Hi,

I have tried reinstalling python-matplotlib and python-matplotlib-data as well 
as reinstalling python-gtk2 and none of this proposed solutions work. Still 
stuck unfortunately. I am thinking maybe my ubuntu is not right. Could you guys 
let me know which repositories you use and I could try and upgrade my ubuntu to 
one of new repositories lists?

Thank



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Ubuntu Hardy and matplotlib

2008-06-17 Thread Marjolaine Rouault
Dear Johan,

I have downloaded the  matplotlib 0.91.2 version (the one installed by default 
by my package manager) and ran the python setup.py build as you suggested 
before running the python setup.py install command. I fixed the problem! I am 
so grateful for you helping me sort this out finally. I am looking forwards to 
start using matplotlib.

Cheers, marjolaine.
 
 Johan Mazel [EMAIL PROTECTED] 06/17/08 10:15 AM  
Hi
I am working with matplotlib 0.91.3 on Hardy. I installed it (with pyhton
setup.py build and pyhton setup.py install) from the source given on
SourceForge. And it's working perfectly.
Are you sure that you installed all the needed packages ? (Check with
pyhton setup.py build and see wether there is no missing packages,
especially development packages)
NB : My matplotlib work without development packages from tkinter despite
the fact that there are asked.
Regards
Johan

2008/6/17 Marjolaine Rouault [EMAIL PROTECTED]:

 Hi,

 I have tried reinstalling python-matplotlib and python-matplotlib-data as
 well as reinstalling python-gtk2 and none of this proposed solutions work.
 Still stuck unfortunately. I am thinking maybe my ubuntu is not right. Could
 you guys let me know which repositories you use and I could try and upgrade
 my ubuntu to one of new repositories lists?

 Thank



 --
 This message is subject to the CSIR's copyright terms and conditions,
 e-mail legal notice, and implemented Open Document Format (ODF) standard.
 The full disclaimer details can be found at
 http://www.csir.co.za/disclaimer.html.

 This message has been scanned for viruses and dangerous content by
 MailScanner,
 and is believed to be clean.  MailScanner thanks Transtec Computers for
 their support.


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Ubuntu Hardy and matplotlib

2008-06-15 Thread Marjolaine Rouault
Hi,

Sorry to only get back to you now. I was away for the last couple of weeks. I 
will see if that is my problem when I am back at work. Thanks for the tip.


 Georg Holzmann [EMAIL PROTECTED] 05/30/08 9:00 PM 
Hallo!

 I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 
 8.04. After I install the python-matplotlib package, I am not able to list my 
 modules in the help() section and I can also not import pylab. As anyone ha 
 that problem and found a solution?

I had the same problem today.
However, in my case gtk was missing and I fixed it with installing
apt-get install python-gtk2

LG
Georg


-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Ubuntu Hardy and matplotlib

2008-05-30 Thread Marjolaine Rouault
Hi,

I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 
8.04. After I install the python-matplotlib package, I am not able to list my 
modules in the help() section and I can also not import pylab. As anyone ha 
that problem and found a solution?

Thanks.



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Ubuntu Hardy and matplotlib

2008-05-30 Thread Marjolaine Rouault
hi

I am running  python 2.5 and installing the matplotlib using synaptic so it is 
installing the correct version (I assume). After installing matplotlib, In the 
help(), this is what i get when asking for the modules liist:

  File stdin, line 1, in module
  File /usr/lib/python2.5/site.py, line 342, in __call__
return pydoc.help(*args, **kwds)
  File /usr/lib/python2.5/pydoc.py, line 1649, in __call__
self.interact()
  File /usr/lib/python2.5/pydoc.py, line 1667, in interact
self.help(request)
  File /usr/lib/python2.5/pydoc.py, line 1683, in help
elif request == 'modules': self.listmodules()
  File /usr/lib/python2.5/pydoc.py, line 1804, in listmodules
ModuleScanner().run(callback)
  File /usr/lib/python2.5/pydoc.py, line 1855, in run
for importer, modname, ispkg in pkgutil.walk_packages():
  File /usr/lib/python2.5/pkgutil.py, line 125, in walk_packages
for item in walk_packages(path, name+'.', onerror):
  File /usr/lib/python2.5/pkgutil.py, line 110, in walk_packages
__import__(name)
  File /usr/lib/python2.5/site-packages/matplotlib/config/__init__.py, line 
5, in module
from rcparams import rc
  File /usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py, line 
117, in module
rcParams = rc_params()
  File /usr/lib/python2.5/site-packages/matplotlib/config/rcparams.py, line 
49, in rc_params
fname = get_config_file()
  File /usr/lib/python2.5/site-packages/matplotlib/config/cutils.py, line 
181, in get_config_file
path =  get_data_path() # guaranteed to exist or raise
  File /usr/lib/python2.5/site-packages/matplotlib/config/verbose.py, line 
74, in wrapper
ret = func(*args, **kwargs)
  File /usr/lib/python2.5/site-packages/matplotlib/config/cutils.py, line 
129, in _get_data_path_cached
defaultParams['datapath'][0] = _get_data_path()
  File /usr/lib/python2.5/site-packages/matplotlib/config/cutils.py, line 
125, in _get_data_path
raise RuntimeError('Could not find the matplotlib data files')
RuntimeError: Could not find the matplotlib data files


if I try import pylab, this is what I get:

Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib/python2.5/site-packages/pylab.py, line 1, in module
from matplotlib.pylab import *
  File /usr/lib/python2.5/site-packages/matplotlib/pylab.py, line 208, in 
module
from matplotlib import mpl  # pulls in most modules
  File /usr/lib/python2.5/site-packages/matplotlib/mpl.py, line 4, in module
from matplotlib import axes
  File /usr/lib/python2.5/site-packages/matplotlib/axes.py, line 18, in 
module
from matplotlib import dates as mdates
  File /usr/lib/python2.5/site-packages/matplotlib/dates.py, line 91, in 
module
from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \
ImportError: No module named dateutil.rrule



 
 Michael Droettboom [EMAIL PROTECTED] 05/30/08 2:11 PM  
I don't see this myself.  Are you running the correct Python (not 
accidentally running Python2.4, for example)?  Do you have a 
/usr/lib/python2.5/site-packages/matplotlib directory?  What is the 
exact error message when you import pylab?

Cheers,
Mike

Marjolaine Rouault wrote:
 Hi,

 I am not managing to ge matplotlib to work with the new Ubuntu realease hardy 
 8.04. After I install the python-matplotlib package, I am not able to list my 
 modules in the help() section and I can also not import pylab. As anyone ha 
 that problem and found a solution?

 Thanks.



   

-- 




-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users