• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

thclark/cpplot: Interactive graphs and charts for C++, viewable in-browser

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

thclark/cpplot

开源软件地址:

https://github.com/thclark/cpplot

开源编程语言:

C++ 94.5%

开源软件介绍:

pre-commit black-girls-code

cpplot

Interactive graphs and charts for C++ 11 upward, viewable in-browser using cpplot-viewer.

Full documentation is at https://cpplot.readthedocs.io

For Developers

You should only need to read the following if you plan to develop on cpplot.

Style guide

We use the Google C++ style guide with the following exceptions:

  • Don't care about line width so long as its within reason
  • Use 4 space indenting, not 2 as suggested by the style guide, because we're not total monsters (just kidding xx).

Pre-Commit

You need to install pre-commit to get the hooks working. Do:

pip install pre-commit
pre-commit install

Once that's done, each time you make a commit, the following checks are made:

  • valid github repo and files
  • code style
  • documentation builds correctly

Upon failure, the commit will halt. Re-running the commit will automatically fix most issues except:

  • You'll have to fix documentation yourself prior to a successful commit (there's no auto fix for that!!).

You can run pre-commit hooks without making a commit, like:

pre-commit run build-docs

which is useful to locally build documents without crazy efforts setting up an environment for sphinx.

Compilation with cmake

A cross-platform compilation file is provided using cmake, but it's not tested on windows.

PRs to fix or improve it for windows are most welcome.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap