On Sat, Jul 24, 2010 at 5:08 PM, Eric Firing <efir...@hawaii.edu> wrote:

> While running backend_driver.py on the maintenance branch, I found that
> the mplot3d examples were not working.  Here is an example:
>
> efir...@manini:~/programs/py/mpl/mpl_v1_0_maint/examples/mplot3d$ python
> wire3d_demo.py
> Traceback (most recent call last):
>   File "wire3d_demo.py", line 6, in <module>
>     ax = fig.add_subplot(111, projection='3d')
>   File "/usr/local/lib/python2.6/dist-packages/matplotlib/figure.py",
> line 675, in add_subplot
>     projection_class = get_projection_class(projection)
>   File
>
> "/usr/local/lib/python2.6/dist-packages/matplotlib/projections/__init__.py",
> line 61, in get_projection_class
>     raise ValueError("Unknown projection '%s'" % projection)
> ValueError: Unknown projection '3d'
>
> Eric
>
>
Double-check your axes3d.py file.  The Axes3D class should have a member
variable called "name" at the very beginning of it, and the very end of the
axes3d.py file should have two lines of code that registers the axes3d
object with the projection system.

Ben Root
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to