GithubHelp home page GithubHelp logo

enthought / chaco Goto Github PK

View Code? Open in Web Editor NEW
290.0 290.0 101.0 56.74 MB

Chaco is a Python package for building interactive and custom 2-D plots.

Home Page: http://docs.enthought.com/chaco/

License: Other

Python 97.13% C 2.36% Cython 0.51%

chaco's People

Contributors

aaronayres35 avatar achabotl avatar bgrant avatar brycehendrix avatar cfarrow avatar corranwebster avatar homosapien-lcy avatar itziakos avatar jdeschenes avatar johntyree avatar jonathanrocher avatar jvkersch avatar jwiggins avatar ku-ya avatar mdickinson avatar michaelaye avatar midhun-pm avatar msarahan avatar nicolasap-dm avatar notmatthancock avatar pberkes avatar rahulporuri avatar rkern avatar robind42 avatar shoeb-github avatar skailasa avatar stevenengler avatar stevenjkern avatar tonysyu avatar warrenweckesser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chaco's Issues

Fix examples to new style

Many demos are using an old style with lots of code smell. Clean these up. AFAIK the following grep gives the bad examples.


| [05-20 17:05] aterrel@lilac:~/workspace/chaco/examples (.132 Mb) (fixing_demos)
$ grep -r "class Demo(HasTraits)" *
advanced/data_stream.py:class Demo(HasTraits):
advanced/javascript_hover_tools.py:class Demo(HasTraits):
advanced/spec_waterfall.py:class Demo(HasTraits):
advanced/spectrum.py:class Demo(HasTraits):
advanced/variable_sized_scatter.py:class Demo(HasTraits):
basic/bounded_grids.py:class Demo(HasTraits):
basic/candle.py:class Demo(HasTraits):
basic/cmap_image_plot.py:class Demo(HasTraits):
basic/cmap_image_select.py:class Demo(HasTraits):
basic/cmap_scatter.py:class Demo(HasTraits):
basic/contour_cmap_plot.py:class Demo(HasTraits):
basic/contour_plot.py:class Demo(HasTraits):
basic/draw_layers.py:class Demo(HasTraits):
basic/grid_container.py:class Demo(HasTraits):
basic/grid_container_aspect_ratio.py:class Demo(HasTraits):
basic/image_inspector.py:class Demo(HasTraits):
basic/image_lasso.py:class Demo(HasTraits):
basic/image_plot.py:class Demo(HasTraits):
basic/inset_plot.py:class Demo(HasTraits):
basic/line_drawing.py:class Demo(HasTraits):
basic/line_plot1.py:class Demo(HasTraits):
basic/line_plot_hold.py:class Demo(HasTraits):
basic/log_plot.py:class Demo(HasTraits):
basic/nans_plot.py:class Demo(HasTraits):
basic/polygon_move.py:class Demo(HasTraits):
basic/regression.py:class Demo(HasTraits):
basic/scatter.py:class Demo(HasTraits):
basic/scatter_custom_marker.py:class Demo(HasTraits):
basic/scatter_inspector.py:class Demo(HasTraits):
basic/scatter_select.py:class Demo(HasTraits):
basic/scatter_toggle.py:class Demo(HasTraits):
basic/scrollbar.py:class Demo(HasTraits):
basic/zoomable_colorbar.py:class Demo(HasTraits):
bigdata.py:class Demo(HasTraits):
data_labels.py:class Demo(HasTraits):
data_view.py:class Demo(HasTraits):
edit_line.py:class Demo(HasTraits):
financial_plot.py:class Demo(HasTraits):
financial_plot_dates.py:class Demo(HasTraits):
functionplotter.py:class Demo(HasTraits):
multiaxis.py:class Demo(HasTraits):
multiaxis_using_Plot.py:class Demo(HasTraits):
quiver.py:class Demo(HasTraits):
range_selection_demo.py:class Demo(HasTraits):
scales_test.py:class Demo(HasTraits):
simple_line.py:class Demo(HasTraits):
simple_polar.py:class Demo(HasTraits):
stacked_axis.py:class Demo(HasTraits):
tornado.py:class Demo(HasTraits):
tutorials/scipy2008/ploteditor.py:class Demo(HasTraits):
two_plots.py:class Demo(HasTraits):
vertical_plot.py:class Demo(HasTraits):
zoomed_plot/zoom_plot.py:class Demo(HasTraits):

TimeScale tests failing on Mac OS X

Tests pass on Travis CI, but I get a set of errors on my machine, all related to chaco.scales:

==> nosetests chaco
..........................FFFF...............F...........F.........F...F........................................................................................................................
======================================================================
FAIL: test_time_scale.test_tfrac_hours_02
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/tests/test_time_scale.py", line 39, in test_tfrac_hours_02
    assert base == 0
AssertionError

======================================================================
FAIL: test_time_scale.test_tfrac_hours_03
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/tests/test_time_scale.py", line 45, in test_tfrac_hours_03
    assert base == 3600 * 4
AssertionError

======================================================================
FAIL: test_time_scale.test_tfrac_hours_04
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/tests/test_time_scale.py", line 51, in test_tfrac_hours_04
    assert base == 3600 * 3.0
AssertionError

======================================================================
FAIL: test_time_scale.test_tfrac_hours_05
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/tests/test_time_scale.py", line 57, in test_tfrac_hours_05
    assert base == 3600 * 12.0
AssertionError

======================================================================
FAIL: test_time_scale.test_trange_hours_07
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/tests/test_time_scale.py", line 149, in test_trange_hours_07
    assert r == [0.0, 7200.0]
AssertionError

