Re: [matplotlib-devel] qt4_editor

2010-05-23 Thread Peter Butterworth
On Sat, May 22, 2010 at 11:30 PM, Darren Dale  wrote:
> On Sat, May 22, 2010 at 4:19 PM, Peter Butterworth  wrote:
>> On Sun, May 16, 2010 at 1:53 PM, Darren Dale  wrote:
>>> I don't think the demo is ready for inclusion. Clicking in the plot
>>> window to open the dialog conflicts with all the other functionality
>>> on the toolbar.
>>
>> Feel free to amend the example as needed. Clicking in the plot window
>> to open the dialog is obviously not required.
>
> In that case I don't see the point of the demo.

It is useful to provide code showcasing the full functionnality and
allowing to test it quickly. That said I agree that it probably
doesn't make sense to have a separate file for this.
Should I move the test code back to if __name__ == "__main__": in
figureoptions.py removing the mouse click binding ?

>
>>> Also, when I open the figure options dialog, the dialog window
>>> background is transparent instead of using the desktop default. Why is
>>> that?
>>
>> No idea. I haven't encountered this issue before. I use Python 2.6.5 +
>> PyQt 4.7.2 on Win32.
>>
>> Could you possibly narrow this down a bit ? Is it caused by new code
>> in figureoptions.py ?
>
> I have no idea, and I don't have enough time to dig into it. I'm sorry.

Darren: your help is greatly appreciated.
Is the platform/config specific transparent background issue blocking
? There is nothing in the figureoptions code that should cause this
IMO.

--

___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] qt4_editor

2010-05-23 Thread Darren Dale
On Sun, May 23, 2010 at 4:15 AM, Peter Butterworth  wrote:
> On Sat, May 22, 2010 at 11:30 PM, Darren Dale  wrote:
>> On Sat, May 22, 2010 at 4:19 PM, Peter Butterworth  wrote:
>>> On Sun, May 16, 2010 at 1:53 PM, Darren Dale  wrote:
 I don't think the demo is ready for inclusion. Clicking in the plot
 window to open the dialog conflicts with all the other functionality
 on the toolbar.
>>>
>>> Feel free to amend the example as needed. Clicking in the plot window
>>> to open the dialog is obviously not required.
>>
>> In that case I don't see the point of the demo.
>
> It is useful to provide code showcasing the full functionnality and
> allowing to test it quickly. That said I agree that it probably
> doesn't make sense to have a separate file for this.
> Should I move the test code back to if __name__ == "__main__": in
> figureoptions.py removing the mouse click binding ?
>
>>
 Also, when I open the figure options dialog, the dialog window
 background is transparent instead of using the desktop default. Why is
 that?
>>>
>>> No idea. I haven't encountered this issue before. I use Python 2.6.5 +
>>> PyQt 4.7.2 on Win32.
>>>
>>> Could you possibly narrow this down a bit ? Is it caused by new code
>>> in figureoptions.py ?
>>
>> I have no idea, and I don't have enough time to dig into it. I'm sorry.
>
> Darren: your help is greatly appreciated.
> Is the platform/config specific transparent background issue blocking
> ? There is nothing in the figureoptions code that should cause this
> IMO.

I don't know if it is platform specific, although I tested on a 64-bit
kubuntu lucid with qt-4.6.2.

I'm not comfortable checking in changes that introduce problems I
don't understand.

Darren

--

___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel