[Matplotlib-users] [matplotlib-users] Embed plot in a website?

2012-08-30 Thread Fabien Lafont
Hello everyone, I'm wondering if it's possible to have a matplotlib graph online ? I mean zoom drag and so on on a plot? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security

[Matplotlib-users] idea for a matplotlib figure contest (in memoriam John Hunter)

2012-08-30 Thread Andrew Straw
Hi all, Shocked by news of John Hunter's untimely severe health problems and now death, I have been thinking about what we could do as a community to 1) fuel matplotlib to further heights and 2) give everyone, but especially John's family, some appreciation for how wide, and ongoing, his

[Matplotlib-users] Building Basemap on Windows

2012-08-30 Thread klo uo
So I forked then cloned huge Basemap repository with idea to test latest code README file says it needs geos library, which README suggest: nmake /f makefile.vc MSVC_VER=1500 However, error is inevitable almost always and this time Google suggests that MS does not support C-99 (can't find

Re: [Matplotlib-users] [matplotlib-users] Embed plot in a website?

2012-08-30 Thread Matthias BUSSONNIER
Le 30 août 2012 à 10:04, Fabien Lafont a écrit : Hello everyone, I'm wondering if it's possible to have a matplotlib graph online ? I mean zoom drag and so on on a plot? Hi Fabien, http://code.google.com/p/mplh5canvas/ maybe ? (haven't tried it myself) -- Matthias

Re: [Matplotlib-users] Building Basemap on Windows

2012-08-30 Thread Christoph Gohlke
On 8/30/2012 2:25 AM, klo uo wrote: So I forked then cloned huge Basemap repository with idea to test latest code README file says it needs geos library, which README suggest: nmake /f makefile.vc MSVC_VER=1500 However, error is inevitable almost always and this time Google suggests

[Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Hello, Do you know to change the size of the numbers under the axis? fabien -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: Hello, Do you know to change the size of the numbers under the axis? import matplotlib matplotlib.rcParams['axes.labelsize'] = 12.0 Hope this helps. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
There is no effect... 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: Hello, Do you know to change the size of the numbers under the axis? import matplotlib matplotlib.rcParams['axes.labelsize'] = 12.0 Hope this

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont lafont.fab...@gmail.comwrote: There is no effect... 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: Hello, Do you know to change the size of the numbers under the axis?

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Hi, But how can I do it for every graph and without creating axis? I've seen this example: import numpy as npimport matplotlib.pyplot as plt # plt.figure creates a matplotlib.figure.Figure instancefig = plt.figure()rect = fig.patch # a rectangle

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 12:53 PM, Fabien Lafont lafont.fab...@gmail.comwrote: Hi, But how can I do it for every graph and without creating axis? We just told you: import matplotlib matplotlib.rcParams['xticks.labelsize'] = 12.0 Whenever a plot is made, it obtains the defaults from the

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 12:04:48PM -0400, Benjamin Root wrote: On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont lafont.fab...@gmail.comwrote: There is no effect... 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote:

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
I've tried also but it returns an error: matplotlib.rcParams['xticks.labelsize'] = 12.0 File C:\Python27\lib\site-packages\matplotlib\__init__.py, line 653, in __setitem__ See rcParams.keys() for a list of valid parameters.' % (key,)) KeyError: 'xticks.labelsize is not a valid rc

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 07:06:14PM +0200, Fabien Lafont wrote: I've tried also but it returns an error: matplotlib.rcParams['xticks.labelsize'] = 12.0 File C:\Python27\lib\site-packages\matplotlib\__init__.py, line 653, in __setitem__ See rcParams.keys() for a list of valid

[Matplotlib-users] How to insert an image in a plot?

2012-08-30 Thread Fabien Lafont
Hello, I want to insert an image in a plot, how can I do? Fabien -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Thanks, I've found the problem. I use xlabel(name of my axis, size= 30) after matplotlib.rcParams['xtick. labelsize'] = 12.0 and it cancel it! Is it possible to have a name on the axe and matplotlib.rcParams['xticks. labelsize'] = 12.0 ?? 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 07:28:40PM +0200, Fabien Lafont wrote: Thanks, I've found the problem. I use xlabel(name of my axis, size= 30) after matplotlib.rcParams['xtick. labelsize'] = 12.0 and it cancel it! Is it possible to have a name on the axe and matplotlib.rcParams['xticks.

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
I'm just trying to plot a graph and add a label to each axis of that graph and change the labelsize of the ticks. 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com On Thu, Aug 30, 2012 at 07:28:40PM +0200, Fabien Lafont wrote: Thanks, I've found the problem. I use xlabel(name of my

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 1:38 PM, Fabien Lafont lafont.fab...@gmail.comwrote: I'm just trying to plot a graph and add a label to each axis of that graph and change the labelsize of the ticks. Could you post your code? What you are describing shouldn't happen. Also, which version of

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
I just create two vectors from a .txt file and I plot them. I think I have the latest version of matplotlib. I have at least the last version of python(x,y) from pylab import* import matplotlib matplotlib.rcParams['xtick.labelsize'] = 20.0 B5=

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabrice Silva
Le jeudi 30 août 2012 à 19:48 +0200, Fabien Lafont a écrit : I just create two vectors from a .txt file and I plot them. I think I have the latest version of matplotlib. I have at least the last version of python(x,y) from pylab import* import matplotlib

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Actually I just want to do it on that plot not on all my future plot. 2012/8/30 Fabrice Silva si...@lma.cnrs-mrs.fr: Le jeudi 30 août 2012 à 19:48 +0200, Fabien Lafont a écrit : I just create two vectors from a .txt file and I plot them. I think I have the latest version of matplotlib. I have

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Mark Lawrence
On 30/08/2012 19:00, Fabien Lafont wrote: Actually I just want to do it on that plot not on all my future plot. 2012/8/30 Fabrice Silva si...@lma.cnrs-mrs.fr: Le jeudi 30 août 2012 à 19:48 +0200, Fabien Lafont a écrit : I just create two vectors from a .txt file and I plot them. I think I

Re: [Matplotlib-users] Building Basemap on Windows

2012-08-30 Thread klo uo
On Thu, Aug 30, 2012 at 5:44 PM, Christoph Gohlke wrote: Try to remove 'geos_c' from the list of libraries in setup.py. Works for me. -libraries=['geos_c','geos'])) +libraries=['geos'])) Thanks, that was it. It builds fine

