<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.python.enthought.devel">
    <title>gmane.comp.python.enthought.devel</title>
    <link>http://blog.gmane.org/gmane.comp.python.enthought.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30619"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30616"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30613"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30610"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30604"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30593"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30588"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30587"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30584"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30582"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30571"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30570"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30569"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30568"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30546"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30542"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30536"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30535"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30519"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.enthought.devel/30517"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30619">
    <title>Embedding matplotlib in traits qt</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30619</link>
    <description>&lt;pre&gt;Hi,

I am trying to find some info about embedding matplotlib in a traits application, using qt. I am using the excellent basemap matplotlib map toolbox, so I can not use only chaco.

There is an example using wx at http://gael-varoquaux.info/computers/traits_tutorial/traits_tutorial.html but I can find none about using qt.

- Are there any examples or pointers of direction of embedding matplotlib in qt-traits?

- Or, are there any examples of using chaco as a front-end for basemap, or directly with some map-geometry libraries?

Thanks,
Petrus
&lt;/pre&gt;</description>
    <dc:creator>Petrus Hyvönen</dc:creator>
    <dc:date>2012-05-26T12:38:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30616">
    <title>enaml - focusing a widget at initialization time</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30616</link>
    <description>&lt;pre&gt;I'm trying to focus a widget at initialization time. 

For example, I have the following structure in my .enaml file.  The first widget to gain focus is 'csv_editor'.  However, I want 'field' to be focused.

enamldef Main(MainWindow):
    Container:
        Label:
            text = 'CSV editor'
        Label:
            text = '(first row is column name/title mapping)'
        TextEditor:
            id: csv_editor
            initialized :: 
                set_text(DEFAULT_CSV)
        Label:
            text = 'FilterField control'
        Field:
            id: field
        TableView:
            id: filter_table
            item_model = ListModel([])
            vertical_header_visible = False
            visible &amp;lt;&amp;lt; field.value.strip() != ''

I couldn't find anything in enaml.components that indicated an attribute or method that could be used to set focus.  

However I did track down 'toolkit_widget', and that lets me call upon Qt's 'focusWidget()' method:

            initialized ::
                toolkit_widget.focusWidget()
                print 'focused', toolkit_widget.hasFocus()

I tried attaching that event handler to both the main window, and to 'field'.  However 'csv_editor' still gets the initial focus.  Furthermore, I find it odd that what is printed to the console is "focused False" instead of "focused True".

When I "grin focusWidget" in the enaml source code, I don't find anything.

I also tried this, and it still didn't accomplish what I had hoped:

            initialized ::
                QTimer.singleShot(0, toolkit_widget.focusWidget)

Any tips on how best to accomplish this?  


&lt;/pre&gt;</description>
    <dc:creator>Matthew Scott</dc:creator>
    <dc:date>2012-05-25T06:13:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30613">
    <title>problem getting panel or subpanel into existing qtapp</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30613</link>
    <description>&lt;pre&gt;Hi,

I'm trying to add a traits editor to an existing qt tab widget. The
following bit of code adds a tab but the traits editor is not visible.
The line commented out pops up a standard editor separate from the
main window. Any idea what I'm doing wrong?

Thanks,
Chris

            ns =
NumericalSolution.NS_base(so,pList,nList,sList,opts,simFlagsList)
            ns.frameWidget = vtkViewers.QtGui.QFrame(vtkViewers.g.mainWindow)
            ns.hbox = vtkViewers.QtGui.QHBoxLayout()
            ns.frameWidget.setLayout(ns.hbox)
            vtkViewers.g.tabWidget.addTab(ns.frameWidget,"NumericalSolution")
            vtkViewers.g.tabWidget.setCurrentWidget(ns.frameWidget)
            ns.edit_traits(parent=ns.frameWidget,kind='subpanel')
            #ns.edit_traits()
