Thanks Ben!
I just updated my Macports and it brought in v1.1.0 so I will check it out
for easier animation.
In the meantime I notice that with MPL v1.1.0 the program crashes at the end
a most of my old MPL example programs (I use the GTKAgg backend for all of
them). A typical way to end the pro
Hi,
I am trying to do an animation in two axes (subplots) and I can get it to
work so-so if I do it the "wrong way" but when I do it the "right way" I
don't see anything in my second subplot.
The first subplot (ax1) shows a bunch of moving line segments ("sticks") and
the second one (ax2) shows a
OK, I just found the fix within two minutes of my last email to you (after
spending 6 hours on it)!!
I needed to use the following variant for the macports installation (like I
said, I rather new at the Mac and unix):
sudo port install py26-matplotlib @1.0.1 +gtk2
for the matplotlib installatio
I am having the old "no gdk backend" problem with GTKAgg. I am running OS X
10.6 (Snow Leopard), and, uh, I'm kind of new to Unix :). I installed the
following through Macports:
python26 @2.6.6_3 (active)
py26-gtk @2.22.0_1 (active)
py26-matplotlib @1.0.1_3+tkinter (active)
py26-numpy @1.6.0_0+at
t; as for the circle.
here I am looking at:
http://matplotlib.sourceforge.net/api/artist_api.html?highlight=polygon#matp
lotlib.patches.Polygon
thanks,
john
-Original Message-
From: John Hunter [mailto:jdh2...@gmail.com]
Sent: Sunday, February 14, 2010 7:39 PM
To: John Jameson
Thought I would post this as a simple GTKagg animation
with patches (after John Hunter fixed it for me :-):
import pygtk, gobject
import matplotlib
matplotlib.use('GTKAgg')
import numpy as np
import matplotlib.pyplot as plt
import pylab
from matplotlib.patches import CirclePolygon, Polygon
Hunter [mailto:jdh2...@gmail.com]
Sent: Sunday, February 14, 2010 7:39 PM
To: John Jameson
Cc: matplotlib-users@lists.sourceforge.net; Michael Droettboom
Subject: Re: [Matplotlib-users] memory leak for GTKAgg animation
On Sat, Feb 13, 2010 at 2:53 PM, John Jameson
wrote:
> HI,
> I find th
HI,
I find the very basic animation below has a memory leak (my pagefile usage
number keeps growing in the Windows XP Windows Task Manager Performance
graph).I don't see this with the "animation_blit_gtk.py" example on:
http://matplotlib.sourceforge.net/examples/index.html
(which I used as a star
Hi -
I am wondering how to animate using blit and patches.
The code below was modified from one of the examples.
You will see that it shows (and moves) the rectangle just fine, but
the circle never shows up.
best,
Jaron
import gtk, gobject
import matplotlib
matplotlib.use('GTKAgg') #Agg rende