PYTHON MATPLOTLIB

MATPLOTLIB NOTES

Cheney

Ok! It Is Very Cheney

  • Property: animated
  • r"$\sum_{i=1}^{N}i^2$"will be converted to tex_math
  • Function: tight_layout could fine tune the ticklabels, axis labels and titles

Artist Tutorial

  • Three layers to the matplotlib API:
    • matplotlib.backend_bases.FigureCanvas
    • matplotlib.backend_bases.Renderer
    • matplotlib.artist.Artist, which is the most import one for a typical user
  • Two types of Artists:
    • primitives: the standard graphical objects: Line2D, Rectangle, Text
    • containers: Axis, Axes(Subplots), Figure
  • matpotlib.artist.getp(art), get art.property
  • Axis: the drawing of the tick lines, the grid lines,
    the tick labels and the axis labels
  • Tick, another container rarely used
  • Actually, matplotlib could generate math symbols as images which are going to be inserted into MD file

Thu Aug 24 2017

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容