&lt;/pre&gt;</description>
    <dc:creator>Chris Kees</dc:creator>
    <dc:date>2012-05-23T15:21:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30610">
    <title>trait views</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30610</link>
    <description>&lt;pre&gt;Hi,

I'd like to have a traited class define several different views of it's traits but also keep the default view of all of it's traits intact without explicitly defining that view (the real class I am trying to do this with has many traits).   Is there a simple way to keep the default, show everything, view around and also define custom views that can be incorporated into the view of a class that contains an instance of the class with tons of traits?

 Below is a simplification of what I have been trying.  

from traits.api import HasTraits, Float, Instance, Int
from traitsui.api import View, Item, InstanceEditor


class Params(HasTraits):
  thing1=Float(1.0)
  thing2=Float(2.0)
  thing3=Int(3)

  l=[Item('thing2')]
  view1=View(l)

  def default_traits_view(self):
    alltraits=[]
    for k,v in self.__dict__.iteritems():
      print k, type(self.__dict__[k]) , type(self.__dict__[k]).__name__=='int'
      alltraits.append(Item(str(k)))
    self.view_all=View(alltraits)
    return 'view_all'

  def get_1thingview(self):
    view_1thing=View(Item('thing2'))
    return view_1thing

class Component(HasTraits):

  s=Float(2.3)
  p=Instance(Params)

  view=View( Item('s'), Item(name='p', style='custom') )
#  view=View( Item('s'), Item(name='p', style='custom') )
#  view=View( Item('s'), Item(name='p', style='custom', editor=InstanceEditor(view='view1')) )

  def __init__(self):
    self.p=Params()


if __name__=='__main__':
  c=Component()
  print c.p.default_traits_view()
  c.configure_traits()
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev
&lt;/pre&gt;</description>
    <dc:creator>Ross Harder</dc:creator>
    <dc:date>2012-05-17T22:41:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30604">
    <title>ANN: ETS 4.2 released</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30604</link>
    <description>&lt;pre&gt;Hello all,

I'm happy to announce that ETS 4.2 is now released.
This release adds two new projects encore and enaml
to ETS.

As usual, for convenience, I've created a single (44MB)
tarball which contains the source tarballs of all proejcts:
http://www.enthought.com/repo/ets/ALLETS-4.2.0.tar

EPD 7.3, which will be released next Wednesday, May 23rd,
will feature this ETS release.

- Ilan
&lt;/pre&gt;</description>
    <dc:creator>Ilan Schnell</dc:creator>
    <dc:date>2012-05-17T01:39:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30593">
    <title>enpkg error</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30593</link>
    <description>&lt;pre&gt;Hi,

I'm trying to use enpkg to update my EPD and I've never actually used it
before.  I'm getting the following error:

ERROR: Could not write simple file into: /usr/local/EPD

I get this error when I try "enpkg epd" or when I do just a package, for
example "enpkg numpy"

When I try sudo enpkg epd, I get:

"sudo: enpkg: command not found"

I'm using ubuntu 10.04  Has this happened to anyone else?
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev
&lt;/pre&gt;</description>
    <dc:creator>Adam Hughes</dc:creator>
    <dc:date>2012-05-16T20:11:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30588">
    <title>Help display with notebook</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30588</link>
    <description>&lt;pre&gt;
Hello,

In my app, I have a window with 3 tabs, and a number of parameters
displayed on each of these tabs. This window has OK, Cancel, Help
buttons. Clicking on Help only displays help about the parameters on the
leftmost tab, whatever the tab that is displayed. Is this a bug ?

Chris

&lt;/pre&gt;</description>
    <dc:creator>Christophe Grimault</dc:creator>
    <dc:date>2012-05-14T07:13:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30587">
    <title>about how to draw 3D figure with mayavi</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30587</link>
    <description>&lt;pre&gt;Hi,

I am a new learner to mayavi. Now I am trying to use mayavi to draw a 3D
figure, but I don't how to do that.

