I think I see your problem... see below:
class start_lasso():
def __init__(self):
data = [Datum(*xy) for xy in rand(100, 2)]
fig = figure()
ax = fig.add_subplot(111, xlim=(0,1), ylim=(0,1),
autoscale_on=False)
lman = LassoManager(ax, data)
show()
You
Thanks Ben, that solved my issue. I guess I got thrown off because the
plot stayed open, as you described. It's hard to troubleshoot when you
don't get any errors. In the future I will attach all of my objects.
-Mark
On Fri, Sep 7, 2012 at 12:03 PM, Benjamin Root ben.r...@ou.edu wrote:
I think I
On closer inspection the problem isn't calling it from another file,
it is calling it from wxpython. Not exactly sure how to copy code...
lasso_test.py
-
from matplotlib.widgets import Lasso
from matplotlib.nxutils import points_inside_poly
from matplotlib.colors import colorConverter
from
Hi,
I'm not an expert so please go easy on me. I am using the pyplot lasso
demo, and have got it to work how I would like. I am having a problem,
however, where I cannot get it to work if my python file is not the
main file (where __name__ is not __main__).
I took the part at the bottom in the if
On Wednesday, September 5, 2012, Mark Budde wrote:
Hi,
I'm not an expert so please go easy on me. I am using the pyplot lasso
demo, and have got it to work how I would like. I am having a problem,
however, where I cannot get it to work if my python file is not the
main file (where __name__
On Wed, Sep 5, 2012 at 7:19 PM, Mark Budde markbu...@gmail.com wrote:
Hi,
I'm not an expert so please go easy on me. I am using the pyplot lasso
demo, and have got it to work how I would like. I am having a problem,
however, where I cannot get it to work if my python file is not the
main