[Matplotlib-users] Text backgroundcolor and edgecolor

2009-10-09 Thread Yann Goudard
Hi, I found strange behavior in matplotlib.text.Text. set_backgroundcolor(self, color) allows to init text background and edge colors but we can only alter backgroundcolor. # line 728 def set_backgroundcolor(self, color): """ Set the background color of the text by updating th

[Matplotlib-users] hatch does not work with zoom

2009-10-09 Thread Yann Goudard
Hi, I notice hatch is not drawn correctly when I zoom in axes. #!/usr/bin/env python import matplotlib.pyplot as plt from matplotlib.patches import Rectangle axes = plt.subplot(111) axes.add_patch(Rectangle((0, 0), 1, 1, fill=False, hatch="/")) plt.show() Is there a way to fix it ? Regards, Y

Re: [Matplotlib-users] hatch does not work with zoom

2009-10-09 Thread Michael Droettboom
Thanks. This is definitely a bug. I just fixed it in SVN r7858. http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=rev&revision=7858 Unfortunately, this requires a recompile. You can build from SVN, or download the 0.99.1 tarball and manually apply the above patch. Mike Yann Gouda

Re: [Matplotlib-users] hatch does not work with zoom

2009-10-09 Thread Yann Goudard
I applied the patch to the tarball and built. It works perfectly. Your responsiveness is very impressive. Thanks, Yann On 10/09/2009 05:27 PM, Michael Droettboom wrote: > Thanks. This is definitely a bug. I just fixed it in SVN r7858. > > http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?

[Matplotlib-users] Names in boxplot x axis

2009-10-09 Thread Renato Alves
Hi everyone, I've been using matplotlib for a while but mostly using the pyplot functions and going as far as changing their initial input parameters. Now I need to make a boxplot and include names on the X axis as opposed to the default numbers. I've searched extensively on the docs and using g

Re: [Matplotlib-users] Names in boxplot x axis

2009-10-09 Thread Gökhan Sever
On Fri, Oct 9, 2009 at 10:41 AM, Renato Alves wrote: > Hi everyone, > > I've been using matplotlib for a while but mostly using the pyplot > functions and going as far as changing their initial input parameters. > > Now I need to make a boxplot and include names on the X axis as opposed > to the d

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-10-09 Thread Andrew Straw
Matthias Michler wrote: > Hello list, > > I'm not an expert in axes3d, but in case the feature which Nicolas requested > is not possible in an easy manner up to now, I propose an additional kwarg > for axes3d.Axes3D.contour. Something like *offset*. If offset is None the > z-values of the contou

[Matplotlib-users] Some icons do not showup after packaging with py2exe or pyinstaller

2009-10-09 Thread Laurent Dufrechou
Hello, Whether method I use to package my python app, I always reach the issue where the toolbar does not display some icons whiel the "subplot" is well displayed. Each time the packaging method copy mpl-data where the .exe is created so file are or should be at the right location. Does anybo

[Matplotlib-users] how to decrease right margin and move colorbar?

2009-10-09 Thread Dr. Phillip M. Feldman
I am creating a scatter plot using pyplot.scatter(), and adding a colorbar via pyplot.colorbar(). The result is very nice, except that there is a large amount of empty space between the right-hand edge of the axes and the figure window. When I adjust the right-hand margin using something like

Re: [Matplotlib-users] how to decrease right margin and move colorbar?

2009-10-09 Thread Eric Firing
Dr. Phillip M. Feldman wrote: > I am creating a scatter plot using pyplot.scatter(), and adding a colorbar > via pyplot.colorbar(). The result is very nice, except that there is a > large amount of empty space between the right-hand edge of the axes and the > figure window. When I adjust the righ

[Matplotlib-users] Problems with MPLCONFIGDIR

2009-10-09 Thread Luis Omar Barbosa García
Hi everybody, Could you help me with this problem: I can import matplotlib from the shell, it displayed this >>> import matplotlib Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.6/dist-packages/matplotlib/__init__.py", line 696, in rcParams = rc_params() Fi

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-10-09 Thread Nicolas Bigaouette
Thanx all, Can it be used to do a projection not only on the xoy axis but also on the xoz and yoz? N 2009/10/9 Andrew Straw > Matthias Michler wrote: > > Hello list, > > > > I'm not an expert in axes3d, but in case the feature which Nicolas > requested > > is not possible in an easy manner up to

Re: [Matplotlib-users] Problems with MPLCONFIGDIR

2009-10-09 Thread Jouni K . Seppänen
Luis Omar Barbosa García writes: > RuntimeError: '/home/ionek' is not a writable dir; you must set > /home/ionek/.matplotlib to be a writable dir. You can also set > environment variable MPLCONFIGDIR to any writable directory where you > want matplotlib data stored Sounds like you have a proble