On 03/18/2014 05:37 PM, Paul Fisher wrote:
So I'm using the dmg install on Mavericks and I finally figured out where in the app package to put the PyNGL site-package. The problem is I get complaints about not being able to open an X11 window for any call to plot() that gets handled by NGL:plot(c1) File "ClimateGraphics.py", line 138, in plot w = Ngl.open_wks('x11','Climate Workbook') AttributeError: 'module' object has no attribute 'open_wks'
Well the issue would seem to be the above where Python is not seeing open_wks as an attribute of Ngl. So either the version of Ngl you are using does not have that attribute or Ngl is not being imported properly. Would need to see the code above line 138 to begin to troubleshoot properly.
Any thoughts out there? I do have XQuartz installed. Thanks, Paul Fisher
-- Adrian Klaver [email protected] -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
