推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
somewheve
V2EX  ›  Python

如何在 matplotlib 折线图上面进行标注打点

  •  
  •   somewheve · Mar 4, 2021 · 3094 views
    This topic created in 2031 days ago, the information mentioned may be changed or developed.
    做量化的一名战五渣,
    然后需要用到 python 画图, 用 matplotlib 可以非常方便的进行画折线图, 但是我想在上面标注打点的时候,应该如何做的 。

    大佬们有没有封装过这样的框架 啊

    求解 或者告诉我怎么做 。
    5 replies  •  2021-03-04 18:31:43 +08:00
    somewheve
        2
    somewheve  
    OP
       Mar 4, 2021
    @Macv1994 谢谢大佬 谢谢 找到了
    Macv1994
        3
    Macv1994  
       Mar 4, 2021
    @somewheve 没事 这个库文档还是挺清楚的
    hackpro
        4
    hackpro  
       Mar 4, 2021 via iPad
    我最近也在写一个量化程序的可视化
    用的是开源的 bokeh 卤煮看看
    mlboy
        5
    mlboy  
       Mar 4, 2021
    ax.text(x,y, '内容', ha='center', fontsize=10)

    x,y 就是 横纵坐标具体值, 在这个位置标记 “内容”
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1261 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 17:01 · PVG 01:01 · LAX 10:01 · JFK 13:01
    ♥ Do have faith in what you're doing.