On Wed, Sep 22, 2010 at 2:15 PM, Jeremy Lounds <lo...@gm...> wrote: > Hi, > > I have another question for the group... > > I saw in the archives someone else who was getting the error I am now > running in to now. He said he solved it by recompiling from sources. I > was wondering what version of Python is optimal for matplotlib and > basemap? > > Or maybe somebody knows how I can fix this without compiling? I prefer > to use the package management for easier upgrades in the future. > > In case anyone was curious about the error, it is "AttributeError: > 'AxesSubplot' object has no attribute 'get_autoscalex_on'". > > I was attempting to take one of the examples (simpletest.py) and use > "agg" to output to a image file, as outlined in the matplotlib > tutorial here: > > > http://matplotlib.sourceforge.net/faq/howto_faq.html?highlight=web#matplotlib-in-a-web-application-server > > Thanks again, > > ~ Jeremy > > There shouldn't be a need for compiling python from source. mpl supports python 2.4, 2.5, 2.6, 2.7 (and others?). Instead, what probably solved that person's problem was installing a more recent version of matplotlib. Which version do you have right now? Ben Root