键盘热图图像发生器

tapmap的Python项目详细描述


点击地图

使用单个命令生成高质量、可自定义的键盘热图。


安装:

使用pip install tapmap安装包。

用法:

tapmap --help将生成以下帮助消息:

usage: tapmap [-h] [-d D] [-c C] input_file output_file

Generate a keyboard heatmap from a text file.

positional arguments:
  input_file   the name of the file to process
  output_file  the name of the .png file to output

optional arguments:
  -h, --help   show this help message and exit
  -d D         dpi of the output image (defaults to 600)
  -c C         matplotlib cmap argument:
               https://matplotlib.org/users/colormaps.html (defaults to
               "viridis")

要从输入文件input.txt生成键盘热图map.png,请使用:tapmap input.txt map.png

Default CMap

tapmap还支持所有matplotlib颜色映射:tapmap input.txt map.png -c winter

Winter CMap

有79个彩色地图可供选择,请从the matplotlib reference.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java CORS不允许POST请求   java Glide gradle无法识别ModelLoader   swing Java GUI 3列边框布局   无法在安卓 10上从BroadcastReceiver启动活动   java字符串初始化问题   Java LDAP使用CN获取组DN   java告诉ThreadPoolExecutor何时应该进行或不进行   java确定本机库的路径(dll/so)   java使bean在应用程序启动时运行。EJB3/websphere6。1/Java1。5.   “F obj”中的F替换为Factory时引发java Why类型不匹配错误。编译时F是什么   使用Java8获取最有效的十进制数字   java Android仅将EditText限制为整数输入   为什么在线Java IDE解决方案抛出“错误:<identifier>expected”?   泛型如何在java中用接口重写方法   如何找到尚未关闭oracle数据库连接的java代码?   java Teradata createClob:此版本不支持该函数。这是一个bug还是一个特性?   java无限循环宽度优先搜索