Re: [Matplotlib-users] Simple gradient

2009-10-04 Thread Gewton Jhames
s to export the figure as > the SVG format and put some gradient using inkscape, or similar tools. > > Regards, > > -JJ > > > On Wed, Sep 30, 2009 at 12:21 PM, Gewton Jhames wrote: > > Hello everyone, > > I wish a simple sample of creating a pie graph filled with a g

Re: [Matplotlib-users] Customize SHADOW

2009-10-01 Thread Gewton Jhames
sorry, I forget the patch very simple.no big deal. On Thu, Oct 1, 2009 at 2:04 PM, Gewton Jhames wrote: > worked fine. > > > On Thu, Oct 1, 2009 at 1:10 PM, Michael Droettboom wrote: > >> I'm not quite clear on what changes you made. Can you provide a patch? >>

Re: [Matplotlib-users] Customize SHADOW

2009-10-01 Thread Gewton Jhames
ranches/v0_99_maint/lib/matplotlib/patches.py?r1=7443&r2=7837&pathrev=7837 > > Cheers, > Mike > > Gewton Jhames wrote: > >> "solved". >> In the system with the 0.99 version, in the file axes.py, class Axes, >> method pie, the shadow is created: >>

Re: [Matplotlib-users] Customize SHADOW

2009-10-01 Thread Gewton Jhames
on, but, I think was the best one for this case. On Thu, Oct 1, 2009 at 10:13 AM, Gewton Jhames wrote: > OK, yesterday I was taking a look to the patch module. then, I went home. > Today, I'll continue to look at these properties of alpha. because, yes, > that's what's h

Re: [Matplotlib-users] Customize SHADOW

2009-10-01 Thread Gewton Jhames
; >>> I'm still not seeing a difference between 0.98.5 and 0.99.1 here. I >>> further investigation of the code shows that there were no changes in >>> how the shadow color is computed between these versions. Is it possible >>> you're using an even

Re: [Matplotlib-users] Customize SHADOW

2009-09-30 Thread Gewton Jhames
color('#1AA8E4') title('Raining Hogs and Dogs', bbox={'facecolor':'0.8', 'pad':5}) show() On Wed, Sep 30, 2009 at 5:19 PM, Michael Droettboom wrote: > Can you provide the script that produces these graphs? I don't see any > differe

[Matplotlib-users] Simple gradient

2009-09-30 Thread Gewton Jhames
Hello everyone, I wish a simple sample of creating a pie graph filled with a gradient from blue(#98D0D8) to a lighter blue(#BAE5EB). Here's the code (I got from the samples): from pylab import * # make a square figure and axes figure(1, figsize=(6,6)) ax = axes([0.1, 0.1, 0.8, 0.8]) labels = 'Fr

[Matplotlib-users] DO NOT round values

2009-09-15 Thread Gewton Jhames
Hello everyone, when I plot, just for example, a pie graph with two values: 63.7 and 36.3, matplotlib rounds this values to 64 and 36. What I must do for matplotlib DO NOT round those values? Thanks -- Come build with us! T

[Matplotlib-users] Graph title trepassing bounds

2009-08-11 Thread Gewton Jhames
Hello everyone, my graph's title is been greater than the size of the graph. There's a way to get the width of the graph's title so I can increase the width of the graph based on it? Thanks. -- Let Crystal Reports handle th

Re: [Matplotlib-users] Change Font Properties of Annotations

2009-08-05 Thread Gewton Jhames
efault font, which is non-bold. I don't have > the Microsoft fonts installed here, so I can't test whether there's > something in particular about them that is causing this failure. > > Cheers, > Mike > > Gewton Jhames wrote: > >> I'm having

[Matplotlib-users] Change Font Properties of Annotations

2009-08-03 Thread Gewton Jhames
I'm having problems to simply set 'bold' the font weight of some annotations. Tryin'this: fig = plt.figure(frameon=False) ax = plt.gca() font = matplotlib.font_manager.FontProperties(family='Tahoma', weight='extra bold', size=12) annotation_total = ax.annotate('Total:', xy=(0, -320), xycoords='ax

Re: [Matplotlib-users] Design questions

2009-08-03 Thread Gewton Jhames
plt.subplots_adjust combined with ajustments in fig.set_size_inches is finally working. On Fri, Jul 31, 2009 at 11:55 AM, Tony S Yu wrote: > On Jul 30, 2009, at 5:16 PM, Gewton Jhames wrote: > > Anyone? > > On Tue, Jul 28, 2009 at 3:23 PM, Gewton Jhames wrote: > >>

Re: [Matplotlib-users] Design questions

2009-07-30 Thread Gewton Jhames
Anyone? On Tue, Jul 28, 2009 at 3:23 PM, Gewton Jhames wrote: > Guys, there is the code. > On Tue, Jul 28, 2009 at 3:13 PM, Gewton Jhames wrote: > >> Jae-Joon Lee, savefig("file.png", bbox_inches="tight") doesn't work too. >> >> On Mon, Ju

Re: [Matplotlib-users] Design questions

2009-07-28 Thread Gewton Jhames
Guys, there is the code. On Tue, Jul 28, 2009 at 3:13 PM, Gewton Jhames wrote: > Jae-Joon Lee, savefig("file.png", bbox_inches="tight") doesn't work too. > > On Mon, Jul 27, 2009 at 7:00 PM, Jae-Joon Lee wrote: > >> On Mon, Jul 27, 2009 at 4:06 PM,

Re: [Matplotlib-users] Design questions

2009-07-28 Thread Gewton Jhames
Jae-Joon Lee, savefig("file.png", bbox_inches="tight") doesn't work too. On Mon, Jul 27, 2009 at 7:00 PM, Jae-Joon Lee wrote: > On Mon, Jul 27, 2009 at 4:06 PM, Gewton Jhames wrote: > > How to "trim the canvas" of the image generated? It's tra

Re: [Matplotlib-users] Design questions

2009-07-28 Thread Gewton Jhames
he code here. On Mon, Jul 27, 2009 at 6:32 PM, John Hunter wrote: > On Mon, Jul 27, 2009 at 3:06 PM, Gewton Jhames wrote: > > Thanks everyone. Everything works perfectly. > > Only a few things left: > > > > How to "trim the canvas" of the image generated? It

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
d one; > > To re-position the figure content you might use axis(xmin= , xmax= ) > > > On Mon, Jul 27, 2009 at 3:06 PM, Gewton Jhames wrote: > >> Thanks everyone. Everything works perfectly. >> Only a few things left: >> >>1. How to "trim the canva

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
Thanks everyone. Everything works perfectly. Only a few things left: 1. How to "trim the canvas" of the image generated? It's transparent, but still have a "padding", if it would be cropped, I can safe almost 200px!. I have attached a file to this email to show it, the background of the g

Re: [Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
thanks!! only 4 left. On Mon, Jul 27, 2009 at 11:31 AM, Gökhan SEVER wrote: > For the 5th one ;) > > figure(frameon=False) > > On Mon, Jul 27, 2009 at 8:26 AM, Gewton Jhames wrote: > >> Hello, would you help me in some design issues that I wish to put in my >>

[Matplotlib-users] Design questions

2009-07-27 Thread Gewton Jhames
Hello, would you help me in some design issues that I wish to put in my matplotlib graph? I want my graph look like the one that I'm attaching on this email: - Change the Background-color of the axis to gray; - Display only horizontal lines on the axis, in white color; - Display only the