技能标识:py-math-viz
Create clear math/data visualizations in Python and export to PNG (matplotlib/seaborn; optional OpenCV post-processing). Use when the user asks to plot functions, draw graphs, visualize simulations/trajectories, compare models, make publication-quality plots, or needs a PNG chart for Telegram/notes. Includes scripts to render plots from a JSON spec and to tile/annotate images.
使用Python生成清晰、可读的图表,并默认导出为PNG格式。
假设条件(当前工作区):
根据JSON规范渲染图表。
为保持工作区根目录整洁,将输出写入out/(临时实验可写入out/_scratch/):
bash
/root/.openclaw/workspace/.venv-math/bin/python \
skills/py-math-viz/scripts/plotfromspec.py \
--spec spec.json --out out/plots/plot.png
然后发送out/plots/plot.png(Telegram:使用带filePath参数的message工具)。
规范设计得尽量精简。
请阅读:
将多个PNG拼接为一个(用于对比):
bash
/root/.openclaw/workspace/.venv-math/bin/python \
skills/py-math-viz/scripts/tile_images.py \
--out tiled.png img1.png img2.png img3.png
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 py-math-viz-1775946511 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 py-math-viz-1775946511 技能
skillhub install py-math-viz-1775946511
文件大小: 11.72 KB | 发布时间: 2026-4-12 11:08