From: Benjamin R. <ben...@ou...> - 2011-12-12 15:41:30
|
On Sat, Dec 10, 2011 at 1:58 PM, cgraves <chr...@gm...> wrote: > > For the 3rd contour example at > http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html , the > code ( > http://matplotlib.sourceforge.net/mpl_examples/mplot3d/contour3d_demo3.py) > should be changed from ax.set_xlim(-40, 40) > to ax.set_xlim3d(-40, 40) for the code to work. Same for ylim and zlim. > Probably the syntax was just updated since that example was made. Of course > any other examples on that page which use xlim should also be fixed. > > Best, > Chris > Chris, Because the documentation is for v1.1.0, the example code is correct. There has been significant updates to mplot3d for v1.1.0 that we really want to move users away from previous versions (and particularly, away from functions such as set_xlim3d()). Thanks, Ben Root |