Skip to content

A patched version of Matplotlib's Axes3D with less projection distortion.

License

Notifications You must be signed in to change notification settings

jpaulos/axes3ds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axes3Ds for Matplotlib

This module provides Axes3Ds ("Axes3D spatial"), a drop-in replacement for Matplotlib's Axes3D that incorporates the improvements proposed by eric-wieser in Matplotlib issue #8896. It is simply a subclass of Axes3D replacing one or two member functions.

The purpose is to reduce the distortion when projecting 3D scenes into the 2D image when using mplot3d, especially as the aspect ratio of the figure is changed. This makes it possible to draw a 3D sphere that correctly projects to approximately a circle even as the figure window is resized. True "axis equal" behavior could presumably be implemented on top of this.

Horizontal

Vertical

Orthogonol

About

A patched version of Matplotlib's Axes3D with less projection distortion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages