Matplotlib 0.99 新特性 (2009年8月29日)#
新文档#
Jae-Joon Lee 编写了两份新指南:图例指南 (Legend guide) 和 高级标注 (Advanced annotation)。Michael Sarahan 编写了 图像教程 (Image tutorial)。John Hunter 编写了关于路径和变换操作的两份新教程:路径教程 (Path Tutorial) 和 变换教程 (Transformations Tutorial)。
mplot3d#
Reinier Heeres 已将 John Porter 的 mplot3d 移植到了新的 matplotlib 变换框架中,现在它作为一个工具包 mpl_toolkits.mplot3d 提供(现已成为所有 mpl 安装的标准配置)。请参阅 3D 绘图 (3D plotting) 和 mplot3d 工具包。
坐标轴网格工具包#
Jae-Joon Lee 添加了一个新的工具包,以简化 matplotlib 中多图像的显示,并增加了一些对曲线网格的支持,从而实现对世界坐标系的支持。该工具包已包含在所有新的 mpl 安装中。请参阅 模块 - axes_grid1, 模块 - axisartist, axes_grid1 工具包 和 axisartist
坐标轴脊(spine)放置#
Andrew Straw 增加了放置“坐标轴脊”(即标示数据界限的线条)到任意位置的功能。你的坐标轴线不再局限于图形周围简单的矩形框——你可以开启或关闭左、底、右、顶边的脊,也可以将其“分离”以从数据中偏移出来。请参阅 脊的放置 (Spine placement) 和 matplotlib.spines.Spine。