Re: [Matplotlib-users] Plot a Dictionary, time and value

2008-07-30 Thread Johann Cohen-Tanugi
hmm, reading the initial email, this is not what I understood the idea would be. So let me the following : I have a dictionnary with the 7 days of week as keys (strings) and a value attached to it. I would like to plot the days of the week in x and the corresponding values in y. It amounts to

[Matplotlib-users] Navigation toolbar w/o subplot configuration button

2008-07-30 Thread eliben
Hello, I'm using mpl in a wxPython application to display plots dynamically. I want to let the users interact with the plots (zoom, move), but I don't need the "subplot configuration" button on the Navigation Toolbar. Can I instantiate the toolbar without this button ? TIA Eli -- View this mes

[Matplotlib-users] Thin wedges missing from pie graph

2008-07-30 Thread "Jonathan Hayward, http://JonathansCorner.com"
If there are one or more narrow wedges on a pie graph, narrow enough that the percentage values overlap and are hard to read, there seems to be a knife-thin missing wedge from the pie, including a break in the circumference. Is this configurable, even if it means that the border completely covers

[Matplotlib-users] Pie graph autopct format strings

2008-07-30 Thread "Jonathan Hayward, http://JonathansCorner.com"
How can I customize a pie graph autopct format string to display the value for one of the regions to a specified precision? If I have category A presenting $5.25, category B representing $1.30, and category C representing $2.00, how do I get the numeric value (not the label) displayed for category

Re: [Matplotlib-users] Plot a Dictionary, time and value

2008-07-30 Thread John Hunter
On Wed, Jul 30, 2008 at 9:17 AM, stuartornum <[EMAIL PROTECTED]> wrote: > > Hi, > > Wondering if anyone has done something similar and could point me in the > right direction. > > I have a dictionary like this: > > Dict{'00:00:00':'23', '00:01:00':'29', '00:02:00':'13', '00:03:00':'78', > '00:04:00

[Matplotlib-users] Plot a Dictionary, time and value

2008-07-30 Thread stuartornum
Hi, Wondering if anyone has done something similar and could point me in the right direction. I have a dictionary like this: Dict{'00:00:00':'23', '00:01:00':'29', '00:02:00':'13', '00:03:00':'78', '00:04:00':'45', >> '23:59:00':54} So as you can see there is 24 hours worth of minutes, wit

Re: [Matplotlib-users] imshow update norm make my app crash.

2008-07-30 Thread Laurent Dufréchou
Ho you got the point... self.clutter_low.GetPosition() didn't returned an int... self.clutter_low.GetValue return an int an it works now. I missed this because I thought that self.norm = plt.Normalize(vmin=self.low_clutter_val, vmax=self.high_clutter_val) would have crashed before in this case, bu

Re: [Matplotlib-users] how add axes scale to my plot?

2008-07-30 Thread Manuel Metz
sa6113 wrote: > I am using matplotlib to draw and show my plot, now I want to know how may I > add manual axes scale to it. > I need to manually show the axes scale (from min to max value that I have) > the below is some part of my code. > . > . > . > from matplotlib.figureimport Figure > >

[Matplotlib-users] how add axes scale to my plot?

2008-07-30 Thread sa6113
I am using matplotlib to draw and show my plot, now I want to know how may I add manual axes scale to it. I need to manually show the axes scale (from min to max value that I have) the below is some part of my code. . . . from matplotlib.figureimport Figure self.fig = Figure( figsize =5, 4