Re: [Matplotlib-users] How can I solve this ... ??? II

2010-07-03 Thread Benjamin Root
Ademir, I am glad it is working for you now. Just as a note, the unicode() function uses whatever encoding that is default on your system. Therefore, if it is possible for you to get inputs of strings in other encodings, then it is considered good practice to handle this at the point of string c

Re: [Matplotlib-users] How can I solve this ... ??? II

2010-07-03 Thread Ademir Francisco da Silva
Ryan ..., Very good ..., it works perfectly ... It's so easy but I didn't remember to use it ... In fact my problem is slightly more complicated than this because I have used textName[ 2 ] instead of literal LotoFácil as I told you ( I know I didn't say this before, my fault ), the corre

Re: [Matplotlib-users] Setting the xaxis date ranges

2010-07-03 Thread Ryan May
On Tue, Jun 22, 2010 at 2:52 PM, Fa wrote: > Hi all,  I am trying to figure out how I can limit the xaxis date ranges.  I > tried set_xlim(), but that didn't work.  The graph consists of dates for the > xaxis and data for the yaxis.  Currently the xaxis is showing the entire > year's worth of mont

Re: [Matplotlib-users] Minor tick labels

2010-07-03 Thread Ryan May
On Tue, Jun 29, 2010 at 7:16 AM, Bartosz Telenczuk wrote: > Hi all, > > I am trying to change the labels of minor ticks, but leave the labels of the > major ticks unchanged. To do this, I use the following function: > > ax = plt.subplot(111) > ax.set_xticks([1,3,5]) > ax.set_xticks([2,4], minor=T

Re: [Matplotlib-users] How can I solve this ... ??? II

2010-07-03 Thread Ryan May
On Sat, Jul 3, 2010 at 4:12 PM, Ademir Francisco da Silva wrote: > excerpt of may code is ... > fig.suptitle( "LotoFácil", fontsize = self.fon[ 6 ][ 1 ], fontweight = "extra > bold", > fontstyle = "italic", color = self.cor[ 608 ][ 1 ], lod > = True ) > > but I'm Brazilian

[Matplotlib-users] How can I solve this ... ??? II

2010-07-03 Thread Ademir Francisco da Silva
Hello all, I have another problem to solve but I guess be easier than my first message for this list ..., so let's go again ..., I have this error message as follow ... Exception in Tkinter callback Traceback (most recent call last): File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in

[Matplotlib-users] How can I solve this ... ???

2010-07-03 Thread Ademir Francisco da Silva
Hello all, I really need a help to solve this problem below ..., so let's go ... I have a Python script( plus Tkinter, Pmw and PmwContribD, matplotlib ) with more than 5.000 lines and when I have included a matplot Button code ( look excerpt of may code below ) appears this error message afte

[Matplotlib-users] Help Installing on Mac OS X

2010-07-03 Thread Shir Livne
Hi, I downloaded the files from the site, but when i type "import matplotlib" in python, it responds with "ImportError: No module named matplotlib" Does anyone mind going through the download steps for me? I probably forgot something simple. Thanks, Shir --