I think this was just an oversight in the refactoring of transformations for 0.98. This should work now in SVN r5716. Look here if you want to patch your local copy -->
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=rev&revision=5716 Cheers, Mike Matthew Turk wrote: > Hi there, > > I'm attempting to port some code over to matplotlib 0.98.x. > Previously, I was able to do something like: > > axes_object.pcolormesh(x,y,v) > axes_object.set_xscale('log') > axes_object.set_yscale('log') > > and then save the figure. However, now this fails because the > sequence of transformations it applies is not affine. (assert > transform.is_affine in collections.py:QuadMesh.) If I want to have > the same effect -- a log-spaced pcolormesh -- what is the appropriate > sequence of calls? I'd like to avoid pre-applying the log and > plotting on a linear-scale plot, as the code also overplots analytic > functions in the same figure. > > Thanks! > > -Matt > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users