在狮身人面像文件中包括一个绘声绘色的图形的指令
sphinx-plotly-directive的Python项目详细描述
斯芬克斯plotly指令
在狮身人面像文档中包含一个有情节的图形的指令。在
基于matplotlib's plot directive。
安装
# pypi pip install sphinx-plotly-directive # dev version pip install git+https://github.com/harupy/sphinx-plotly-directive.git
使用
来源:
^{pr2}$代码块的最后一行必须以计算结果为绘图图形的表达式结尾。在
输出:
有关详细信息,请参见documentation。在
发展
安装依赖项
pip install -e ".[dev]"
格式代码
flake8 .
isort .
black .
运行eh3测试>pytest tests
生成文档
cd docs
make html
标签:
- 项目
pytest tests
cd docs
make html
标签: