Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-07-08 Thread Darren Dale
On Wed, Jul 8, 2009 at 3:10 AM, Ole Streicher wrote: > Hi again, > > Ole Streicher writes: > > could anyone reproduce this problem and/or has a solution for it? Is > > there anything wrong with my code? > > after some discussion on the PyQt mailing list, I found the cause of the > problem: > > In

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-07-08 Thread Ole Streicher
Hi again, Ole Streicher writes: > could anyone reproduce this problem and/or has a solution for it? Is > there anything wrong with my code? after some discussion on the PyQt mailing list, I found the cause of the problem: In matplotlib.FigureCanvasQTAgg, the following piece of code is called on

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-06-23 Thread Ole Streicher
Hi, could anyone reproduce this problem and/or has a solution for it? Is there anything wrong with my code? Best regards Ole Ole Streicher writes: > Hi Darren, > > Darren Dale writes: >> I am really busy with other things, and can't offer suggestions unless >> you post a short, simple, standa

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-29 Thread Ole Streicher
Hallo Theodore, "Drain, Theodore R" writes: > Remember, this is not a multi-threaded system.  You can't receive a > second repaint event while the drawing code is happening because the > event loop is not in a separate thread.  This is not my choice. If the user resizes the window, the events a

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-29 Thread Ole Streicher
Hi again, Ole Streicher writes: > Darren Dale writes: >> I am really busy with other things, and can't offer suggestions unless >> you post a short, simple, standalone script that demonstrates the >> problem. > Sure: > w.show() > a.exec_() I forgot to say: execute this code, and then try to res

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-29 Thread Ole Streicher
Hi Darren, Darren Dale writes: > I am really busy with other things, and can't offer suggestions unless > you post a short, simple, standalone script that demonstrates the > problem. Sure: 8<- import random import sys from

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-28 Thread Drain, Theodore R
gets which is probably should not be doing. From: Darren Dale [mailto:dsdal...@gmail.com] Sent: Thursday, May 28, 2009 8:57 AM To: Ole Streicher Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Strange resize behaviour for qt backend On Thu, May 28, 2009 at 7:55 AM, Ole

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-28 Thread Darren Dale
On Thu, May 28, 2009 at 7:55 AM, Ole Streicher wrote: > Hi again, > > is there no idea on this topic? Does the update work for you as it > should? > I am really busy with other things, and can't offer suggestions unless you post a short, simple, standalone script that demonstrates the problem. D

Re: [Matplotlib-users] Strange resize behaviour for qt backend

2009-05-28 Thread Ole Streicher
Hi again, is there no idea on this topic? Does the update work for you as it should? I started to debugging it a bit by adding debug output to the moveEvent()/resizeEvent() functions. I seems that the resizeEvents (resp. moveEvents) come out of order. The following comes when one resizes the wind

[Matplotlib-users] Strange resize behaviour for qt backend

2009-05-27 Thread Ole Streicher
Hi, I am using matplotlib for some data vizualization. To ensure a consistent user interface among the whole application, I do the scrolling/zooming stuff myself. So, for a diagram, a horizontal scrollbar is displayed below the diagram that enabled to shift along the x axis. This is (part of) the