Re: [Matplotlib-users] How to insert an image in a plot?

2012-08-30 Thread Benjamin Root
There is imshow(), which will plot an array into the existing axes, as well as figimage(), which will insert the image into the figure in general. Each of these function have ways to control placement, particularly figimage(). Without more information, I can't help much further. Cheers! Ben Root

Re: [Matplotlib-users] Legend Marker Color Bug

2012-08-30 Thread Goyo
2012/8/28 Sterling Smith smit...@fusion.gat.com: List, Consider the following script: import pylab pylab.plot(pylab.linspace(0,1,100),label='Test',marker='o',ls='') pylab.plot(pylab.linspace(0,1,100),label='Test2',marker='o',ls='-') leg=pylab.legend(loc='best') line=leg.get_lines()

Re: [Matplotlib-users] Legend Marker Color Bug

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 3:26 PM, Goyo goyod...@gmail.com wrote: 2012/8/28 Sterling Smith smit...@fusion.gat.com: List, Consider the following script: import pylab pylab.plot(pylab.linspace(0,1,100),label='Test',marker='o',ls='')

Re: [Matplotlib-users] Legend Marker Color Bug

2012-08-30 Thread Sterling Smith
On Aug 30, 2012, at 12:35PM, Benjamin Root wrote: On Thu, Aug 30, 2012 at 3:26 PM, Goyo goyod...@gmail.com wrote: 2012/8/28 Sterling Smith smit...@fusion.gat.com: List, Consider the following script: import pylab pylab.plot(pylab.linspace(0,1,100),label='Test',marker='o',ls='')

Re: [Matplotlib-users] Errors, warnings, fonts and py2exe

2012-08-30 Thread Jonno
Did you ever find the cause of this? I found that the get_py2exe_datafiles() method didn't find those fonts but even when I got the fonts manually I still had the same issue with matplotlib's Font Manager not being able to find them. On Thu, Nov 10, 2011 at 11:22 AM, Armando Serrano Lombillo