[yt-users] YT on new Snow Leopard install

Nicholas Earl earlnich at msu.edu
Tue Jun 15 17:48:16 PDT 2010


Hey everyone,

I'm having issues using yt on a fresh install of snow leopard. The 10.6 yt
installation went perfect, but when I go to run a simple slice script, I'm
getting this error:

yt         INFO       2010-06-15 20:16:15,452 Created plot collection with
default plot-center = [1.0, 0.5, 0.0]
Traceback (most recent call last):
  File "slices2D.py", line 9, in <module>
    p = pc.add_slice("Temperature",axis)
  File "/Users/earln/yt-i386/src/yt-trunk-svn/yt/raven/plot_collection.py",
line 372, in add_slice
    size=fig_size, periodic=periodic))
  File "/Users/earln/yt-i386/src/yt-trunk-svn/yt/raven/PlotTypes.py", line
314, in __init__
    self.__init_temp_image(use_colorbar)
  File "/Users/earln/yt-i386/src/yt-trunk-svn/yt/raven/PlotTypes.py", line
347, in __init_temp_image
    shrink=0.95)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/figure.py",
line 1045, in colorbar
    cb = cbar.Colorbar(cax, mappable, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
line 647, in __init__
    ColorbarBase.__init__(self, ax, **kw)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
line 238, in __init__
    self.draw_all()
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
line 249, in draw_all
    self._config_axes(X, Y)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
line 276, in _config_axes
    ticks, ticklabels, offset_string = self._ticker()
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/colorbar.py",
line 415, in _ticker
    b = np.array(locator())
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/ticker.py",
line 1069, in __call__
    vmin = self.axis.get_minpos()
AttributeError: DummyAxis instance has no attribute 'get_minpos'


It seemed to me an issue with matplotlib, but I've tried many things
including installing matplotlib from source separate from the yt
installation, and it still fails.

Any ideas?

Thanks for your time and effort!
Nicholas Earl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20100615/90e37445/attachment.htm>


More information about the yt-users mailing list