======================================================================
FAIL: test_yearly_scales (chaco.scales.time_scale_test_case.CalendarScaleSystemTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/time_scale_test_case.py", line 174, in test_yearly_scales
    self.check_ticks(ticks, desired)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/scales_test_case.py", line 16, in check_ticks
    self.assertEqual(len(ticks1),len(ticks2))
AssertionError: 7 != 8

======================================================================
FAIL: test_day_of_month (chaco.scales.time_scale_test_case.TimeScaleTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/time_scale_test_case.py", line 129, in test_day_of_month
    self.check_ticks(ts.ticks(start,end), desired)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/scales_test_case.py", line 18, in check_ticks
    self.assertAlmostEqual(t1, t2, 6)
AssertionError: 1110924000.0 != 1110841200.0 within 6 places

======================================================================
FAIL: test_month_of_year (chaco.scales.time_scale_test_case.TimeScaleTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/time_scale_test_case.py", line 143, in test_month_of_year
    self.check_ticks(ts.ticks(start,end), desired)
  File "/Users/pberkes/test_venvs/meta-ets/meta-ETS/chaco/chaco/scales/scales_test_case.py", line 18, in check_ticks
    self.assertAlmostEqual(t1, t2, 6)
AssertionError: 1104616800.0 != 1104534000.0 within 6 places

----------------------------------------------------------------------
Ran 192 tests in 0.347s

FAILED (failures=8)

x_sort_order is reference before assignment in do_plot()

Found while trying to run demo/shell/lines.py.

shell/plot_maker.py/do_plot() line 296:

x_ds.sort_order = x_sort_order

but there is no guarantee that x_sort_order is assigned a value above.

Something like following might work as a fix:

if x not in active_plot.datasources:
    x_sort_order = _check_sort_order(plotdata.get_data(x))
else:
    x_sort_order = None
plots.extend(active_plot.plot((x,y), type=",".join(plot_type), **format))

# Set the sort order
x_ds = active_plot.datasources[x]
if isinstance(x_ds, ArrayDataSource) and x_sort_order:
    x_ds.sort_order = x_sort_order

wx dialog in tutorial examples is not able to be closed

Using the Canopy distribution (1.1.0-osx-64 on OSX 10.7.5), the example (http://docs.enthought.com/chaco/user_manual/tutorial_1.html#application-oriented-plotting) works in the Canopy Editor, but almost works correctly from the command line. This time, the expected plot appears, but it's not possible to close the window because of this error when clicking the 'window close' button:

Traceback (most recent call last):
  File "/Users/david/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 333, in _on_close_page
    self._on_ok( event )
  File "/Users/david/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 360, in _on_ok
    self.close( wx.ID_OK )
  File "/Users/david/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/traitsui/wx/ui_live.py", line 320, in close
    ui.finish()
  File "/Users/david/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/traitsui/ui.py", line 264, in finish
    self.reset( destroy = True )
  File "/Users/david/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/traitsui/ui.py", line 304, in reset
    editor.dispose()
  File "/Users/david/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/component_editor.py", line 52, in dispose
    self._window.cleanup()
AttributeError: 'NoneType' object has no attribute 'cleanup'

By default my system seems to be using wx. If I do the following before running the command-line scripts:

$ export ETS_TOOLKIT=qt4

then the tutorial 'applications' do terminate correctly when run from the command line.

RangeSelectionOverlay fails to handle alternate metadata names.

When the metadata name attribute of a RangeSelection tool is changed to something other than 'selections' the overlay does not appear to correctly handle the change. Setting the metadata_name attribute of the RangeSelectionOverlay seems to prompt the overlay tool to search for a range which contains all of the selected points. The code indicates that it treats the metadata as a selection mask rather than a range. An exception arises when attempting to find the range that contains all of the points in the mask and appears to be related to finding the runs in the selection mask.

Missing import in array_plot_data.py

On line 146:
new_data = array(new_data)
but array has not been imported

diff --git a/chaco/array_plot_data.py b/chaco/array_plot_data.py
index a2254e1..05b73e9 100644
--- a/chaco/array_plot_data.py
+++ b/chaco/array_plot_data.py
@@ -1,6 +1,6 @@
""" Defines ArrayPlotData.

"""

+from numpy import array

Enthought library imports

from traits.api import Dict

Free rotation of Chaco plots

Using the following snippet crashes python with a fatal error
"Fatal Python error: This thread state must be current when releasing"

class RotatingContainer(OverlayPlotContainer):
    rotation = Float(45)
    use_backbuffer = False
    def draw(self, gc, *args, **kw):
        with gc:
            w2 = self.width / 2
            h2 = self.height / 2
            gc.translate_ctm(w2, h2)
            gc.rotate_ctm(math.radians(self.rotation))
            gc.translate_ctm(-w2, -h2 - 100)
            OverlayPlotContainer.draw(self, gc, *args, **kw)

setting use_backbuffer=True works for some cases. see "Free rotation of Chaco plots" thread in enthought mailing list

Canopy 1.0 Mac OSX 10.7.5

Fix tutorial example "A Slight Modification" - super() takes at least one argument

Documentation error:

http://docs.enthought.com/chaco/user_manual/tutorial_1.html#a-slight-modification

Verbatim copy/paste in Canopy Editor results in:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
    181             else:
    182                 filename = fname
--> 183             __builtin__.execfile(filename, *where)

.../tutorial1_5.py in ()
     21         self.plot = plot
     22 if __name__ == "__main__":
---> 23     OverlappingPlot().configure_traits()

.../tutorial1_5.py in __init__(self)
     11         width=500, height=500, resizable=True, title="Chaco Plot")
     12     def __init__(self):
---> 13         super(OverlappingPlot).__init__()
     14         x = linspace(-14, 14, 100)
     15         y = x/2 * sin(x)

TypeError: super() takes at least 1 argument (0 given)

Canopy 1.1.0-osx-64 on OSX 10.7.5.

PolarMapper does not map to polar coordinates

At the moment PolarMapper is the same as LinearMapper, and one needs to map from polar to catesian coordinates by hand.

See: docs in polar_mapper.py, create_polar_plot in plot_factory.py

Marker "v" in chaco.shell does not work

import chaco.shell as csh
from numpy import linspace, pi, sin, cos
x = linspace(-2 * pi, 2 * pi, 100)
y = sin(x)
csh.plot(x, y, 'bv')

raises this:

/.../lib/python2.7/site-packages/traits/trait_handlers.pyc in error(self, object, name, value)
    168         """
    169         raise TraitError( object, name, self.full_info( object, name, value ),
--> 170                           value )
    171 
    172     def arg_error ( self, method, arg_num, object, name, value ):

TraitError: The 'marker' trait of a ScatterPlot instance must be
'circle' or 'cross' or 'custom' or 'diamond' or 'dot' or
'inverted_triangle' or 'pixel' or 'plus' or 'square' or 'triangle',
but a value of 'down triangle' <type 'str'> was specified.

I am using Chaco 4.2.0.

Explicit assignment to the 'labels' attribute of a legend is broken.

The following code demonstrates the problem. Three curves are plotted; they will have the default names 'plot0', 'plot1', and 'plot2'. 'plot1' is a green dashed line. The 'labels' attribute of the legend is set to ['plot1'], so only the name 'plot1' should show up in the legend, and the icon should be a green dashed line. In the plot generated by the script, the legend lists only 'plot1', but the icon is a solid red line--it is referencing 'plot0'.

import numpy as np
from traits.api import HasTraits, Instance
from traitsui.api import UItem, View
from chaco.api import Plot, ArrayPlotData
from enable.api import ComponentEditor


class Demo(HasTraits):

    plot = Instance(Plot)

    def _plot_default(self):
        x = np.linspace(0, 4, 51)
        y1 = np.sin(x)
        y2 = np.cos(x)
        y3 = np.exp(-x)
        data = ArrayPlotData(x=x, y1=y1, y2=y2, y3=y3)

        plot = Plot(data)
        plot.plot(('x', 'y1'), color=(1,0,0))
        plot.plot(('x', 'y2'), color=(0,1,0), line_style='dash')
        plot.plot(('x', 'y3'), color=(0,0,1))

        plot.legend.visible = True
        plot.legend.labels = ['plot1']
        return plot

    traits_view = \
        View(
             UItem('plot', editor=ComponentEditor(), style='custom'),
             resizable=True,
        )


if __name__ == "__main__":
    demo = Demo()
    demo.configure_traits()

The bug is in the Legend's get_preferred_size() method. In the loop over label_names, val should just be self.plots[name], not self.plots[plot_names[i]].

Kiva does't include X11/Xlib.h on Solaris 10

I was installing Chaco using pip install chaco on my Solaris 10 machine and ran into a problem when it was compiling kiva. I got the following errors:

In file included from kiva/agg/src/x11/agg_bmp.cpp:4:0:

/usr/include/X11/Xutil.h:117:2: error: 'Bool' does not name a type

/usr/include/X11/Xutil.h:120:2: error: 'Pixmap' does not name a type

/usr/include/X11/Xutil.h:121:2: error: 'Window' does not name a type

/usr/include/X11/Xutil.h:123:2: error: 'Pixmap' does not name a type

/usr/include/X11/Xutil.h:124:2: error: 'XID' does not name a type

/usr/include/X11/Xutil.h:161:5: error: 'Atom' does not name a type

/usr/include/X11/Xutil.h:227:5: error: 'XPointer' does not name a type

/usr/include/X11/Xutil.h:283:3: error: 'Visual' does not name a type

/usr/include/X11/Xutil.h:284:3: error: 'VisualID' does not name a type

/usr/include/X11/Xutil.h:316:2: error: 'Colormap' does not name a type

/usr/include/X11/Xutil.h:324:2: error: 'VisualID' does not name a type

/usr/include/X11/Xutil.h:325:2: error: 'XID' does not name a type

/usr/include/X11/Xutil.h:357:1: error: '_XFUNCPROTOBEGIN' does not name a type

/usr/include/X11/Xutil.h:446:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:454:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:463:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:471:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:481:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:490:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:499:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:517:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:532:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:540:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:548:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:557:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:567:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:601:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:619:8: error: 'Bool' does not name a type

/usr/include/X11/Xutil.h:830:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:872:8: error: 'Status' does not name a type

/usr/include/X11/Xutil.h:938:1: error: '_XFUNCPROTOEND' does not name a type

I tracked this down to an important note in Xutil.h:

/* You must include <X11/Xlib.h> before including this file */

I was able to work around the issue by adding #include <X11/Xlib.h> before the #include <X11/Xutil.h> in <virtualenv>/build/enable/kiva/agg/src/x11/agg_bmp.cpp and running pip install chaco again.

depth.py demo broken

Python crashes when running this demo on Mac64bit, with python from Canopy 1.3.1715, with Chaco at the tip of master.

Python(29698,0x7fff7af50180) malloc: *** error for object 0x7f000000: pointer being freed was not allocated

Details of the traceback:
Process: Python [29721]
Path: /Users/USER/Library/Enthought/*/Python.app/Contents/MacOS/Python
Identifier: org.python.python
Version: 2.7.6 (2.7.6)
Code Type: X86-64 (Native)
Parent Process: bash [29184]
User ID: 502

Date/Time: 2014-02-06 23:24:57.317 -0600
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 10

Interval Since Last Report: 299500 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 31950 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 52E02745-FDE3-0C5B-853F-7C813183AC34

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** error for object 0x7f000000: pointer being freed was not allocated

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8f0cd212 pthread_kill + 10
1 libsystem_c.dylib 0x00007fff95d5cb24 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff95da0f61 abort + 143
3 libsystem_c.dylib 0x00007fff95d74989 free + 392
4 agg.so 0x00000001145ce4b9 void agg24::render_scanline_aa<agg24::scanline_u8, agg24::renderer_mclip<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >, agg24::span_allocatoragg24::rgba8, agg24::span_gradient<agg24::rgba8, agg24::span_interpolator_linear<agg24::trans_affine, 8u>, agg24::gradient_y, agg24::pod_auto_array<agg24::rgba8, 256u> > >(agg24::scanline_u8 const&, agg24::renderer_mclip<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >&, agg24::span_allocatoragg24::rgba8&, agg24::span_gradient<agg24::rgba8, agg24::span_interpolator_linear<agg24::trans_affine, 8u>, agg24::gradient_y, agg24::pod_auto_array<agg24::rgba8, 256u> >&) + 137
5 agg.so 0x00000001145fd1d3 void agg24::render_scanlinesagg24::rasterizer_scanline_aa<agg24::rasterizer_sl_clip<agg24::ras_conv_int >, agg24::scanline_u8, agg24::renderer_scanline_aa<agg24::renderer_mclip<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >, agg24::span_allocatoragg24::rgba8, agg24::span_gradient<agg24::rgba8, agg24::span_interpolator_linear<agg24::trans_affine, 8u>, agg24::gradient_y, agg24::pod_auto_array<agg24::rgba8, 256u> > > >(agg24::rasterizer_scanline_aaagg24::rasterizer_sl_clip<agg24::ras_conv_int >&, agg24::scanline_u8&, agg24::renderer_scanline_aa<agg24::renderer_mclip<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >, agg24::span_allocatoragg24::rgba8, agg24::span_gradient<agg24::rgba8, agg24::span_interpolator_linear<agg24::trans_affine, 8u>, agg24::gradient_y, agg24::pod_auto_array<agg24::rgba8, 256u> > >&) + 147
6 agg.so 0x000000011462148b void kiva::gradient::apply<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int>, agg24::gradient_y>(agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int>, agg24::rasterizer_scanline_aaagg24::rasterizer_sl_clip<agg24::ras_conv_int >, agg24::renderer_mclip<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >, agg24::gradient_y) + 1085
7 agg.so 0x0000000114623231 void kiva::gradient::apply<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >(agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int>, agg24::rasterizer_scanline_aaagg24::rasterizer_sl_clip<agg24::ras_conv_int >, agg24::renderer_mclip<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >
) + 137
8 agg.so 0x000000011462b1d0 void kiva::graphics_context<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >::fill_path_clip_conversion<agg24::conv_curve<kiva::compiled_path, agg24::curve3, agg24::curve4> >(agg24::conv_curve<kiva::compiled_path, agg24::curve3, agg24::curve4>&, agg24::filling_rule_e) + 818
9 agg.so 0x000000011462b36c kiva::graphics_context<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >::fill_path(agg24::filling_rule_e) + 322
10 agg.so 0x00000001145e4005 kiva::graphics_context<agg24::pixfmt_alpha_blend_rgba<agg24::blender_rgba<agg24::rgba8, agg24::order_bgra>, agg24::row_ptr_cache, unsigned int> >::draw_path(kiva::draw_mode_e) + 71
11 agg.so 0x0000000114588c7e wrap_GraphicsContextArray_draw_path + 398
12 org.python.python 0x00000001000c7132 PyEval_EvalFrameEx + 26306
13 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
14 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
15 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
16 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
17 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
18 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
19 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
20 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
21 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
22 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
23 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
24 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
25 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
26 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
27 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
28 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
29 org.python.python 0x00000001000c76dd PyEval_EvalFrameEx + 27757
30 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
31 org.python.python 0x00000001000419e0 function_call + 176
32 org.python.python 0x000000010000fe02 PyObject_Call + 98
33 org.python.python 0x000000010002251b instancemethod_call + 363
34 org.python.python 0x000000010000fe02 PyObject_Call + 98
35 QtGui.so 0x0000000109e40fb5 QWidgetWrapper::paintEvent(QPaintEvent
) + 213
36 QtGui 0x000000010a95f8ae QWidget::event(QEvent
) + 2366
37 QtGui.so 0x0000000109e3d953 QWidgetWrapper::event(QEvent
) + 243
38 QtGui 0x000000010a904ecd QApplicationPrivate::notify_helper(QObject
, QEvent) + 189
39 QtGui 0x000000010a90b5cb QApplication::notify(QObject, QEvent) + 1035
40 QtGui.so 0x000000010986a886 QApplicationWrapper::notify(QObject, QEvent) + 278
41 QtCore 0x0000000107f33c0b QCoreApplication::notifyInternal(QObject_, QEvent_) + 139
42 QtGui 0x000000010a959d1c QWidgetPrivate::drawWidget(QPaintDevice_, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore_) + 1340
43 QtGui 0x000000010a95a6e4 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice_, QList<QObject_> const&, int, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore_) + 1572
44 QtGui 0x000000010a959e1b QWidgetPrivate::drawWidget(QPaintDevice_, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore_) + 1595
45 QtGui 0x000000010a95a6e4 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice_, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore_) + 1572
46 QtGui 0x000000010a959e1b QWidgetPrivate::drawWidget(QPaintDevice_, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore_) + 1595
47 QtGui 0x000000010a95a6e4 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice_, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore_) + 1572
48 QtGui 0x000000010a959e1b QWidgetPrivate::drawWidget(QPaintDevice_, QRegion const&, QPoint const&, int, QPainter_, QWidgetBackingStore*) + 1595
49 QtGui 0x000000010a8a91ea -[QCocoaView drawRect:] + 1786
50 com.apple.AppKit 0x00007fff92cae064 -[NSView drawRect:clip:] + 4217
51 com.apple.AppKit 0x00007fff92cac6c1 -[NSView recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1656
52 com.apple.AppKit 0x00007fff92cacad9 -[NSView recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2704
53 com.apple.AppKit 0x00007fff92caa6f2 -[NSView recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 817
54 com.apple.AppKit 0x00007fff92caa143 -[NSThemeFrame recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314
55 com.apple.AppKit 0x00007fff92ca5d6d -[NSView displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4675
56 com.apple.AppKit 0x00007fff92c6fc93 -[NSView displayIfNeeded] + 1830
57 com.apple.AppKit 0x00007fff92d2ca18 -[NSWindow reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1377
58 com.apple.AppKit 0x00007fff92d2c038 -[NSWindow doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 940
59 com.apple.AppKit 0x00007fff92d2bc1f -[NSWindow orderWindow:relativeTo:] + 159
60 QtGui 0x000000010a8a2c06 QWidgetPrivate::raise_sys() + 390
61 QtGui 0x000000010a95d548 QWidget::raise() + 392
62 QtGui.so 0x0000000109e2ce67 Sbk_QWidgetFunc_raise
+ 119
63 org.python.python 0x00000001000c6b27 PyEval_EvalFrameEx + 24759
64 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
65 org.python.python 0x00000001000419e0 function_call + 176
66 org.python.python 0x000000010000fe02 PyObject_Call + 98
67 org.python.python 0x000000010002251b instancemethod_call + 363
68 org.python.python 0x000000010000fe02 PyObject_Call + 98
69 QtGui.so 0x0000000109911565 QDialogWrapper::showEvent(QShowEvent
) + 213
70 QtGui 0x000000010a95fc7b QWidget::event(QEvent
) + 3339
71 QtGui.so 0x0000000109915df3 QDialogWrapper::event(QEvent
) + 243
72 QtGui 0x000000010a904ecd QApplicationPrivate::notify_helper(QObject
, QEvent
) + 189
73 QtGui 0x000000010a90b5cb QApplication::notify(QObject
, QEvent
) + 1035
74 QtGui.so 0x000000010986a886 QApplicationWrapper::notify(QObject_, QEvent_) + 278
75 QtCore 0x0000000107f33c0b QCoreApplication::notifyInternal(QObject_, QEvent*) + 139
76 QtGui 0x000000010a95dec2 QWidgetPrivate::show_helper() + 370
77 QtGui 0x000000010a95e20d QWidget::setVisible(bool) + 509
78 QtGui 0x000000010adae606 QDialog::setVisible(bool) + 102
79 QtGui.so 0x0000000109916214 QDialogWrapper::setVisible(bool) + 148
80 QtGui.so 0x0000000109e293ce Sbk_QWidgetFunc_show + 126
81 org.python.python 0x00000001000c6b27 PyEval_EvalFrameEx + 24759
82 org.python.python 0x00000001000c76dd PyEval_EvalFrameEx + 27757
83 org.python.python 0x00000001000c76dd PyEval_EvalFrameEx + 27757
84 org.python.python 0x00000001000c76dd PyEval_EvalFrameEx + 27757
85 org.python.python 0x00000001000c76dd PyEval_EvalFrameEx + 27757
86 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
87 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
88 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
89 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
90 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
91 org.python.python 0x00000001000419e0 function_call + 176
92 org.python.python 0x000000010000fe02 PyObject_Call + 98
93 org.python.python 0x000000010002251b instancemethod_call + 363
94 org.python.python 0x000000010000fe02 PyObject_Call + 98
95 org.python.python 0x000000010007d698 slot_tp_init + 88
96 org.python.python 0x00000001000794c5 type_call + 245
97 org.python.python 0x000000010000fe02 PyObject_Call + 98
98 org.python.python 0x00000001000c4138 PyEval_EvalFrameEx + 14024
99 org.python.python 0x00000001000c76dd PyEval_EvalFrameEx + 27757
100 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
101 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
102 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
103 org.python.python 0x00000001000c68ad PyEval_EvalFrameEx + 24125
104 org.python.python 0x00000001000c8fb9 PyEval_EvalCodeEx + 2137
105 org.python.python 0x00000001000c90d6 PyEval_EvalCode + 54
106 org.python.python 0x00000001000edc2e PyRun_FileExFlags + 174
107 org.python.python 0x00000001000edeca PyRun_SimpleFileExFlags + 458
108 org.python.python 0x000000010010563a Py_Main + 3770
109 org.python.python 0x00000001000026c4 0x100000000 + 9924
110 org.python.python 0x0000000100001c74 0x100000000 + 7284

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff5fbf3428 rdx: 0x0000000000000000
rdi: 0x0000000000000f0f rsi: 0x0000000000000006 rbp: 0x00007fff5fbf3450 rsp: 0x00007fff5fbf3428
r8: 0x00007fff7af4f278 r9: 0x0000000000000000 r10: 0x0000000020000000 r11: 0x0000000000000206
r12: 0x000000010931fe00 r13: 0x0000000100273000 r14: 0x00007fff7af50180 r15: 0x0000000000000004
rip: 0x00007fff8f0cd212 rfl: 0x0000000000000206 cr2: 0x00007fff7af48ff0
Logical CPU: 0

Binary Images:
0x100000000 - 0x100002fff +org.python.python (2.7.6 - 2.7.6) <4AF53815-07E5-1822-C14A-362AEF3AB455> /Users/USER/Library/Enthought//Python.app/Contents/MacOS/Python
0x100005000 - 0x100173fff +org.python.python (2.7.6, [c] 2004-2013 Python Software Foundation. - 2.7.6) <8317AB9E-1BCD-926E-E542-9CC7CE3E64B0> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/Python
0x1002f7000 - 0x1002f9ff7 +heapq.so (???) <2549269D-D4FC-F0AA-B396-3AAA7F0B3F3C> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/heapq.so
0x1004f0000 - 0x1004f5fe7 +math.so (???) <5A28A330-E4FD-E125-8FEC-4604A1BDA3EF> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/math.so
0x10052a000 - 0x100538ff7 +datetime.so (???) <78DF8117-36EC-1075-CFB2-0451A6C0A9B4> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/datetime.so
0x100544000 - 0x100598fef +umath.so (???) /Users/USER/Library/Enthought/
/umath.so
0x1005c5000 - 0x1005c9fff +collections.so (???) <3A264778-DA59-E0C8-D7D8-885D3C13E95C> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/collections.so
0x1005cf000 - 0x1005d3ff7 +operator.so (???) <10514EA8-B0F4-C349-0E5D-63910CFDBA40> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/operator.so
0x1005da000 - 0x1005e1ff7 +itertools.so (???) /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/itertools.so
0x1005ec000 - 0x1005eefff +cStringIO.so (???) <73DCB3BF-125D-F3EB-6074-05084FC2ED76> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/cStringIO.so
0x1005f3000 - 0x1005f8ff7 +dotblas.so (???) /Users/USER/Library/Enthought//dotblas.so
0x1005fc000 - 0x1005fdfff +grp.so (???) <1B9ED9B4-3ADF-518F-B5BC-CF67D66950B6> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/grp.so
0x100740000 - 0x100750fff +cPickle.so (???) /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/cPickle.so
0x100758000 - 0x100759ff7 +functools.so (???) <067EFC3A-9710-F660-C908-4979A0C00D8D> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/functools.so
0x10079d000 - 0x1007c4ff7 +scalarmath.so (???) /Users/USER/Library/Enthought/
/scalarmath.so
0x1007d7000 - 0x1007d9ff7 +time.so (???) <035A03C3-0F50-5005-0E62-616DD33B112C> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/time.so
0x1007de000 - 0x1007e3fff +compiled_base.so (???) <96A5834F-BD05-389A-827A-0CDEC8372A6B> /Users/USER/Library/Enthought//compiled_base.so
0x1007e7000 - 0x1007ecfff +lapack_lite.so (???) <73EC3952-EAB0-3F31-A16B-45BC9C3BF20A> /Users/USER/Library/Enthought/
/lapack_lite.so
0x1007f0000 - 0x1007f0fff +future_builtins.so (???) <65CC9E96-7B20-74F5-81DF-D411EF05B057> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/future_builtins.so
0x1007f3000 - 0x1007fbff7 +fftpack_lite.so (???) <7C506F9E-98F4-3C0B-B14A-AD0EE63A565E> /Users/USER/Library/Enthought/
/fftpack_lite.so
0x101000000 - 0x101136fef +multiarray.so (???) <5489A4C8-A83E-3ECB-9848-BCC432F16D51> /Users/USER/Library/Enthought/
/multiarray.so
0x1011dd000 - 0x1016d5fe7 +libmkl_intel_lp64.dylib (0) /Users/USER/Library/Enthought//libmkl_intel_lp64.dylib
0x101799000 - 0x10269afe7 +libmkl_intel_thread.dylib (0) /Users/USER/Library/Enthought//libmkl_intel_thread.dylib
0x102d04000 - 0x103ac3fef +libmkl_core.dylib (0) /Users/USER/Library/Enthought//libmkl_core.dylib
0x103c6e000 - 0x105235feb +libmkl_mc.dylib (0) /Users/USER/Library/Enthought//libmkl_mc.dylib
0x105306000 - 0x106c5efeb +libmkl_mc3.dylib (0) /Users/USER/Library/Enthought//libmkl_mc3.dylib
0x106dca000 - 0x106e7bfeb +libiomp5.dylib (5) <187B8DB6-4FCB-2B9E-31BB-F945EFCCF930> /Users/USER/Library/Enthought/
/libiomp5.dylib
0x106fe1000 - 0x106fe4ff7 +strop.so (???) <71C611B2-68CA-FA2C-4B4E-4761722DE1A8> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/strop.so
0x106fe9000 - 0x106feefff +_struct.so (???) <46553479-59AB-262C-AE77-FCC772897338> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/_struct.so
0x106ff5000 - 0x106ff8fff +select.so (???) /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/select.so
0x107140000 - 0x107156ff7 +umath_linalg.so (???) /Users/USER/Library/Enthought//umath_linalg.so
0x1072a2000 - 0x1072e7ff7 +mtrand.so (???) <3CD9FA7C-4183-3BA8-942D-503713091306> /Users/USER/Library/Enthought/
/mtrand.so
0x107334000 - 0x10734afff +_ctypes.so (???) <5CDC19CE-12F4-6610-9779-1A821AADD90D> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/ctypes.so
0x10735c000 - 0x107367fff +ctraits.so (???) <48DE17D3-7351-3FE7-AD55-6295CC46A792> /Users/USER/
/ctraits.so
0x1073f0000 - 0x1073f1ff7 +fcntl.so (???) /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/fcntl.so
0x1073f4000 - 0x1073f7fef +binascii.so (???) <956B0142-1243-B3F8-6AEF-DBA707CF8E34> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/binascii.so
0x1073fb000 - 0x1073fcfff +_random.so (???) /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/random.so
0x107540000 - 0x107549fff +speedups.so (???) <88D40FDE-5401-3715-826B-610F276CC4A8> /Users/USER//speedups.so
0x1075d2000 - 0x1075dffff +cython_speedups.so (???) <4900EA16-1330-315E-9A4B-B4F553C41E17> /Users/USER//cython_speedups.so
0x1075e8000 - 0x1075eafff +hashlib.so (???) <079C6E04-2999-0B97-980C-9A620EEBDAFC> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/hashlib.so
0x107800000 - 0x107816ff7 +io.so (???) <152E6F35-F33E-1DDF-C0F5-39B7FC60C28E> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/io.so
0x10786e000 - 0x10788eff7 +libpyside-python2.7.1.2.1.dylib (1.2.1) <1C97D7DA-F8ED-3700-8A0D-54F92E7543F5> /Users/USER/Library/Enthought/
/libpyside-python2.7.1.2.1.dylib
0x1078ae000 - 0x1078d1ff7 +libshiboken-python2.7.1.2.1.dylib (1.2.1) <66DE90C0-81D8-32DF-9DD0-EE53A114FA1E> /Users/USER/Library/Enthought/
/libshiboken-python2.7.1.2.1.dylib
0x107a00000 - 0x107c50fff +QtCore.so (???) /Users/USER/Library/Enthought/
/QtCore.so
0x107df4000 - 0x1080bdff7 +QtCore (4.8.5) <448D22CC-D547-32B6-9F15-8C3F0F5AFBB4> /Users/USER/Library/Enthought/
/QtCore.framework/Versions/4/QtCore
0x1082f2000 - 0x1082f5ff7 +zlib.so (???) <426FD96F-DB6B-C561-6B5D-257F964150C3> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/zlib.so
0x109800000 - 0x10a251fe7 +QtGui.so (???) <0D637F59-17E1-33D0-BB52-3F95DF397A32> /Users/USER/Library/Enthought/
/QtGui.so
0x10a87c000 - 0x10b269fe7 +QtGui (4.8.5) <9745C0F7-2DFB-3A4C-A1D0-AEBA2508DDCC> /Users/USER/Library/Enthought/
/QtGui.framework/Versions/4/QtGui
0x10bcc6000 - 0x10bceaff7 com.apple.security.csparser (3.0 - 55179.13) /System/Library/Frameworks/Security.framework/PlugIns/csparser.bundle/Contents/MacOS/csparser
0x10cd00000 - 0x10cdb9ff7 ColorSyncDeprecated.dylib (400) <3A647DD4-9BA1-3B5E-9680-64923371A9B7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
0x10ecd1000 - 0x10ecdafff +plat_support.so (0) <41633BA2-6CE2-3154-A25A-EE6A43756C54> /Users/USER//plat_support.so
0x10ece2000 - 0x10ece7fff com.apple.agl (3.2.1 - AGL-3.2.1) <328CAFF6-C443-303F-923A-F9EEA8E71794> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x10ecee000 - 0x10eceffff +bisect.so (???) /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/bisect.so
0x10ecf2000 - 0x10ecf5ff7 +contour.so (???) <41A0955A-F2AA-3E8D-8801-4A0ADEAD2B82> /Users/USER/
/contour.so
0x113e88000 - 0x113eacff7 +QtSvg.so (???) <0B7C492D-8E0D-3455-8F75-AF494FA525DB> /Users/USER/Library/Enthought/
/QtSvg.so
0x113eeb000 - 0x113ef1fff +array.so (???) <26DE2E7C-DE98-1AB2-709C-73160D0D65BC> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/array.so
0x114000000 - 0x11404eff7 +QtSvg (4.8.5) /Users/USER/Library/Enthought/
/QtSvg.framework/Versions/4/QtSvg
0x114580000 - 0x114704fe7 +agg.so (0) <6D7C188C-DB57-3EDB-B59B-BAF846D24256> /Users/USER//agg.so
0x114896000 - 0x1148e3ff7 +QtOpenGL.so (???) /Users/USER/Library/Enthought/
/QtOpenGL.so
0x114920000 - 0x1149fefe7 +QtOpenGL (4.8.5) <6DD5F930-AFCD-361C-9561-EF3F67176724> /Users/USER/Library/Enthought//QtOpenGL.framework/Versions/4/QtOpenGL
0x1151c0000 - 0x1151f4fef +pyexpat.so (???) /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/pyexpat.so
0x115484000 - 0x115518fef +unicodedata.so (???) <5571E746-E80B-11E5-906E-DD2BB831DC8A> /Applications/Canopy.app/appdata/canopy-1.3.0.1715.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/unicodedata.so
0x115740000 - 0x115771ff7 +imaging.so (???) <761F665E-20A0-3D57-8E6C-71C8C7A5BE0E> /Users/USER/Library/Enthought//imaging.so
0x11578f000 - 0x1157bfffc +libjpeg.7.dylib (8) <65172D5C-ECBB-BE59-6C40-30525775C156> /Users/USER/Library/Enthought/
/libjpeg.7.dylib
0x7fff65382000 - 0x7fff653b693f dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
0x7fff89506000 - 0x7fff89513fff libbz2.1.0.dylib (29) /usr/lib/libbz2.1.0.dylib
0x7fff89541000 - 0x7fff8954efff com.apple.AppleFSCompression (49 - 1.0) /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
0x7fff8954f000 - 0x7fff8954ffff com.apple.ApplicationServices (45 - 45) <5302CC85-D534-3FE5-9E56-CA16762177F6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x7fff89e29000 - 0x7fff89e2bfff com.apple.securityhi (4.0 - 55002) <26E6D477-EF61-351F-BA8C-67824AA231C6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x7fff89e2c000 - 0x7fff89e36fff com.apple.speech.recognition.framework (4.1.5 - 4.1.5) <5A4B532E-3428-3F0A-8032-B0AFFF72CA3D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x7fff89e37000 - 0x7fff89e68ff7 com.apple.DictionaryServices (1.2 - 184.4) <2EC80C71-263E-3D63-B461-6351C876C50D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff89eab000 - 0x7fff89ec2fff libGL.dylib (8.10.1) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff89ec3000 - 0x7fff89eefff7 libRIP.A.dylib (333.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff89efb000 - 0x7fff8a2f2fff libLAPACK.dylib (1073.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff8a2f3000 - 0x7fff8a413fff com.apple.desktopservices (1.7.4 - 1.7.4) /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x7fff8a41e000 - 0x7fff8a42afff com.apple.CrashReporterSupport (10.8.3 - 418) /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x7fff8a42b000 - 0x7fff8a54392f libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
0x7fff8a544000 - 0x7fff8a545ff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
0x7fff8a588000 - 0x7fff8a5f1fff libstdc++.6.dylib (56) /usr/lib/libstdc++.6.dylib
0x7fff8a5f2000 - 0x7fff8a61afff libJPEG.dylib (851) <64A3EB03-34FB-308C-817B-6106D1F4D80F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff8a676000 - 0x7fff8a68dfff com.apple.GenerationalStorage (1.1 - 132.3) /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x7fff8a6ff000 - 0x7fff8a704fff libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
0x7fff8a71a000 - 0x7fff8a71efff libCoreVMClient.dylib (32.5) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x7fff8a71f000 - 0x7fff8a74afff libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
0x7fff8a7a3000 - 0x7fff8a9d8ff7 com.apple.CoreData (106.1 - 407.7) <24E0A6B4-9ECA-3D12-B26A-72B9DCF09768> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff8a9d9000 - 0x7fff8a9effff com.apple.MultitouchSupport.framework (237.4 - 237.4) <0F7FEE29-161B-3D8E-BE91-308CBD354461> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x7fff8a9f0000 - 0x7fff8a9f0fff com.apple.CoreServices (57 - 57) <45F1466A-8264-3BB7-B0EC-E5E5BFBED143> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff8a9f1000 - 0x7fff8ab9ffff com.apple.QuartzCore (1.8 - 304.3) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff8aba0000 - 0x7fff8ac72ff7 com.apple.CoreText (260.0 - 275.17) /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff8ac73000 - 0x7fff8ac7ffff libCSync.A.dylib (333.1) <319D3E83-8086-3990-8773-872F2E7C6EB3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff8ac80000 - 0x7fff8ae06fff libBLAS.dylib (1073.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff8ae82000 - 0x7fff8ae8fff7 com.apple.NetAuth (4.0 - 4.0) /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff8aed1000 - 0x7fff8aeffff7 libsystem_m.dylib (3022.6) <11B6081D-6212-3EAB-9975-BED6234BD6A5> /usr/lib/system/libsystem_m.dylib
0x7fff8af00000 - 0x7fff8af22ff7 libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
0x7fff8af23000 - 0x7fff8af24ff7 libSystem.B.dylib (169.3) <92475A81-385C-32B9-9D6D-38E4BAC90996> /usr/lib/libSystem.B.dylib
0x7fff8af88000 - 0x7fff8aff0fff libvDSP.dylib (380.10) <3CA154A3-1BE5-3CF4-BE48-F0A719A963BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fff8aff1000 - 0x7fff8b04dff7 com.apple.Symbolication (1.3 - 93) /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x7fff8b5e4000 - 0x7fff8b5f9fff com.apple.ImageCapture (8.0 - 8.0) <71B24609-DEE9-3927-9C82-62E72270299C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x7fff8b69c000 - 0x7fff8b6a2fff libmacho.dylib (829) /usr/lib/system/libmacho.dylib
0x7fff8b6a3000 - 0x7fff8b6faff7 com.apple.ScalableUserInterface (1.0 - 1) <93C14595-6172-37E9-88F2-CBC80A1C54D0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
0x7fff8b6fb000 - 0x7fff8b704ff7 com.apple.CommerceCore (1.0 - 26.2) /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
0x7fff8b705000 - 0x7fff8b706ff7 libsystem_sandbox.dylib (220.3) /usr/lib/system/libsystem_sandbox.dylib
0x7fff8b821000 - 0x7fff8b91efff libsqlite3.dylib (138.1) /usr/lib/libsqlite3.dylib
0x7fff8b91f000 - 0x7fff8b920fff libsystem_blocks.dylib (59) /usr/lib/system/libsystem_blocks.dylib
0x7fff8b923000 - 0x7fff8bbf4ff7 com.apple.security (7.0 - 55179.13) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff8bbf5000 - 0x7fff8bc0cfff com.apple.CFOpenDirectory (10.8 - 151.10) <10F41DA4-AD54-3F52-B898-588D9A117171> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x7fff8bc0d000 - 0x7fff8bc4cff7 com.apple.QD (3.42.1 - 285.1) <77A20C25-EBB5-341C-A05C-5D458B97AD5C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x7fff8be5a000 - 0x7fff8bef8ff7 com.apple.ink.framework (10.8.2 - 150) <3D8D16A2-7E01-3EA1-B637-83A36D353308> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x7fff8befc000 - 0x7fff8befefff libCVMSPluginSupport.dylib (8.10.1) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x7fff8bf4f000 - 0x7fff8c27ffff com.apple.HIToolbox (2.0 - 626.1) <656D08C2-9068-3532-ABDD-32EC5057CCB2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff8c280000 - 0x7fff8c283fff libRadiance.dylib (851) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff8c284000 - 0x7fff8c286fff com.apple.TrustEvaluationAgent (2.0 - 23) /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff8c71c000 - 0x7fff8c720fff libpam.2.dylib (20) /usr/lib/libpam.2.dylib
0x7fff8c721000 - 0x7fff8c736ff7 libdispatch.dylib (228.23) /usr/lib/system/libdispatch.dylib
0x7fff8c770000 - 0x7fff8c77fff7 libxar.1.dylib (105) /usr/lib/libxar.1.dylib
0x7fff8c780000 - 0x7fff8c79fff7 com.apple.ChunkingLibrary (2.0 - 133.3) <8BEC9AFB-DCAA-37E8-A5AB-24422B234ECF> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x7fff8c9c6000 - 0x7fff8c9cbfff libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
0x7fff8c9cc000 - 0x7fff8ca06ff7 com.apple.GSS (3.0 - 2.0) <423BDFCC-9187-3F3E-ABB0-D280003EB15E> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff8ca07000 - 0x7fff8ca75ff7 com.apple.framework.IOKit (2.0.1 - 755.42.1) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff8ca76000 - 0x7fff8cad9fff com.apple.audio.CoreAudio (4.1.2 - 4.1.2) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff8cada000 - 0x7fff8cd7eff7 com.apple.CoreImage (8.4.0 - 1.0.1) /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x7fff8cd8d000 - 0x7fff8cda0ff7 libbsm.0.dylib (32) /usr/lib/libbsm.0.dylib
0x7fff8ce93000 - 0x7fff8cf9efff libFontParser.dylib (84.6) <96C42E49-79A6-3475-B5E4-6A782599A6DA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff8cf9f000 - 0x7fff8cfa6fff libGFXShared.dylib (8.10.1) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x7fff8d08f000 - 0x7fff8d0e5fff com.apple.HIServices (1.20 - 417) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x7fff8d368000 - 0x7fff8d368fff com.apple.Carbon (154 - 155) <1B2846B1-384E-3D1C-8999-201215723349> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff8d3ba000 - 0x7fff8d719fff com.apple.Foundation (6.8 - 945.18) <1D7E58E6-FA3A-3CE8-AC85-B9D06B8C0AA0> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff8d78b000 - 0x7fff8d78dff7 libunc.dylib (25) <2FDC94A7-3039-3680-85F3-2164E63B464D> /usr/lib/system/libunc.dylib
0x7fff8db22000 - 0x7fff8dc24fff libJP2.dylib (851) <26FFBDBF-9CCE-33D7-A45B-0A31C98DA37E> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff8dc2f000 - 0x7fff8dc2ffff libkeymgr.dylib (25) /usr/lib/system/libkeymgr.dylib
0x7fff8dc34000 - 0x7fff8dc39fff com.apple.OpenDirectory (10.8 - 151.10) <1F47EC96-7403-3690-8D8D-C31D3B6FDA0A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff8dea4000 - 0x7fff8dec4fff libPng.dylib (851) <3466F35C-EC1A-3D1A-80DC-175857FA19D5> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff8dec5000 - 0x7fff8df52ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <54A8069C-E497-3B07-BEA7-D3BC9DB5B649> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff8e2b3000 - 0x7fff8e2b3fff libOpenScriptingUtil.dylib (148.3) /usr/lib/libOpenScriptingUtil.dylib
0x7fff8e2de000 - 0x7fff8e2e2fff com.apple.IOSurface (86.0.4 - 86.0.4) <26F01CD4-B76B-37A3-989D-66E8140542B3> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff8e35e000 - 0x7fff8e360ff7 com.apple.print.framework.Print (8.0 - 258) <8F243E49-021F-3892-B555-3010A7F450A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x7fff8e361000 - 0x7fff8e3a5fff libcups.2.dylib (327.7) <9F35B58A-F47E-348A-8E09-E235FA4B9270> /usr/lib/libcups.2.dylib
0x7fff8e3c6000 - 0x7fff8e46cff7 com.apple.CoreServices.OSServices (557.6 - 557.6) <1BDB5456-0CE9-301C-99C1-8EFD0D2BFCCD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff8e46d000 - 0x7fff8e46dfff com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff8e473000 - 0x7fff8e474fff liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
0x7fff8e486000 - 0x7fff8e508ff7 com.apple.Heimdal (3.0 - 2.0) /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff8e65b000 - 0x7fff8e6dcfff com.apple.Metadata (10.7.0 - 707.12) <69E3EEF7-8B7B-3652-8320-B8E885370E56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff8e6dd000 - 0x7fff8f06d627 com.apple.CoreGraphics (1.600.0 - 333.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff8f06e000 - 0x7fff8f0baff7 libauto.dylib (185.4) /usr/lib/libauto.dylib
0x7fff8f0bb000 - 0x7fff8f0d6ff7 libsystem_kernel.dylib (2050.48.12) <4B7993C3-F62D-3AC1-AF92-414A0D6EED5E> /usr/lib/system/libsystem_kernel.dylib
0x7fff90361000 - 0x7fff90369ff7 libsystem_dnssd.dylib (379.38.1) /usr/lib/system/libsystem_dnssd.dylib
0x7fff9036a000 - 0x7fff903a3ff7 libssl.0.9.8.dylib (47.2) <46DF85DC-18FB-3108-91F6-52AE3EBF2347> /usr/lib/libssl.0.9.8.dylib
0x7fff90685000 - 0x7fff906aaff7 libc++abi.dylib (26) /usr/lib/libc++abi.dylib
0x7fff906ab000 - 0x7fff906bafff com.apple.opengl (1.8.10 - 1.8.10) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff906e7000 - 0x7fff909feff7 com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <1E567A52-677F-3168-979F-5FBB0818D52B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff90aef000 - 0x7fff90b02ff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <023D909C-3AFA-3438-88EB-05D0BDA5AFFE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff90dc8000 - 0x7fff90ddaff7 libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
0x7fff90df5000 - 0x7fff90df9ff7 com.apple.TCC (1.0 - 1) <76A86876-2280-3849-8478-450E1A8C0E01> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x7fff90ef9000 - 0x7fff90feefff libiconv.2.dylib (34) /usr/lib/libiconv.2.dylib
0x7fff91046000 - 0x7fff9104efff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
0x7fff910d6000 - 0x7fff91127ff7 com.apple.SystemConfiguration (1.12.2 - 1.12.2) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff91128000 - 0x7fff911c2fff libvMisc.dylib (380.10) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fff911c3000 - 0x7fff911c4ff7 libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
0x7fff911ed000 - 0x7fff911f0ff7 libdyld.dylib (210.2.3) /usr/lib/system/libdyld.dylib
0x7fff911f1000 - 0x7fff912aeff7 com.apple.ColorSync (4.8.0 - 4.8.0) <73BE495D-8985-3B88-A7D0-23DF0CB50304> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x7fff912af000 - 0x7fff9144afef com.apple.vImage (6.0 - 6.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff91456000 - 0x7fff91507fff com.apple.LaunchServices (539.9 - 539.9) <07FC6766-778E-3479-8F28-D2C9917E1DD1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff91555000 - 0x7fff915d4ff7 com.apple.securityfoundation (6.0 - 55115.4) <8676E0DF-295F-3690-BDAA-6C9C1D210B88> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x7fff915d5000 - 0x7fff91634fff com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff9163e000 - 0x7fff9163efff com.apple.vecLib (3.8 - vecLib 3.8) <6CBBFDC4-415C-3910-9558-B67176447789> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff9163f000 - 0x7fff9164dfff com.apple.Librarian (1.1 - 1) <5AC28666-7642-395F-A923-C6F8A274BBBD> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
0x7fff9164e000 - 0x7fff91684fff com.apple.DebugSymbols (98 - 98) <7059F71D-9A82-3D32-99BB-E043DEDA6174> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x7fff91a11000 - 0x7fff91a1fff7 libkxld.dylib (2050.48.12) /usr/lib/system/libkxld.dylib
0x7fff91a20000 - 0x7fff91a42ff7 com.apple.Kerberos (2.0 - 1) <416543F5-E7AF-3269-843F-C8CDA8DD0FFA> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff91a5a000 - 0x7fff91a5dfff com.apple.help (1.3.2 - 42) <418A9A41-BCB4-32A2-97ED-3A388F69CA9D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x7fff91b8f000 - 0x7fff91bb9ff7 com.apple.CoreVideo (1.8 - 99.4) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff91bcd000 - 0x7fff91bd4fff libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
0x7fff91bd5000 - 0x7fff91c0bff7 libsystem_info.dylib (406.17) /usr/lib/system/libsystem_info.dylib
0x7fff91c0c000 - 0x7fff91d5efff com.apple.audio.toolbox.AudioToolbox (1.9.2 - 1.9.2) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff91d5f000 - 0x7fff91dc7ff7 libc++.1.dylib (65.1) /usr/lib/libc++.1.dylib
0x7fff92321000 - 0x7fff92342ff7 libCRFSuite.dylib (33) /usr/lib/libCRFSuite.dylib
0x7fff92372000 - 0x7fff9237dfff libsystem_notify.dylib (98.5) /usr/lib/system/libsystem_notify.dylib
0x7fff9238e000 - 0x7fff92394ff7 libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
0x7fff92395000 - 0x7fff92397fff libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
0x7fff92398000 - 0x7fff923a3ff7 com.apple.bsd.ServiceManagement (2.0 - 2.0) /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x7fff923a4000 - 0x7fff923feff7 com.apple.opencl (2.2.19 - 2.2.19) <3C7DFB2C-B3F9-3447-A1FC-EAAA42181A6E> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff923ff000 - 0x7fff92574ff7 com.apple.CFNetwork (596.5 - 596.5) <22372475-6EF4-3A04-83FC-C061FE4717B3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff92575000 - 0x7fff92579ff7 com.apple.CommonPanels (1.2.5 - 94) <5F81D593-4B87-3DCC-B934-625D436B4CB1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x7fff9257a000 - 0x7fff925cfff7 libTIFF.dylib (851) <7706BB07-E7E8-38BE-A5F0-D8B63E3B9283> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff9260b000 - 0x7fff92a28fff FaceCoreLight (2.4.1) /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
0x7fff92aa9000 - 0x7fff92b16ff7 com.apple.datadetectorscore (4.1 - 269.3) <5775F0DB-87D6-310D-8B03-E2AD729EFB28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x7fff92b17000 - 0x7fff93744fff com.apple.AppKit (6.8 - 1187.40) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff937d1000 - 0x7fff937f2fff com.apple.Ubiquity (1.2 - 243.15) /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x7fff937f3000 - 0x7fff937f9fff com.apple.DiskArbitration (2.5.2 - 2.5.2) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff937fa000 - 0x7fff937faffd com.apple.audio.units.AudioUnit (1.9.2 - 1.9.2) <6D314680-7409-3BC7-A807-36341411AF9A> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff93a1c000 - 0x7fff93a43fff com.apple.framework.familycontrols (4.1 - 410) <50F5A52C-8FB6-300A-977D-5CFDE4D5796B> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x7fff94232000 - 0x7fff942f7ff7 com.apple.coreui (2.0 - 181.1) <7C4196D5-79E8-3557-963B-71F494DC9B04> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff9458a000 - 0x7fff945a7ff7 com.apple.openscripting (1.3.6 - 148.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x7fff945a8000 - 0x7fff945ebff7 com.apple.bom (12.0 - 192) <0EFE0F2D-B6DE-3D1E-93C2-EED6D96F70A2> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x7fff945ec000 - 0x7fff94646fff com.apple.print.framework.PrintCore (8.3 - 387.2) <5BA0CBED-4D80-386A-9646-F835C9805B71> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x7fff9464a000 - 0x7fff946e5fff com.apple.CoreSymbolication (3.0 - 117) <7D43ED93-BD81-338C-8076-6A932A1D19E8> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x7fff946eb000 - 0x7fff9476bff7 com.apple.ApplicationServices.ATS (332 - 341.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x7fff947ef000 - 0x7fff947effff com.apple.Accelerate (1.8 - Accelerate 1.8) <878A6E7E-CB34-380F-8212-47FBF12C7C96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff947f0000 - 0x7fff9483fff7 libFontRegistry.dylib (100) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff94840000 - 0x7fff9484efff libcommonCrypto.dylib (60027) /usr/lib/system/libcommonCrypto.dylib
0x7fff94850000 - 0x7fff9489fff7 libcorecrypto.dylib (106.2) /usr/lib/system/libcorecrypto.dylib
0x7fff948a0000 - 0x7fff94a8aff7 com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff94cd4000 - 0x7fff94ce2ff7 libsystem_network.dylib (77.10) <2AAA67A1-525E-38F0-8028-1D2B64716611> /usr/lib/system/libsystem_network.dylib
0x7fff94ce3000 - 0x7fff94d20fef libGLImage.dylib (8.10.1) <91E31B9B-4141-36D5-ABDC-20F1D6D1D0CF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x7fff94d73000 - 0x7fff94d9aff7 com.apple.PerformanceAnalysis (1.16 - 16) <1BDA3662-18B7-3F38-94E5-9ACD477A7682> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x7fff94d9b000 - 0x7fff94daffff com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) <94EDF2AB-809C-3D15-BED5-7AD45B2A7C16> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff94db0000 - 0x7fff94fb0fff libicucore.A.dylib (491.11.3) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib
0x7fff955a5000 - 0x7fff955a9fff libCGXType.A.dylib (333.1) <16625094-813E-39F8-9AFE-C1A24ED11749> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x7fff95887000 - 0x7fff95984ff7 libxml2.2.dylib (22.3) <7FD09F53-83DA-3ECD-8DD9-870E1A2F0427> /usr/lib/libxml2.2.dylib
0x7fff95985000 - 0x7fff959c8ff7 com.apple.RemoteViewServices (2.0 - 80.6) <5CFA361D-4853-3ACC-9EFC-A2AC1F43BA4B> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x7fff959c9000 - 0x7fff95acbfff libcrypto.0.9.8.dylib (47.2) /usr/lib/libcrypto.0.9.8.dylib
0x7fff95acc000 - 0x7fff95acdfff libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff95ace000 - 0x7fff95ba8fff com.apple.backup.framework (1.4.3 - 1.4.3) <6B65C44C-7777-3331-AD9D-438D10AAC777> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff95ba9000 - 0x7fff95bd7fff com.apple.CoreServicesInternal (154.3 - 154.3) /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
0x7fff95c25000 - 0x7fff95c2cfff com.apple.NetFS (5.0 - 4.0) <195D8EC9-72BB-3E04-A64D-E1A89B4850C1> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff95c2d000 - 0x7fff95d46fff com.apple.ImageIO.framework (3.2.2 - 851) <6552C673-9F29-3B31-A12E-C4391A950965> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fff95d47000 - 0x7fff95e13ff7 libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib
0x7fff95ecd000 - 0x7fff95eecff7 libresolv.9.dylib (51) <0882DC2D-A892-31FF-AD8C-0BB518C48B23> /usr/lib/libresolv.9.dylib
0x7fff9611e000 - 0x7fff96129fff com.apple.CommonAuth (3.0 - 2.0) <1CA95702-DDC7-3ADB-891E-7F037ABDDA14> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff9617b000 - 0x7fff9617ffff libGIF.dylib (851) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff96180000 - 0x7fff961caff7 libGLU.dylib (8.10.1) <6699DEA6-9EEB-3B84-A57F-B25AE44EC584> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 2
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 6648
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=285.4M resident=132.2M(46%) swapped_out_or_unallocated=153.2M(54%)
Writable regions: Total=141.7M written=42.4M(30%) resident=65.9M(46%) swapped_out=0K(0%) unallocated=75.8M(54%)

REGION TYPE VIRTUAL
=========== =======
CG backing stores 5852K
CG image 12K
CG raster data 48K
CG shared images 1216K
CoreServices 2480K
MALLOC 122.5M
MALLOC guard page 48K
Memory tag=242 12K
STACK GUARD 56.0M
Stack 10.0M
VM_ALLOCATE 88K
__DATA 18.0M
__IMAGE 528K
__LINKEDIT 76.7M
__TEXT 208.7M
__UNICODE 544K
mapped file 88.2M
shared memory 308K
=========== =======
TOTAL 591.0M

Model: MacBookPro10,1, BootROM MBP101.00EE.B02, 4 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC 2.3f36
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.7f2 12718, 3 service, 21 devices, 3 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SD512E, 500.28 GB
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2512, 0x1d180000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0262, 0x1d182000 / 5
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8286, 0x1d181300 / 6
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3

Create a PanZoomTool

Currently there exists a ZoomTool and a PanTool but no PanZoomTool. These two tools are logically connected since they operate on the ranges of the graph.

chaco/data_view.py DataView class vertical orientation bug

The map_data() method from the DataView class in chaco/data_view.py does not correctly handle a vertical orientation.

Line 233 from the map_data method:
{{{
return array((self.index_mapper.map_data(x), self.value_mapper.map_data(y)))
}}}

I believe the fix is to replace the above line by:
{{{
if self.orientation == 'h':
return array((self.index_mapper.map_data(x), self.value_mapper.map_data(y)))
else:
return array((self.index_mapper.map_data(y), self.value_mapper.map_data(x)))
}}}

ScatterPlot subclasses are not composable

It is not currently possible to create a scatter plot with symbols that have both different sizes and different colors. There are two subclasses of ScatterPlot (ColormappedScatterPlot and VariableSizeScatterPlot) to implement different colors and different sizes for symbols. They cannot be easily combined, as they both implement their own _render() method.

My preference would be to incorporate both features into the parent class, which could then have either or both behavior(s).

ScatterInspector does not deselect all on index == None

I've been playing around with the scattertoggle.py example. Maybe I'm missing something, but the ScatterInspector seems to fail to deselect all points when clicking on whitespace on the plot (that is, index == None). Something along the lines of this seems to fix it.

class PatchedScatterInspector(ScatterInspector):
        def _deselect(self, index=None):
            plot = self.component
            if index:
                super(PatchedScatterInspector, self)._deselect(index)
            else:
                for name in ('index', 'value'):
                    if not hasattr(plot, name):
                        continue
                    md = getattr(plot, name).metadata
                    md[self.selection_metadata_name] = []
                    getattr(plot, name).metadata_changed = True
            return

Cheers,

-A

Highlight tool fails on plots containing a contour line plot

In ipython shell, when overlaying a scatter plot and a contour plot, clicking on the plot gives the following traceback. Presumably we should implement at least a minimal hittest() method on all plots, even if it will never do anything. Or alternatively, make the highlight tool just a little smarter...

AttributeError                            Traceback (most recent call last)

/Users/cwebster/src/ets/enable/enthought/enable/abstract_window.pyc in _on_left_down(self, event)
    437 
    438     def _on_left_down ( self, event ):
--> 439         self._handle_mouse_event( 'left_down', event, set_focus = True )
    440 
    441     def _on_left_up ( self, event ):

/Users/cwebster/src/ets/enable/enthought/enable/abstract_window.pyc in _handle_mouse_event(self, event_name, event, set_focus)
    339                     self.component.dispatch(mouse_event, "pre_" + event_name)
    340                     mouse_event.handled = False
--> 341                     self.component.dispatch(mouse_event, event_name)
    342 
    343 

/Users/cwebster/src/ets/enable/enthought/enable/component.pyc in dispatch(self, event, suffix)
    905             self._old_dispatch(event, suffix)
    906         else:
--> 907             self._new_dispatch(event, suffix)
    908         return
    909 

/Users/cwebster/src/ets/enable/enthought/enable/component.pyc in _new_dispatch(self, event, suffix)
    958         if not event.handled:
    959             for tool in self.tools:
--> 960                 tool.dispatch(event, suffix)
    961 
    962         return

/Users/cwebster/src/ets/enable/enthought/enable/base_tool.pyc in dispatch(self, event, suffix)
    138         Overrides enable.Interactor.
    139         """
--> 140         self._dispatch_stateful_event(event, suffix)
    141         return
    142 

/Users/cwebster/src/ets/enable/enthought/enable/base_tool.pyc in _dispatch_stateful_event(self, event, suffix)
    147         handler = getattr(self, self.event_state + "_" + suffix, None)
    148         if handler is not None:
--> 149             handler(event)
    150         return
    151 

/Users/cwebster/src/ets/chaco/enthought/chaco/tools/highlight_tool.pyc in normal_left_down(self, event)
     42         """
     43         if self.drag_button == "left":
---> 44             self._highlight(event)
     45         return
     46 

/Users/cwebster/src/ets/chaco/enthought/chaco/tools/highlight_tool.pyc in _highlight(self, event)
     57         if isinstance(self.component, BasePlotContainer):
     58             event.offset_xy(self.component.x, self.component.y)
---> 59             closest_plot = self._find_curve(self.component.components, event)
     60             if closest_plot:
     61                 index = closest_plot.index

/Users/cwebster/src/ets/chaco/enthought/chaco/tools/highlight_tool.pyc in _find_curve(self, plots, event)
     88         # need to change to use distance - not just return first plot within threshold

     89         for p in plots:
---> 90             cpoint = p.hittest((event.x,event.y), self.threshold)
     91             if cpoint:
     92                 return p

AttributeError: 'ContourLinePlot' object has no attribute 'hittest'

tests that fail under current 4.3.0

  • python2_7: running distutils-r1_run_phase python_test
.F..........................FF.......................................F.........................F............................................................
=================================================================================
FAIL: test_estimate_default_scale (chaco.scales.scales_test_case.BasicFormatterTestCase)

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/chaco-4.3.0-r1/work/chaco-4.3.0-python2_7/lib/chaco/scales/scales_test_case.py", line 170, in test_estimate_default_scale
    self.assert_( err < 0.4 )
AssertionError: False is not true

======================================================================
FAIL: test_time_scale.test_tfrac_hours_04

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/tmp/portage/dev-python/chaco-4.3.0-r1/work/chaco-4.3.0-python2_7/lib/chaco/scales/tests/test_time_scale.py", line 51, in test_tfrac_hours_04
    assert base == 3600 * 3.0
AssertionError

======================================================================
FAIL: test_time_scale.test_tfrac_hours_05

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/tmp/portage/dev-python/chaco-4.3.0-r1/work/chaco-4.3.0-python2_7/lib/chaco/scales/tests/test_time_scale.py", line 57, in test_tfrac_hours_05
    assert base == 3600 * 12.0
AssertionError

======================================================================
FAIL: test_microsecond (chaco.scales.time_scale_test_case.TimeScaleTestCase)

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/chaco-4.3.0-r1/work/chaco-4.3.0-python2_7/lib/chaco/scales/time_scale_test_case.py", line 156, in test_microsecond
    self.check_ticks(ticks, desired)
  File "/var/tmp/portage/dev-python/chaco-4.3.0-r1/work/chaco-4.3.0-python2_7/lib/chaco/scales/scales_test_case.py", line 16, in check_ticks
    self.assertEqual(len(ticks1),len(ticks2))
AssertionError: 10 != 7
-------------------- >> begin captured stdout << ---------------------
ticks:    [164083510.00000298, 164083510.000004, 164083510.00000498, 164083510.000006, 164083510.00000697, 164083510.000008, 164083510.00000897, 164083510.00000998, 164083510.00001097, 164083510.00001198]
desired:  [164083510.000003, 164083510.000004, 164083510.000005, 164083510.000006, 164083510.000007, 164083510.000008, 164083510.000009]

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: Borders should have the correct height and width.

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/chaco-4.3.0-r1/work/chaco-4.3.0-python2_7/lib/chaco/tests/border_test_case.py", line 38, in test_draw_border_simple
    self.assertRavelEqual(actual, desired)
  File "/var/tmp/portage/dev-python/chaco-4.3.0-r1/work/chaco-4.3.0-python2_7/lib/chaco/tests/border_test_case.py", line 19, in assertRavelEqual
    self.assert_(alltrue(ravel(x) == ravel(y)), "\n%s\n !=\n%s" % (x, y))
AssertionError: 
[[255 255 255 255 255 255]
 [255   0   0   0   0 255]
 [255   0 255 255   0 255]
 [255   0 255 255   0 255]
 [255   0   0   0   0 255]
 [255 255 255 255 255 255]]
 !=
[[255 255 255 255 255 255]
 [255 255 255 255 255 255]
 [255   0   0   0 255 255]
 [255   0 255   0 255 255]
 [255   0   0   0 255 255]
 [255 255 255 255 255 255]]

----------------------------------------------------------------------
Ran 190 tests in 3.092s

FAILED (failures=5)

dev-python/chaco $ python -V
Python 2.7.3
enable version == 4.2.0
numpy version == 1.6.2

Please fix.

can't build chaco 4.1.0 docs without access to an X11 display

Not exactly a bug, but it does complicate rebuilding of the docs when building chaco via an automated Linux distro package build system. It seems that the chaco 4.1.0 docs can only be built with access to an X11 display:

$ export DISPLAY=
$ make html 
sphinx-build -b html -d build/doctrees   source build/html
Making output directory...
Running Sphinx v1.1.2
loading pickled environment... not yet created
building [html]: targets for 28 source files that are out of date
updating environment: 28 added, 0 changed, 0 removed
Unable to access the X Display, is $DISPLAY set properly?             
make: *** [html] Error 1

I'm attempting the build on a Linux box running Python 2.7.2.

ZoomTool "zoom history" keys are not working

From the examples/data_labels.py docstring:

Pressing "z" brings up the Zoom Box, and you can click-drag a rectangular region to
zoom. If you use a sequence of zoom boxes, pressing alt-left-arrow and
alt-right-arrow moves you forwards and backwards through the "zoom history".

but the alt-right-arrow and alt-left-arrow keys don't seem to have any effect.

Save command fails in chaco.shell

Trying to save a file fails in the chaco.shell system. The following traceback occurs:

TypeError                                 Traceback (most recent call last)

/Users/cwebster/src/ets/chaco/docs/<ipython console> in <module>()

/Users/cwebster/src/ets/chaco/enthought/chaco/shell/commands.py in save(filename, pagesize, dest_box, units)
    767         from enthought.chaco.api import PlotGraphicsContext
    768         gc = PlotGraphicsContext((int(p.outer_width), int(p.outer_height)))
--> 769         p.draw(gc, mode="normal")
    770         gc.save(filename)
    771         del gc

/Users/cwebster/src/ets/enable/enthought/enable/component.pyc in draw(self, gc, view_bounds, mode)
    423             self.do_layout()
    424 
--> 425         self._draw(gc, view_bounds, mode)
    426         return
    427 

/Users/cwebster/src/ets/enable/enthought/enable/component.pyc in _draw(self, gc, view_bounds, mode)
    754 
    755             # Blit the backbuffer and then draw the overlay on top

--> 756             gc.draw_image(self._backbuffer, (x, y, width, height))
    757             self._dispatch_draw("overlay", gc, view_bounds, mode)
    758         else:

/Users/cwebster/src/ets/enable/enthought/kiva/agg/agg.pyc in draw_image(self, img, rect, force_copy)
   1026         if rect is None:
   1027             rect = array((0,0,img.width(),img.height()),float)
-> 1028         return _agg.GraphicsContextArray_draw_image(self,img,rect,force_copy)
   1029 
   1030 

TypeError: in method 'GraphicsContextArray_draw_image', argument 2 of type 'kiva::graphics_context_base *'

test_draw_border_simple fails

The test in chaco/tests/border_test_case.py fails both for the wx backend:

ERROR: Borders should have the correct height and width.

Traceback (most recent call last):
  File "/Users/pberkes/egit/ETS/chaco/chaco/tests/border_test_case.py", line 37, in test_draw_border_simple
    actual = gc.bmp_array[:,:,0]
AttributeError: 'PlotGraphicsContext' object has no attribute 'bmp_array'

and the qt4 backend:

FAIL: Borders should have the correct height and width.

Traceback (most recent call last):
  File "/Users/pberkes/egit/ETS/chaco/chaco/tests/border_test_case.py", line 38, in test_draw_border_simple
    self.assertRavelEqual(actual, desired)
  File "/Users/pberkes/egit/ETS/chaco/chaco/tests/border_test_case.py", line 19, in assertRavelEqual
    self.assert_(alltrue(ravel(x) == ravel(y)), "\n%s\n !=\n%s" % (x, y))
AssertionError: 
[[255 255 255 255 255 255]
 [255   0   0   0   0 255]
 [255   0 255 255   0 255]
 [255   0 255 255   0 255]
 [255   0   0   0   0 255]
 [255 255 255 255 255 255]]
 !=
[[255 255 255 255 255 255]
 [255 255 255 255 255 255]
 [255   0   0   0 255 255]
 [255   0 255   0 255 255]
 [255   0   0   0 255 255]
 [255 255 255 255 255 255]]

axis calculation emits IndexErrors

Will post a MFE when I can. This happens while playing through the data. The x- and y- axes of a line plot are updating in response to changes in the ArrayPlotData instance.

Traceback (most recent call last):
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/qt4/base_window.py", line 184, in paintEvent
    self.handler.paintEvent(event)
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/qt4/base_window.py", line 50, in paintEvent
    self._enable_window._paint(event)
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/abstract_window.py", line 420, in _paint
    self.component.draw(gc, view_bounds=(0, 0, size[0], size[1]))
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/component.py", line 421, in draw
    self._draw(gc, view_bounds, mode)
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/component.py", line 773, in _draw
    self._dispatch_draw(layer, gc, view_bounds, mode)
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/container.py", line 312, in _dispatch_draw
    my_handler(gc, view_bounds, mode)
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/container.py", line 352, in _draw_container_underlay
    self._draw_underlay(gc, view_bounds, mode)
  File "/Users/tdiller/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/component.py", line 881, in _draw_underlay
    underlay.overlay(self, gc, view_bounds, mode)
  File "/Users/tdiller/enthought/chaco/chaco/grid.py", line 306, in overlay
    self._draw_component(gc, view_bounds, mode)
  File "/Users/tdiller/enthought/chaco/chaco/grid.py", line 344, in _draw_component
    ends[:,0] = self._tick_extents[:,1]
IndexError: too many indices

Colorbar rendering bug

This is a strange behavior I'm seeing on OS X 64-bit. Not sure if it happens on other platforms, but this is possibly related to Numpy changes? (I'm on 1.7.0rc1.)

colorbar_bug

I have a simple fix and will submit a PR, but I wanted to create an issue for this so others can test/verify on other platforms and with other versions of Numpy.

shell: UnboundLocalError when save to png/bmp/jpg

In shell/commands.py, save mehod. A PdfPlotGraphicsContext instance is used to save to pdf, and the same object is used in the code to save to png/bmp/jpg (can be used to save to png/bmp/jpg at all?), however in that case the instance is not created because that's done in if ext == ".pdf". Therefore a save('chacoplot.png') will result in a UnboundLocalError: local variable 'gc' referenced before assignment.

SelectTool, minor behavioural glitch

  • Implement SelectTool
  • Let selection_mode = "multi".
  • Select a bunch of points with the key modifier.
  • Release the key modifier.
  • Click one of the points already selected.

What happens: Clicked point becomes deselected. Clicking it again without a key modifier, selects the point and deselects the others in the previous selection.

What probably should happen: Clicked point remains selected. The rest of the previous selection gets deselected.

Cheers,

-A

chaco pyside memory leak

There seems to be a memory leak in Chaco when plots are repeatedly updated (example below).

I'm only getting the leak with the qt backend, and only with pyside (not pyqt).

I'm on windows 7 (64-bit) running EPD 7.2-2 (32-bit).
PySide: 1.1.0-2
Chaco: 4.1.0-1
Pyface: 4.1.0-1

We're doing real-time plotting w/ Chaco, and after a few hundred updates the app can easily exceed 2Gb memory usage and crash. I've tried unsuccessfully to figure out where in Chaco this is happening...

Please advise if I can be of assistance in tracking this down. Am I plotting in a non-standard way--is that why other people aren't running into this?

Cheers,
Rob

import os
os.environ['QT_API'] = 'pyside' #'pyqt'  # Only happens with Pyside

from traits.etsconfig.etsconfig import ETSConfig
ETSConfig.toolkit = 'qt4'  # Doesn't seem to happen w/ WX backend.

import numpy as np

from traits.api import HasTraits, Instance
from traitsui.api import View, VGroup, Item 
from pyface.timer.api import do_after

from enable.api import Component, ComponentEditor
from chaco.api import Plot, ArrayPlotData 

PERIOD_MS = 100
DATA_LENGTH = 1000


class PlotViewer(HasTraits):
    """
    Example class showing a Pyside memory leak that happens whenever
    a chaco plot updates...
    """

    pd = Instance(ArrayPlotData)
    plot = Instance(Plot)

    def __init__(self):
        self.plot = Plot(self.pd)
        self.plot.plot(("x", "y"), type="scatter")

        do_after(PERIOD_MS, self._update_pd) # Start plotting loop.

    def _pd_default(self):
        # A random line
        pd = ArrayPlotData(x = np.arange(DATA_LENGTH),
                           y = np.random.rand(DATA_LENGTH))
        return pd

    def _update_pd(self):
        ''' Change the 'y' data, triggering a plot update, every PERIOD_MS ms. '''
        self.pd.set_data('y', np.random.rand(DATA_LENGTH))

        do_after(PERIOD_MS, self._update_pd) # Continue plotting loop...

    # View #####################################################################
    traits_view=View(
                     VGroup(
                            Item('plot',editor=ComponentEditor()),
                            show_labels=False
                            ),
                     width=500, height=500
                     )


if __name__ == "__main__":
    pv = PlotViewer()
    pv.configure_traits()

Contourf fails in chaco.shell

If you do contourf(z) where z is a 2D numpy array, as expected, then you get the following traceback. contour(z) works just fine.

TraitError                                Traceback (most recent call last)

/Users/cwebster/src/ets/chaco/docs/<ipython console> in <module>()

/Users/cwebster/src/ets/chaco/enthought/chaco/shell/commands.py in contourf(*data, **kwargs)
    473 
    474     plots = plot_maker.do_contour(session.data, session.colormap, cont,
--> 475                                   "poly", *data, **kwargs)
    476     cont.request_redraw()
    477     return

/Users/cwebster/src/ets/chaco/enthought/chaco/shell/plot_maker.py in do_contour(plotdata, colormap, active_plot, type, *data, **kwargs)
    427                                     poly_cmap=colormap,
    428                                     colors=colormap,
--> 429                                     **kwargs)]
    430 
    431     return plot_list

/Users/cwebster/src/ets/chaco/enthought/chaco/plot.pyc in contour_plot(self, data, type, name, poly_cmap, xbounds, ybounds, origin, hide_grids, **styles)
    583 
    584         return self._create_2d_plot(cls, name, origin, xbounds, ybounds, value,
--> 585                                     hide_grids, **kwargs)
    586 
    587     def _create_2d_plot(self, cls, name, origin, xbounds, ybounds, value_ds,

/Users/cwebster/src/ets/chaco/enthought/chaco/plot.pyc in _create_2d_plot(self, cls, name, origin, xbounds, ybounds, value_ds, hide_grids, **kwargs)
    650                    orientation=self.orientation,
    651                    origin=origin,
--> 652                    **kwargs)
    653 
    654         if hide_grids:

/Users/cwebster/src/ets/chaco/enthought/chaco/base_contour_plot.pyc in __init__(self, *args, **kwargs)
     56 
     57     def __init__(self, *args, **kwargs):
---> 58         super(BaseContourPlot, self).__init__(*args, **kwargs)
     59         if self.color_mapper:
     60             self.color_mapper.on_trait_change(self._update_color_mapper, "updated")

/Users/cwebster/src/ets/chaco/enthought/chaco/base_2d_plot.pyc in __init__(self, **kwargs)
     88                 kwargs_tmp[trait_name] = kwargs.pop(trait_name)
     89         self.set(**kwargs_tmp)
---> 90         super(Base2DPlot, self).__init__(**kwargs)
     91         if self.index is not None:
     92             self.index.on_trait_change(self._update_index_data,

/Users/cwebster/src/ets/enable/enthought/enable/component.pyc in __init__(self, **traits)
    392             container.add(self)
    393         else:
--> 394             super(Component,self).__init__(**traits)
    395             self._set_padding_traits(padding, padding_traits)
    396         return

/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/enthought/traits/trait_handlers.pyc in error(self, object, name, value)
    165         """
    166         raise TraitError( object, name, self.full_info( object, name, value ),
--> 167                           value )
    168 
    169     def arg_error ( self, method, arg_num, object, name, value ):

TraitError: The 'colors' trait of a ContourPolyPlot instance must be a string or a ColorMapper or None or a list of items which are any value or a tuple, but a value of <function jet at 0x1f684c70> <type 'function'> was specified.

Public access to bounds of a GridDataSource object

If an image array in an ArrayPlotData object is updated, and the the data-space bounds of the array have changed, then there is no publicly accessible way to access the xbounds and ybounds to change the way it is displayed in an img_plot, for instance.

self.plot.plots[0].index

is a GridDataSource object with _cached_bounds that are untouchable.

@sjagoe @mdickinson

unsupported operand type(s) for +=: 'NoneType' and 'list' in invalidate_draw in chaco

OS: Windows XP 32, Windows 7 32
EPD: 7.0, 6.3
related issue: memory leak in copy_ticks on linux (to be submitted as next issue)

During refresh / update of a plot, we sometimes get the following error.

self._update_region += damaged_regions

TypeError: unsupported operand type(s) for +=: 'NoneType' and 'list'

The respective code in AbstractWindow reads:

class AbstractWindow(HasTraits):
...
    def invalidate_draw(self, damaged_regions=None, self_relative=False):
        if damaged_regions is not None and self._update_region is not None:
            self._update_region += damaged_regions
        else:
            self._update_region = None

Thus, the error in principle cannot occur. Now I speculate: is it a race condition? Is there something not thread safe here?

Sometimes the error occurs frequently and crashes the code. It looks like there is also a memory leak.

In the following are the tracebacks with and without memory error.

Without memor error:

2010-09-06 12:45:16,640 - trait_notifiers._log_exception - ERROR - Exception occurred in traits notification handler for object: <enthought.chaco.array_data_source.ArrayDataSource object at 0x0669E9C0>, trait: data_changed, old value: , new value: True Traceback (most recent call last):

File "C:\Python26\lib\site-packages\enthought\traits\trait_notifiers.py", line 481, in rebind_call_0

self.dispatch( getattr( self.object(), self.name ) )

File "C:\Python26\lib\site-packages\enthought\traits\trait_notifiers.py", line 424, in dispatch

handler( *args )

File "C:\Python26\lib\site-packages\enthought\chaco\base_xy_plot.py", line 600, in _either_data_changed

self.invalidate_draw()

File "C:\Python26\lib\site-packages\enthought\enable\component.py", line 549, in invalidate_draw

self.container.invalidate_draw(damaged_regions=damaged_regions, self_relative=True)

File "C:\Python26\lib\site-packages\enthought\enable\component.py", line 552, in invalidate_draw

self._window.invalidate_draw(damaged_regions=damaged_regions, self_relative=True)

File "C:\Python26\lib\site-packages\enthought\enable\abstract_window.py", line 230, in invalidate_draw

self._update_region += damaged_regions

TypeError: unsupported operand type(s) for +=: 'NoneType' and 'list'

With Memory Error:

MemoryError Traceback (most recent call last)

C:\Python26\lib\site-packages\enthought\enable\abstract_window.pyc in _paint(sel f, event)

348 self.component.do_layout() 349 gc = self._gc

--> 350 self.component.draw(gc, view_bounds=(0, 0, size[0], size[1]))

351 352 # damaged_regions = draw_resultdamaged_regions?

C:\Python26\lib\site-packages\enthought\enable\component.pyc in draw(self, gc, v iew_bounds, mode)

423 self.do_layout() 424

--> 425 self._draw(gc, view_bounds, mode)

426 return 427

C:\Python26\lib\site-packages\enthought\enable\component.pyc in _draw(self, gc, view_bounds, mode)

759 else: 760 for layer in self.draw_order:

--> 761 self._dispatch_draw(layer, gc, view_bounds, mode)

762 763 return

C:\Python26\lib\site-packages\enthought\enable\container.pyc in _dispatch_draw(s elf, layer, gc, view_bounds, mode)

324 component._draw(gc, new_bounds, mode) 325 else:

--> 326 component._dispatch_draw(layer, gc, new_bounds, mode)

327 finally: 328 gc.restore_state()

C:\Python26\lib\site-packages\enthought\enable\component.pyc in _dispatch_draw(s elf, layer, gc, view_bounds, mode)

779 handler = getattr(self, "draw" + layer, None) 780 if handler:

--> 781 handler(gc, view_bounds, mode)

782 return 783

C:\Python26\lib\site-packages\enthought\chaco\base_2d_plot.pyc in _draw_image(se lf, gc, view_bounds, mode)

202 Used by the PlotComponent interface. 203 """

--> 204 self._render(gc)

205 return 206

C:\Python26\lib\site-packages\enthought\chaco\cmap_image_plot.pyc in _render(sel f, gc)

87 self._compute_cached_image(self.value.metadata['selectio

n_masks'])

88 else:

---> 89 self._compute_cached_image()

90 ImagePlot._render(self, gc) 91

C:\Python26\lib\site-packages\enthought\chaco\cmap_image_plot.pyc in _compute_ca ched_image(self, selection_masks)

100 if not self._mapped_image_cache_valid: 101 cached_mapped_image = \

--> 102 self.value_mapper.map_screen(self.value.data) * 255

103 if selection_masks is not None: 104 # construct a composite mask

C:\Python26\lib\site-packages\enthought\chaco\color_mapper.pyc in map_screen(sel f, data_array)

256 norm_data = clip((data_array - low) / (high - low), 0.0, 1.0

)

257

--> 258 return self._map(norm_data)

259 260

C:\Python26\lib\site-packages\enthought\chaco\color_mapper.pyc in _map(self, X)

402 403 nanmask = isnan(xa)

--> 404 xa = where(nanmask, 0, (xa * (self.steps-1)).astype(int))

405 rgba = zeros(xa.shape+(4,), float) 406 rgba[...,0] = where(nanmask, 0, take(self._red_lut, xa))

Range selection behaviour not consistent with scatter plot expectation. Unable to remove all selections.

The RangeSelection tool appends selection masks to a list held in the datasource metadata. When removing the selection, the tool deletes all items in the selection_mask list, however, it remains as an empty list in the datasource metadata.

When rendering selected points, the scatterplot renderer checks for the existence of a metadata field named 'selection_masks' if it exists, it will collect the points to be rendered. Unfortunately, it doesn't handle the case of an empty list which is what is left by the RangeSelection tool.

Regression in fast rendering of markers

A consequence of #101 was that some special-cased calls to gc.draw_markers_at_points() were removed. These are not general (they don't handle variable sizes or colors) but they are very, very fast because they run in C/C++. As a result we have lost some performance when dealing with simple scatter plots on large (eg. ~1e6 point) data sets.

We should add back checks to see if we can use this code (ie. color and size fixed, and gc has the methods), and then use them!

LineInspector should inherit from AbstractOverlay

Even thought it is an overlay, LineInspector doesn't inherit from AbstractOverlay.
TraitsTool rightly assumes that it does, so double-clicking a plot with a LineInspector overlay causes a traceback because of missing is_in() and invisible_layout attributes.

The workaround is to do this yourself:

class LineInspectorTool(LineInspector, AbstractOverlay):
    pass

Chaco not working with PyQt4.9.1

Hi,

I have got chaco 4.2 from the pypi repository, and its kind of not working with PyQt4.9.1. Wondering if Chaco is not intended to work with PyQt > 4.7.3 or ... ?

Here is my stack trace from ipython if it helps.

Thanks
Somu

import numpy as np
from chaco.shell import *

x = np.linspace(-2_np.pi, 2_np.pi, 100)
y = np.sin(x)

plot(x, y, "r-")
title("First plot")
ytitle("sin(x)")
show()


TypeError Traceback (most recent call last)
C:\Users\a0393049 in ()
5 y = np.sin(x)
6
----> 7 plot(x, y, "r-")
8 title("First plot")
9 ytitle("sin(x)")

C:\AppsDir\Python\2.7.3\lib\site-packages\chaco-4.2.0-py2.7-win32.egg\chaco\shell\commands.pyc in plot(_data, *_kwargs)
304 """
305
--> 306 cont = _do_plot_boilerplate(kwargs)
307
308 plots = plot_maker.do_plot(session.data, cont,

C:\AppsDir\Python\2.7.3\lib\site-packages\chaco-4.2.0-py2.7-win32.egg\chaco\shell\commands.pyc in _do_plot_boilerplate(kwargs, image)
272 activate(win)
273 else:
--> 274 figure()
275
276 cont = session.active_window.get_container()

C:\AppsDir\Python\2.7.3\lib\site-packages\chaco-4.2.0-py2.7-win32.egg\chaco\shell\commands.pyc in figure(name, title)
153 method uses the value of default_window_name in the Preferences.
154 """
--> 155 win = session.new_window(name, title)
156 activate(win)
157 return win

C:\AppsDir\Python\2.7.3\lib\site-packages\chaco-4.2.0-py2.7-win32.egg\chaco\shell\session.pyc in new_window(self, name, title, is_image)
59 size=(self.prefs.window_width, self.prefs.window_height),
60 bgcolor=self.prefs.bgcolor,
---> 61 image_default_origin=self.prefs.image_default_origin,
62 )
63 new_win.data = self.data

C:\AppsDir\Python\2.7.3\lib\site-packages\chaco-4.2.0-py2.7-win32.egg\chaco\shell\plot_window.pyc in init(self, is_image, bgcolor, image_default_origin, _args, *_kw)
138 image_default_origin="top left", _args, *_kw):
139
--> 140 super(PlotWindow, self).init(None, _args, *_kw )
141
142 # Some defaults which should be overridden by preferences.

TypeError: unable to convert a Python 'tuple' object to a C++ 'QSize' instance

kiva/fonttools/font_manager.py createFontList(fontfiles, fontext) missing catch for TTLibError

The try block found in kiva/fonttools/font_manager.py createFontList(fontfiles, fontext)

684             try:
--> 685                 font = TTFont(str(fpath))
686             except...

Should include an except clause for TTLibError raised in kiva/fonttools/fontTools/ttLib/sfnt.pyc in init(self, file, checkChecksums)

     35                 if self.sfntVersion not in ("\000\001\000\000", "OTTO", "true"):
     36                         from kiva.fonttools.fontTools import ttLib
---> 37                         raise ttLib.TTLibError, "Not a TrueType or OpenType font (bad sfntVersion)"
     38                 self.tables = {}
     39                 for i in range(self.numTables):

Resulting in the bubbling up of

TTLibError: Not a TrueType or OpenType font (bad sfntVersion)

Lacking this except, a TTLibError will cause a failure in the font manager. This issue was discovered when attempting to import ChacoPlotItem using

from enthought.chaco.chaco_plot_editor import ChacoPlotItem

Best Regards,
Gary

Opaque overlay in range zoom (better_selecting_zoom_tool)

When using the range zoom of the better_selecting_zoom, the tool draws an opaque overlay contrary to the behavior of the box zoom. Is this supposed to be that way ? One simple fix would be to copy and paste some lines from the box zoom, but, as I don't know if it is the right way to go, I prefer to simply signal this issue.

zooming out in a log plot results in an exception

The problem is that the lower bound of the range becomes negative:

Traceback (most recent call last):
File "/Users/pberkes/egit/ETS/enable/enable/wx/quartz.py", line 99, in _paint
self.component.draw(gc, view_bounds=(0, 0, size[0], size[1]))
File "/Users/pberkes/egit/ETS/enable/enable/component.py", line 427, in draw
self._draw(gc, view_bounds, mode)
File "/Users/pberkes/egit/ETS/enable/enable/component.py", line 747, in _draw
self._dispatch_draw(layer, bb, view_bounds, mode)
File "/Users/pberkes/egit/ETS/enable/enable/container.py", line 312, in _dispatch_draw
my_handler(gc, view_bounds, mode)
File "/Users/pberkes/egit/ETS/enable/enable/container.py", line 352, in _draw_container_underlay
self._draw_underlay(gc, view_bounds, mode)
File "/Users/pberkes/egit/ETS/enable/enable/component.py", line 865, in _draw_underlay
underlay.overlay(self, gc, view_bounds, mode)
File "/Users/pberkes/egit/ETS/chaco/chaco/grid.py", line 305, in overlay
self._compute_ticks(other_component)
File "/Users/pberkes/egit/ETS/chaco/chaco/grid.py", line 253, in _compute_ticks
scale=scale)
File "/Users/pberkes/egit/ETS/chaco/chaco/scales_tick_generator.py", line 27, in get_ticks
ticks = self.scale.ticks(data_low, data_high)
File "/Users/pberkes/egit/ETS/chaco/chaco/scales/scales.py", line 443, in ticks
scale = self._get_scale(start, end, numticks)
File "/Users/pberkes/egit/ETS/chaco/chaco/scales/scales.py", line 526, in _get_scale
closest_scale = self._get_scale_np(start, end, numticks)
File "/Users/pberkes/egit/ETS/chaco/chaco/scales/scales.py", line 549, in _get_scale_np
scale_intervals = array([s.num_ticks(start, end, numticks) for s in self.scales])
File "/Users/pberkes/egit/ETS/chaco/chaco/scales/scales.py", line 382, in num_ticks
return len(self.ticks(start, end, desired_ticks))
File "/Users/pberkes/egit/ETS/chaco/chaco/scales/scales.py", line 344, in ticks
log_start = log10(start)
ValueError: math domain error

memory leak in copy_ticks on linux

OS: linux ubuntu 10.10

Sometimes upon refresh / update of a plot, we get an exception with a corrupted traceback.

It looks like the exception occurs upon auto scaling of the value axis, possibly when rebuilding the axis ticks. (the exception does not occur when the value range limits are fixed).

The exception also causes a memory leak (using 'top' it can be observed that the ipython process successively increase the memory).

Below I paste the traceback.

In [2]: ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (2, 0))


IndexError Traceback (most recent call last)

/usr/lib/python2.6/dist-packages/enthought/enable/abstract_window.pyc in _paint(self, event)
348 self.component.do_layout()
349 gc = self._gc
--> 350 self.component.draw(gc, view_bounds=(0, 0, size[0], size[1]))
351
352 # damaged_regions = draw_result['damaged_regions']

/usr/lib/python2.6/dist-packages/enthought/enable/component.pyc in draw(self, gc, view_bounds, mode)
423 self.do_layout()
424
--> 425 self._draw(gc, view_bounds, mode)
426 return
427

/usr/lib/python2.6/dist-packages/enthought/enable/component.pyc in _draw(self, gc, view_bounds, mode)
759 else:
760 for layer in self.draw_order:
--> 761 self._dispatch_draw(layer, gc, view_bounds, mode)
762
763 return

/usr/lib/python2.6/dist-packages/enthought/enable/container.pyc in _dispatch_draw(self, layer, gc, view_bounds, mode)
308 my_handler = getattr(self, "draw_container" + layer, None)
309 if my_handler:
--> 310 my_handler(gc, view_bounds, mode)
311
312 # Now transform coordinates and draw the children

/usr/lib/python2.6/dist-packages/enthought/enable/container.pyc in _draw_container_underlay(self, gc, view_bounds, mode)
350
351 def _draw_container_underlay(self, gc, view_bounds=None, mode="normal"):
--> 352 self._draw_underlay(gc, view_bounds, mode)
353
354 def _draw_container_border(self, gc, view_bounds=None, mode="normal"):

/usr/lib/python2.6/dist-packages/enthought/enable/component.pyc in _draw_underlay(self, gc, view_bounds, mode)
876 # just overlays drawn at a different time in the rendering loop.

877             if underlay.visible:

--> 878 underlay.overlay(self, gc, view_bounds, mode)
879 return
880

/usr/lib/python2.6/dist-packages/enthought/chaco/grid.pyc in overlay(self, other_component, gc, view_bounds, mode)
302 return
303 self._compute_ticks(other_component)
--> 304 self._draw_component(gc, view_bounds, mode)
305 self._cache_valid = False
306 return

/usr/lib/python2.6/dist-packages/enthought/chaco/grid.pyc in _draw_component(self, gc, view_bounds, mode)
341 starts[:,0] = self._tick_extents[:,0]
342 ends = self._tick_positions.copy()
--> 343 ends[:,0] = self._tick_extents[:,1]
344 else:
345 starts = self._tick_positions.copy()

IndexError: invalid index

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.