I have a "data.dat" file, which has the following data format

      0.21000000      0.81000000     -0.00007584
      0.21000000      0.92000000     -0.00012506
      0.22000000      0.65000000     -0.00010767
      0.23000000      0.73000000     -0.00014971
      0.27000000      0.90000000     -0.00022070
      0.29000000      0.61000000     -0.00025514
      0.31000000      0.58000000     -0.00023702

the 1st column is x and the second col is y. the last column is the
attribute of this point

I want to make a 3D plot for each points(Z will the attribute value).
There are only two or three hundred points, but I want these points to
connect to a smooth and continuous 3D surface.  I google for a while and
still no luck. Can anyone help me solve that? thanks. Because I am new
learner of the mayavi, would you please write out the solution? like

import numpy as np
from mayavi import mlab
......
.....

Thanks very much!
George
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev
&lt;/pre&gt;</description>
    <dc:creator>Jyge Lai</dc:creator>
    <dc:date>2012-05-13T19:39:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30584">
    <title>Traits wrapper for pandas</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30584</link>
    <description>&lt;pre&gt;Hey everyone.  I noticed that epd comes with pandas and i have recently
been intrigued by this library. Has there ever been talk of converting
panda's main data structures to trait objects?  If not how difficult would
this be? I have alreafy created plot objects for handling series data and
the main problems with these come back to managing the data and label
arrays consistently. Since pandas is optimized for speed and so is chaco a
simple traits wrapper for pandas would probably be the fastest interactive
series databases anlyais option out there.  I have some ground work towards
this end without the incorporation of pandas data structures.  Any one ever
think of trying this?

Sorry for spellin and grammar, working from a phone
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev
&lt;/pre&gt;</description>
    <dc:creator>Adam Hughes</dc:creator>
    <dc:date>2012-05-12T01:30:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30582">
    <title>ETS 4.2 release Wednesday, May 16</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30582</link>
    <description>&lt;pre&gt;Hello all,

I know that this has not been the first attempt to release
ETS 4.2, but as you probably know, we always try to
release ETS just before releasing EPD.  We have finally
settled on an EPD release date, which will be May 23rd,
such that one week earlier appears a good day to release ETS.
The existing ETS projects have been quite stable, however
we are planning to add two new projects, i.e. enaml and
encore to the ETS 4.2 release.

If you should have any concerns about releasing ETS 4.2
on May 16th, please address them, and make sure that
outstanding issues and/or pull requests are handled in time.

Thanks   Ilan
&lt;/pre&gt;</description>
    <dc:creator>Ilan Schnell</dc:creator>
    <dc:date>2012-05-11T03:40:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30571">
    <title>Avoiding to raise a change notification</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30571</link>
    <description>&lt;pre&gt;Dear all,

I have a Trait class having a Float attribute and a change notification 
handler related to the attribute:

class MyClass(HasTraits)

   my_attr = Float(0.0)

   def _my_attr_changed(self):
     do something
     ...

It works pretty well, but I have a very specific case where I want to 
change my_attr value without raising a change notification (an thus a 
call to _my_attr_changed). Is it possible? How?

Thanks in advance.

