Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-03 Thread ajdcds
If doing c:\Python26\python.exe file.py Then the error is on import private files, stated on my first post as /import something/ -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Matplotlib-installation-with-Python-x-y-tp42149p42164.html Sent from the matplotlib -

Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-03 Thread ajdcds
We were able to find the difference when installing Matplotlib via Python(x,y) or as a separate package. The difference is on paramater /backend/ on /matplotlibrc/ file. /Python(x,y)-2.6.6.2.exe/ set the parameter to *Qt4Agg* /matplotlib-1.0.1.win32-py2.6.exe/ sets the parameter to *TKAgg* if

Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-03 Thread ajdcds
Sorry, of course it does not work, the import is incorrect! It should be import matplotlib as plt plt.rcParams['backend'] = 'TkAgg' or simply import matplotlib matplotlib.rcParams['backend'] = 'TkAgg' -- View this message in context:

Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-03 Thread Benjamin Root
On Thu, Oct 3, 2013 at 6:35 AM, ajdcds ajd...@hotmail.com wrote: Sorry, of course it does not work, the import is incorrect! It should be import matplotlib as plt plt.rcParams['backend'] = 'TkAgg' or simply import matplotlib matplotlib.rcParams['backend'] = 'TkAgg' Errr... no, don't

Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-03 Thread ajdcds
Benjamin, thank you very much for the tip! If I do import matplotlib matplotlib.use(TkAgg) This is only valid for the current script that is running, the matplotlibrc remains the same, right? -- View this message in context:

Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-03 Thread Benjamin Root
On Thu, Oct 3, 2013 at 9:22 AM, ajdcds ajd...@hotmail.com wrote: Benjamin, thank you very much for the tip! If I do import matplotlib matplotlib.use(TkAgg) This is only valid for the current script that is running, the matplotlibrc remains the same, right? Yes, that is correct.

[Matplotlib-users] Compass patch

2013-10-03 Thread Stephane Raynaud
Hi, I would like to make Patch class (a compass) and be able to set its size in points and its position finally interpeted in data coordinates once the patch is added add to axes. I tried start from a mix of existing patch classes (Patch, Polygon, Shadow), but they all deal with transforms in a

[Matplotlib-users] Setting y limits in a log scale scatter plot

2013-10-03 Thread dilpreet singh
Hi I am plotting a scatter plot where y axis has a log scale but in the graph the y axis always starts from 10 to the power -1 . I tried setting the limit with set_ylim() but i am not sure what value to give within this method since its a log scale . Is there a way i can start y axis from 10 to

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-03 Thread Matthew Brett
Hi, On Thu, Oct 3, 2013 at 5:59 AM, Michael Droettboom md...@stsci.edu wrote: Matthew Terry, as part of his Mac testing project, has done a great deal of reconnaissance on this. https://github.com/matplotlib/mpl_mac_testing I know he was looking into statically linking some of the C

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-03 Thread Russell E. Owen
In article CAH6Pt5q=z_macay-dgroz38jimo6uclv+amxkxhvt+qoe+c...@mail.gmail.com, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Oct 3, 2013 at 5:59 AM, Michael Droettboom md...@stsci.edu wrote: Matthew Terry, as part of his Mac testing project, has done a great deal of

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-03 Thread Matthew Brett
Hi, On Thu, Oct 3, 2013 at 1:29 PM, Russell E. Owen ro...@uw.edu wrote: In article CAH6Pt5q=z_macay-dgroz38jimo6uclv+amxkxhvt+qoe+c...@mail.gmail.com, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Oct 3, 2013 at 5:59 AM, Michael Droettboom md...@stsci.edu wrote: Matthew