[Matplotlib-users] [SOLVED] Re: Matplotlib Dynamic Drag Pan/Zoom

2011-07-27 Thread Hugo H. P. Silva

After the tip from Ben Roots and a little tinkering with the matplotlib
backends I've solved this issue by changing the backend from the default
MacOSX to TkAgg.

BTW, the default matplotlibrc file in my case was located at:

/Library/Frameworks/Python.framework/Versions/X.X/lib/pythonX-X/site-packages/matplotlib/mpl-data/matplotlibrc

Thank's,
Hugo Silva


Hugo H. P. Silva wrote:
> 
> Hi all,
> 
> In a prior installation of matplotlib I recall being able to have
> real-time pan/zoom plot update while dragging the mouse (not only after
> releasing the left/right button).
> 
> I've just updated my Python and PyLab configurations and now matplotlib
> only updates the plot after releasing the left/right button. 
> 
> Can anyone point me to a possible solution for this issue?
> 
> Best regards,
> Hugo Silva
> 

-- 
View this message in context: 
http://old.nabble.com/Matplotlib-Dynamic-Drag-Pan-Zoom-tp32128170p32146578.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] bug in matplotlib.text.Text

2011-07-27 Thread Andrea Pierleoni
Hi all,

I found that a matplotlib.text.Text istance reports wrong coordinates when
converted to str
I'm using version 1.0.1

this is the code in Text class:

def __str__(self):
return "Text(%g,%g,%s)"%(self._y,self._y,repr(self._text))

it is clearly reporting two times the y coordinates, and should be:

def __str__(self):
return "Text(%g,%g,%s)"%(self._x,self._y,repr(self._text))


I'm sorry if this is not the correct plase to report the bug, but I've not
been able to find
a bugtracker for matplotlib.

Andrea


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] bug in matplotlib.text.Text

2011-07-27 Thread Benjamin Root
On Wed, Jul 27, 2011 at 10:07 AM, Andrea Pierleoni
wrote:

> Hi all,
>
> I found that a matplotlib.text.Text istance reports wrong coordinates when
> converted to str
> I'm using version 1.0.1
>
> this is the code in Text class:
>
> def __str__(self):
>return "Text(%g,%g,%s)"%(self._y,self._y,repr(self._text))
>
> it is clearly reporting two times the y coordinates, and should be:
>
> def __str__(self):
>return "Text(%g,%g,%s)"%(self._x,self._y,repr(self._text))
>
>
> I'm sorry if this is not the correct plase to report the bug, but I've not
> been able to find
> a bugtracker for matplotlib.
>
> Andrea
>
>
Andrea,

Thanks for reporting.  I recently spotted this bug and fixed it in the
master branch.

Ben Root
--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] bug in matplotlib.text.Text

2011-07-27 Thread Andrea Pierleoni
Great.
Thank you. I will check the master branch before reporting next time.

Andrea

> On Wed, Jul 27, 2011 at 10:07 AM, Andrea Pierleoni
> wrote:
>
>> Hi all,
>>
>> I found that a matplotlib.text.Text istance reports wrong coordinates
>> when
>> converted to str
>> I'm using version 1.0.1
>>
>> this is the code in Text class:
>>
>> def __str__(self):
>>return "Text(%g,%g,%s)"%(self._y,self._y,repr(self._text))
>>
>> it is clearly reporting two times the y coordinates, and should be:
>>
>> def __str__(self):
>>return "Text(%g,%g,%s)"%(self._x,self._y,repr(self._text))
>>
>>
>> I'm sorry if this is not the correct plase to report the bug, but I've
>> not
>> been able to find
>> a bugtracker for matplotlib.
>>
>> Andrea
>>
>>
> Andrea,
>
> Thanks for reporting.  I recently spotted this bug and fixed it in the
> master branch.
>
> Ben Root
>



--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] controllin the background of a plot

2011-07-27 Thread Till Stensitzki
Hi,

try if:
gcf().set_frameon(False)

helps.


greetings
Till


--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users