Luigi
&lt;/pre&gt;</description>
    <dc:creator>Luigi Paioro</dc:creator>
    <dc:date>2012-05-08T08:49:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30570">
    <title>[SciPy-Dev] Announce: scikit-learn v0.11</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30570</link>
    <description>&lt;pre&gt;   On behalf of Andy Mueller, our release manager, I am happy to announce
   the 0.11 release of scikit-learn.

   This release includes some major new features such as randomized
   sparse models, gradient boosted regression trees, label propagation
   and many more. The release also has major improvements in the
   documentation and in stability.

   Details can be found on the [1]what's new page.

   We also have a new page with [2]video tutorials on machine learning
   with scikit-learn and different aspects of the package.

   Sources and windows binaries are available on sourceforge,
   through pypi (http://pypi.python.org/pypi/scikit-learn/0.11) or
   can be installed directly using pip:

   pip install -U scikit-learn

   Thanks again to all the contributors who made this release possible.

   Cheers,

    Gaël

   1. http://scikit-learn.org/stable/whats_new.html
   2. http://scikit-learn.org/stable/presentations.html
&lt;/pre&gt;</description>
    <dc:creator>Gael Varoquaux</dc:creator>
    <dc:date>2012-05-07T23:14:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30569">
    <title>Storing a line and scatter plot renderer to asingle key in chaco</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30569</link>
    <description>&lt;pre&gt;Hi,

I have a chaco plot that stores several lineplot renderers in its
plot.plots trait:

{ key1: [&amp;lt;chaco.lineplot.LinePlot object at 0x621c230&amp;gt;], key2:
[&amp;lt;chaco.lineplot.LinePlot object at 0x6200830&amp;gt;] }

I'd like to also have a scatter plot associated with each of these keys,
for example:

{key1: [&amp;lt;chaco.lineplot.LinePlot object at 0x6200830&amp;gt;,
&amp;lt;chaco.scatterplot.ScatterPlot object at 0x6203234&amp;gt;]}

However, I don't know the correct way to pass a scatter and lineplot to the
same key.  The plot.plot method takes in multiple data, for example:

plot.plot("x", "y1", "y2") but can't pass line and scatter plot arguments
simulataneously.  I feel like it may be possible to manually force
something into the plot.plots object by manually creating the lineplot and
using plot.plots[key].append(); however, I don't want to start going down
this path if there's a standard way to do this.

Right now, I'm using the solution to make a key for each object (e.g.):

{ key1_LINE: [&amp;lt;chaco.lineplot.LinePlot object at 0x621c230&amp;gt;], key2_SCATT:
[&amp;lt;chaco.scatterplot.ScatterPlot object at 0x6200830&amp;gt;] }

But my code would be much smoother if I could avoid this.

Thanks.
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev
&lt;/pre&gt;</description>
    <dc:creator>Adam Hughes</dc:creator>
    <dc:date>2012-05-07T18:21:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30568">
    <title>TVTK Texture blending_mode</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30568</link>
    <description>&lt;pre&gt;Hey guys,
I've been having a problem with the texture blending mode for a Surface in
mayavi. In VTK docs, it claims that for a texture, you can set the
BlendingMode as specified here:
http://www.vtk.org/doc/release/5.8/html/a02097.html#9986d6a2cad0d865011f39e7a3c16c90
There is a corresponding blending_mode in texture object for a surface,
however its setting has no effect. Any idea if this is a bug?

-James
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev
&lt;/pre&gt;</description>
    <dc:creator>James Gao</dc:creator>
    <dc:date>2012-05-05T06:27:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30546">
    <title>add_trait</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30546</link>
    <description>&lt;pre&gt;Quick questions... if I use add_trait to add a number of traits with 
value to an instance of an object, how do I check those traits?
I've tried objectname.trait_get() and also objectname.get_trait(name).
I'll put a code snippet together asap.

Brennan
&lt;/pre&gt;</description>
    <dc:creator>Brennan Williams</dc:creator>
    <dc:date>2012-05-01T09:09:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30542">
    <title>Trying to attach a python file</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30542</link>
    <description>&lt;pre&gt;Just checking if the mailing list now accepts python files as attachments.
Did you get an attachment? (One reply from someone is all I need :)

Warren
_______________________________________________
Enthought-Dev mailing list
Enthought-Dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev
&lt;/pre&gt;</description>
    <dc:creator>Warren Weckesser</dc:creator>
    <dc:date>2012-05-01T01:47:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30536">
    <title>inheriting TreeEditor, not catching</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30536</link>
    <description>&lt;pre&gt;Hi,

I'm subclassing the TreeEditor and am interested in catching node
 selection events. Assuming TreeEditor.on_select is the trait to keep an 
eye over, I tried to following (naively)...

class HotwireTreeEditor(TreeEditor):
    &amp;lt; at &amp;gt;on_trait_change('on_select, selected, click, on_hover')
    def _on_select(self, object, name, old, new):
        print 'got selection...', self, object, name, old, new

However, the _on_select method never gets called when I select a node
 in the tree... I'm not spotting the error though, I'm curious to know what's
 the right approach here.

Having lots of fun developing with traits!

-jelle
&lt;/pre&gt;</description>
    <dc:creator>jelle</dc:creator>
    <dc:date>2012-04-30T19:06:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30535">
    <title>register a callback when x.configure_traits() has completed</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30535</link>
    <description>&lt;pre&gt;Hi,

I've got a number of preferences I can only restore, after the GUI has 
launched. I do so calling the `X.configure_traits` method.
Is there someway I can register X to run a callback when its done
 setting up the GUI?

Thanks!

-jelle
&lt;/pre&gt;</description>
    <dc:creator>jelle</dc:creator>
    <dc:date>2012-04-30T18:30:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30519">
    <title>Setting axis values of a chaco plot</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30519</link>
    <description>&lt;pre&gt;Hi,

If I have a Plot object and I want to set the axis values to a set of
strings.  For example, if by default they are:

'1', '2', '3'

and I want to force the axis to be

'Test 1', 'Test 2', 'Test 3'

What is the best way to do this?  In the demo, I found a process in which
one had to invoke mappers and three intermediate objects "LinearMapper",
"ArrayDataSource" and PlotAxis" objects:

        x=ArrayDataSource(self.xlabel)
        xmapper = LinearMapper(range=DataRange1D(x))
        bottom_axis = PlotAxis(plot, orientation="bottom", mapper=xmapper)
        plot.overlays.append(bottom_axis)

Is this still the primary way to do it?  I wasn't sure if in more recent
versions of chaco, some of this may have been streamlined through a new
function call or something that isn't reflected in the API.

Thanks.
&lt;/pre&gt;</description>
    <dc:creator>Adam Hughes</dc:creator>
    <dc:date>2012-04-29T20:03:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30517">
    <title>How to limit redraws in chaco ?</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30517</link>
    <description>&lt;pre&gt;Hi all,

In my app, I use a loop to plot a lot (more than 2000) of small lines (a
few points per line), and this is very slow.

I tried to improve things and I just think that redraw is called many
times (I tracked down to -draw() from enable), more than 30 times. 

Is it possible to disable the redraw and call it right at the end of the
plotting routine ?

Thanks in advance

Chris


&lt;/pre&gt;</description>
    <dc:creator>Christophe Grimault</dc:creator>
    <dc:date>2012-04-27T17:20:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.enthought.devel/30515">
    <title>automated testing and exceptions swallowed</title>
    <link>http://comments.gmane.org/gmane.comp.python.enthought.devel/30515</link>
    <description>&lt;pre&gt;I'm trying to do some automated testings of some envisage applications,
and I would like to do the following
- start the application
- make it do something that will load as many plugins as possible
- quit automatically

In case an exception is thrown the program should quit so that I can
notice that there is a problem.

Envisage though swallows all the exceptions, but I found a workaround
using the following approach:

def reraise_exception(self, *argv, **kwargs):
     raise sys.exc_info()[1]

with patch('enthought.traits.trait_notifiers.handle_exception',
            reraise_exception):


does it make sense?
Any better way to avoid the exception swallowing?

And how do can I make the application quit after a timeout or after some
actions have been performed?
Thanks,
Andrea
&lt;/pre&gt;</description>
    <dc:creator>Andrea Crotti</dc:creator>
    <dc:date>2012-04-27T15:27:01</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.enthought.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.enthought.devel</link>
  </textinput>
</rdf:RDF>

