[Matplotlib-users] Weird resizing issue

2006-07-22 Thread Tommy Grav
I am using matplotlib to display a couple of fits-images and then use
the mouse to select a source in the image. However, when I click on
the window containing the image to get it into focus the window starts
resizing itself based on the movement of the mouse. I am on a mac
with OS 10.4 and are using TkAgg. Has anyone seen this before and
know how to avoid it from happening?

Cheers
   Tommy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-22 Thread Chris Fonnesbeck
I am trying to run Matplotlib 0.87.4 on WinXP after having installed from the binaries posted on sourceforge. Unfortunately, when I try importing from pylab, I get a popup declaring:"This application has failed to start because 
MSVCP71.dll was not found."I usually work on Mac/Linux, so I have no idea what this means. Here is the traceback.Traceback (most recent call last):  File "", line 1, in ?
  File "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\pylab.py", line 1, in ?    from matplotlib.pylab import *  File "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
ib\pylab.py", line 200, in ?    from axes import Axes, PolarAxes  File "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotlib\axes.py", line 14, in ?    from artist import Artist, setp
  File "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotlib\artist.py", line 4, in ?    from transforms import identity_transform  File "c:\python24\lib\site-packages\matplotlib-
0.87.4-py2.4-win32.egg\matplotlib\transforms.py", line 215, in ?    from _transforms import Value, Point, Interval, Bbox, Affine  File "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
ib\_transforms.py", line 17, in ?    from matplotlib._ns_transforms import *ImportError: DLL load failed: The specified module could not be found.I have tried building matplotlib myself using mingw32, but with no success. Any help is most appreciated.
-- Chris Fonnesbeck + Atlanta, GA + http://trichech.us
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Weird resizing issue

2006-07-22 Thread Gary Ruben
I see weird behaviour like this in Windows too. In my case, the 
horizontal size of the plot window increases as the pointer is moved 
inside a plot region. i.e. the aspect ratio of the window changes 
erratically, I think between two sizes. Sometimes it remains at the 
incorrect shape when the mouse pointer is shifted outside the plot area 
and sometimes it pops back to the correct shape. Is this the behaviour 
you see? I don't know how to avoid it. I noticed that shifting the 
pointer out of the plot area by moving through the bottom of the window 
seems to avoid the possibility of the window remaining with the 
incorrect aspect. I seem to remember seeing this behaviour on an old 
version of matplotlib. I thought it disappeared and has perhaps 
returned. My memory is hazy on this.

Gary R.

Tommy Grav wrote:
> I am using matplotlib to display a couple of fits-images and then use
> the mouse to select a source in the image. However, when I click on
> the window containing the image to get it into focus the window starts
> resizing itself based on the movement of the mouse. I am on a mac
> with OS 10.4 and are using TkAgg. Has anyone seen this before and
> know how to avoid it from happening?
> 
> Cheers
>Tommy
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Weird resizing issue

2006-07-22 Thread Darren Dale
I also see this behavior in the qtagg and qt4agg backends.

Darren


On Saturday 22 July 2006 8:59 pm, Gary Ruben wrote:
> I see weird behaviour like this in Windows too. In my case, the
> horizontal size of the plot window increases as the pointer is moved
> inside a plot region. i.e. the aspect ratio of the window changes
> erratically, I think between two sizes. Sometimes it remains at the
> incorrect shape when the mouse pointer is shifted outside the plot area
> and sometimes it pops back to the correct shape. Is this the behaviour
> you see? I don't know how to avoid it. I noticed that shifting the
> pointer out of the plot area by moving through the bottom of the window
> seems to avoid the possibility of the window remaining with the
> incorrect aspect. I seem to remember seeing this behaviour on an old
> version of matplotlib. I thought it disappeared and has perhaps
> returned. My memory is hazy on this.
>
> Gary R.
>
> Tommy Grav wrote:
> > I am using matplotlib to display a couple of fits-images and then use
> > the mouse to select a source in the image. However, when I click on
> > the window containing the image to get it into focus the window starts
> > resizing itself based on the movement of the mouse. I am on a mac
> > with OS 10.4 and are using TkAgg. Has anyone seen this before and
> > know how to avoid it from happening?
> >
> > Cheers
> >Tommy
> >
> > -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your opinions on IT & business topics through brief surveys -- and earn
> > cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Matplotlib-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys -- and earn
> cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-- 
Darren S. Dale, Ph.D.
[EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] histogram bug

2006-07-22 Thread Gary Ruben
More information on this bug: on my WinXP laptop, it seems to only 
manifest under some circumstances. When running the script from inside 
SciTE or ipython, it seems more or less repeatable (sometimes it won't 
show on the first run but does from then on), but if the .py file is run 
directly from the windows explorer, it doesn't show up. On my win98 
desktop, however, it shows up regardless.

Gary Ruben wrote:
> Note: I just verified that this was introduced into 0.87.4.
> 0.87.3 doesn't exhibit the problem. See attachment.
> 
> Gary R.
> 
> [EMAIL PROTECTED] wrote:
>> The following minimal script reveals a rendering problem with 
>> displaying a histogram on a log vertical axis.
>> I'm using matplotlib0.87.4 in WinXP with python 2.3.5 Enthon.
>>
>> from pylab import *
>> hist(rand(100), 20, bottom=1)
>> setp(gca(), yscale="log")
>> show()
>>
>>
>> Gary R.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users