一键导入
python-bar-chart-generator
Create bar charts from data using Python with matplotlib and compile results into visualization reports
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create bar charts from data using Python with matplotlib and compile results into visualization reports
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Handle typos and variations in brand/product names to discover correct terminology and find relevant information
Automated code review — analyzes source files for bugs, security issues, style violations, and improvement suggestions. Use when asked to review code, check quality, or find problems in files.
Intelligent debugging assistant — analyzes error messages, stack traces, logs, and runtime behavior to identify root causes and suggest fixes.
Generate documentation from source code — creates README, API docs, module summaries, and inline documentation. Use when asked to document code, generate docs, or explain a codebase.
Excel-based student grade analysis with percentage conversion, distribution charts, and detailed performance breakdown
Validate environment variables, dependencies, and system requirements. Diagnose missing configs, version mismatches, and setup issues.
| name | python-bar-chart-generator |
| description | Create bar charts from data using Python with matplotlib and compile results into visualization reports |
This skill creates bar charts from data using Python (matplotlib/seaborn) and saves visualizations as PNG files.
import matplotlib.pyplot as plt
def create_bar_chart(data: dict, title: str, xlabel: str, ylabel: str, filename: str):
"""Create a styled bar chart from dictionary data."""
plt.figure(figsize=(10, 6))
plt.bar(data.keys(), data.values(), color='steelblue')
plt.title(title, fontsize=14, fontweight='bold')
plt.xlabel(xlabel)
plt.ylabel(ylabel)
plt.xticks(rotation=45)
plt.tight_layout()
plt.savefig(filename)
plt.close()
return filename
# Programming languages data
languages = {
'Python': 15.24,
'C': 11.48,
'C++': 10.65,
'Java': 10.42,
'C#': 7.15
}
create_bar_chart(languages, 'Top 5 Programming Languages 2024', 'Language', 'Rating (%)', 'chart.png')