I'm back to developing with matplotlib after a bit of a hiatus. I am
refactoring an app I wrote about two years ago. I suspect I have uncovered
a bug in 0.90 which was not present in 0.87.7. The small test script,
which I created to reproduce the problem, fails with the follow traceback
in 0.90
Mark,
It sounds like what you want axis('scaled') to do is nothing other than
gca().set_aspect(1, adjustable='box')
draw_if_interactive()
I think this is a bit out of character with things like axis('equal').
Part of this character is that automatic things are turned on, so that
going back and
Thanks for doing this, the wx back-ends are a bit neglected at the moment.
Which version of wxPython did you test this all on? We really need some
work/testing with 2.8.*, I now there are some issues on OS-X, but I
haven't tried it anywhere else yet.
-Chris
--
Christopher Barker, Ph.D.
Ocean
On 2/14/07, Darren Dale <[EMAIL PROTECTED]> wrote:
> What Ewald is trying to do used to work. The idea is not to work
> interactively, but to run a script and have the plots render in stages, the
> next stage begins when the current windows are closed. I know we have users
> who take advantage of
On 2/14/07, David Clark (Lists) <[EMAIL PROTECTED]> wrote:
> I'm working on a GUI with wxPython to display several traces of data.
> Using a checkbox, I would like to be able to turn traces on the plot on
> and off. I have managed to find the right methods to turn the whole
> axes on and off, but
On 2/14/07, Sture Lygren <[EMAIL PROTECTED]> wrote:
> Thank's a lot for your informative answer. I've solved the issue now using
> WXAgg as backend. WX was way too slow (plotting two graphs with 8000
> datapoints each)
Happy to know it have solved your issue :-)
NG
--
Hi,
Thank's a lot for your informative answer. I've solved the issue now using
WXAgg as backend. WX was way too slow (plotting two graphs with 8000
datapoints each)
regards,
Sture
>> I've been trying to use matplotlib from boa constructor (on windows,
>> running enthon-python2.4-1.0.0 and boa-co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --
David D. Clark
Electrical Engineer
P-23, Neutron Science and Technology
e-mail mailto:[EMAIL PROTECTED]
GPG Public key 0x018D6523 available at http://www.us.pgp.net
http://www.gnupg.org has information about public key cryptography
-BEGIN PG
Okay, I'll answer my own question. After looking through the code, it appears
I have to do a xgridlines - not gridlines, like:
glines = getp(gca(), 'xgridlines')
>
> Hi list,
>
> The tutorial indicated that I can use gca to get at the grid
> by doing a:
>
> glines = getp(gca(), 'gridlines')
Hi list,
The tutorial indicated that I can use gca to get at the grid by doing a:
glines = getp(gca(), 'gridlines')
but when I do that, I get a "Subplot instance has no attribute "get_gridlines".
How do I get to the grid object?
Thanks,
--
John Henry
---
I just downloaded the 0.9 binary and did some testing and also updated
all the wx examples to use the new wx namespace (i.e. change from "from
wxPython.wx import *" to "import wx".
dynamic_demo_wx.py
- changed name space using Boa's conversion tool
- moved the timer stuff to __init__, saved a r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I'm working on a GUI with wxPython to display several traces of data.
Using a checkbox, I would like to be able to turn traces on the plot on
and off. I have managed to find the right methods to turn the whole
axes on and off, but not individu
> I've been trying to use matplotlib from boa constructor (on windows,
> running enthon-python2.4-1.0.0 and boa-constructor 0.4.4). For test
> purpose I have a single button-event call this function:
>
> def testPlot():
> plot([1,2,3])
> show()
>
> Everything is fine for the first e
Hello,
I have been working with Mlib and networkX to create a server which
listens for connections and based on the message it receives, it updates
and shows a graph. These are great tools but one thing has come up: when
the graph has been updated and the control goes back so listening
socket.
I have a follow-up on my previous emai.
I don't think we should do an autoscale_view() for axis('equal') either.
For axis('equal') only the limits of either the x or y axis are adjusted
(enlarged really) until the aspect ratio is equal.
Not sure about the others. Do we ever need to do it?
Mark
--
Eric -
I just installed version 0.90 on my windows machine and it seems that
axis('scaled') doesn't work properly yet.
I thought axis('scaled') will change the axes such that the aspect ratio is
equal WITHOUT changing the limits on the axes.
A simple example shows that this goes wrong (I thought
On Wednesday 14 February 2007 6:59:18 am George Nurser wrote:
> On 14/02/07, Ewald Zietsman <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I have a slight problem using matplotlib 0.87.7. I'm using Ubuntu 6.10
> > and installed mpl from source. I'm running numpy 1.01, also installed
> > from sourc
On 14/02/07, Ewald Zietsman <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a slight problem using matplotlib 0.87.7. I'm using Ubuntu 6.10 and
> installed mpl from source. I'm running numpy 1.01, also installed from
> source.
>
> If I run the script below, the first plot shows fine. When I close
Hi All,
I have a slight problem using matplotlib 0.87.7. I'm using Ubuntu 6.10 and
installed mpl from source. I'm running numpy 1.01, also installed from
source.
If I run the script below, the first plot shows fine. When I close it the
second plot should display but it doesn't. I can only get t
19 matches
Mail list logo