[Matplotlib-users] Difference in show and output file

2012-05-23 Thread rajtendulkar
Dear All, I am trying to write a program in matplotlib to generate stacked bar graphs. My problem is that the commands - plt.show() and self.fig.savefig(fileName) generate different outputs. I tried different output formats like PDF, PNG, EPS. But the problem remains the same. This happens for

[Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Sergi Pons Freixes
I'm plotting several images at once, sharing axes, because I use it for exploratory purposes. Each image is the same satellite image at different dates. I'm experimenting a slow response from matplotlib when zooming and panning, and I would like to ask for any tips that could speed up the process.

[Matplotlib-users] barchart errorbars always in both directions

2012-05-23 Thread Meesters, Aesku.Kipp Institute
Hi, I'm following the example in the gallery to do a barchart plot (see http://matplotlib.sourceforge.net/examples/api/barchart_demo.html ). In contrast to the example I would like to see the error bars only above the bars, so I tried rects2 = ax.bar(ind+width, womenMeans, width, color='y',

[Matplotlib-users] Resizing a PyQt based mpl window

2012-05-23 Thread Mads Ipsen
Hi, I have attached a small example displaying a simple plot in a PyQt based widget. If you start resizing the widget manually, the labels of the axes as well as the title disappear from the plot window even for moderately small window sizes. Any suggestions on how I can fix this? Best

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Guillaume Gay
Hello What is the size of a single image file? If they are very big, it is better to do everything from processing to ploting at once for each file. Le 23/05/2012 10:11, Sergi Pons Freixes a écrit : I'm plotting several images at once, sharing axes, because I use it for exploratory

Re: [Matplotlib-users] Difference in show and output file

2012-05-23 Thread rajtendulkar
Just in case, if anyone needs the answer, I figured it out. I used the transData transform in order to draw the lines correctly. Here is the code - # The code below is to add the lines near the tick labels fig = barGraph.fig xAxisLim=barGraph.ax.xaxis.get_view_interval() tickLocArray =

[Matplotlib-users] TypeError: coercing to Unicode: need string or buffer, dict found

2012-05-23 Thread Waléria Antunes David
Hi, Anyone know how to solve this error? Exception Type: TypeError Exception Value: coercing to Unicode: need string or buffer, dict found Can you help me?? See mycode: http://dpaste.com/751460/ And see my Traceback: http://dpaste.com/750773/ Thanks,

Re: [Matplotlib-users] TypeError: coercing to Unicode: need string or buffer, dict found

2012-05-23 Thread Michael Droettboom
It's a long shot, but have you tried removing the font cache in ~/.matplotlib/fontList.cache? What version of matplotlib are you using? Mike On 05/23/2012 08:16 AM, Waléria Antunes David wrote: Hi, Anyone know how to solve this error? Exception Type: TypeError Exception Value: coercing to

Re: [Matplotlib-users] barchart errorbars always in both directions

2012-05-23 Thread Benjamin Root
On Wed, May 23, 2012 at 4:03 AM, Meesters, Aesku.Kipp Institute meest...@aesku-kipp.com wrote: Hi, I'm following the example in the gallery to do a barchart plot (see http://matplotlib.sourceforge.net/examples/api/barchart_demo.html ). In contrast to the example I would like to see the

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Sergi Pons Freixes
On Wed, May 23, 2012 at 11:00 AM, Guillaume Gay guilla...@mitotic-machine.org wrote: Hello What is the size of a single image file? If they are very big, it is better to do everything from processing to ploting at once for each file. As stated below, each image is single-channel, of

Re: [Matplotlib-users] barchart errorbars always in both directions

2012-05-23 Thread Meesters, Aesku.Kipp Institute
Thanks, Ben. This is indeed what I was looking for and gives the desired behavior. Thanks a lot! Chris On Wed, 2012-05-23 at 08:55 -0400, Benjamin Root wrote: On Wed, May 23, 2012 at 4:03 AM, Meesters, Aesku.Kipp Institute meest...@aesku-kipp.com wrote: Hi, I'm

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Guillaume Gay
Le 23/05/2012 15:04, Sergi Pons Freixes a écrit : On Wed, May 23, 2012 at 11:00 AM, Guillaume Gay guilla...@mitotic-machine.org wrote: Hello What is the size of a single image file? If they are very big, it is better to do everything from processing to ploting at once for each file. As

Re: [Matplotlib-users] how to set figure to appear on another monitor?

2012-05-23 Thread Gökhan Sever
On Wed, May 23, 2012 at 8:32 AM, Chao YUE chaoyue...@gmail.com wrote: Dear all, I have two different monitors. How can I use plot command within terminal in this monitor and set the figure to show defaultly in another one? thanks, Chao Hello, I have a similar question posted on SO -

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 72, Issue 25

2012-05-23 Thread Waléria Antunes David
Hi Mike, About this question: TypeError: coercing to Unicode: need string or buffer, dict found The version of matplotlib that i'm using is matplotlib-0.99.1-py2.6 And how do I remove the font cache in ~ / .matplotlib / fontList.cache My Operating System is Windows. Thanks, On Wed, May 23,

Re: [Matplotlib-users] Slow imshow when zooming or panning with several synced subplots

2012-05-23 Thread Tony Yu
On Wed, May 23, 2012 at 9:04 AM, Sergi Pons Freixes sponsfrei...@gmail.comwrote: On Wed, May 23, 2012 at 11:00 AM, Guillaume Gay guilla...@mitotic-machine.org wrote: Hello What is the size of a single image file? If they are very big, it is better to do everything from processing to

Re: [Matplotlib-users] Turning of ticks in matplotlibrc

2012-05-23 Thread Tony Yu
On Mon, May 21, 2012 at 4:01 PM, Andreas Mueller amuel...@ais.uni-bonn.dewrote: ** Hi everybody. I have been trying to turn off xticks and yticks and their labels in matplotlibrc. Tickshttp://matplotlib.sourceforge.net/api/axis_api.html#matplotlib.axis.Tickhave an argument tick1On and

Re: [Matplotlib-users] how to set figure to appear on another monitor?

2012-05-23 Thread Benjamin Root
On Wednesday, May 23, 2012, Gökhan Sever wrote: On Wed, May 23, 2012 at 8:32 AM, Chao YUE chaoyue...@gmail.comjavascript:_e({}, 'cvml', 'chaoyue...@gmail.com'); wrote: Dear all, I have two different monitors. How can I use plot command within terminal in this monitor and set the figure

[Matplotlib-users] (no subject)

2012-05-23 Thread Arek Kedzior
http://paulaslominska.cba.pl/lnjysgcpta/395506.html-- 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 respond.