بنقرة واحدة
chart-best-practices
Best practices for creating professional health data visualizations with matplotlib and seaborn
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Best practices for creating professional health data visualizations with matplotlib and seaborn
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Blazor component architecture, Razor component patterns, Radzen UI library, and Blazor-specific UX patterns. Use when: building Blazor components, structuring Razor component hierarchy, using Radzen components, implementing Blazor forms, managing component state, Blazor rendering modes, Blazor layout design.
Ensure .NET/C# code meets best practices for the solution/project.
Quality gate review with structured findings and verdict. Use when: reviewing a completed implementation phase, checking spec compliance, convention adherence, test coverage, and issuing APPROVE or REQUEST_CHANGES verdicts.
Generate phased implementation blueprint with parallel research subagents. Use when: a clarified specification is ready for architecture planning, creating task tables, scoring complexity, and defining implementation phases.
Execute one implementation phase with progress tracking and verification. Use when: implementing tasks from an SDD plan, logging discoveries, updating task tables, and running build/test verification per phase.
Encode learnings from completed SDD cycles into the agent harness. Use when: a review has been approved and learnings need to be extracted, classified, and encoded into instruction files, copilot-instructions, or AGENTS.md.
| name | chart-best-practices |
| description | Best practices for creating professional health data visualizations with matplotlib and seaborn |
matplotlib.use('Agg') before importing matplotlib.pyplot — required for headless rendering in containerized environments.sns.set_theme(style="whitegrid", palette="muted").matplotlib → matplotlib.use('Agg') → matplotlib.pyplot as plt → seaborn as sns.figsize=(10, 5) at dpi=150.figsize=(16, 9) at dpi=150.bbox_inches="tight" in savefig() to prevent label clipping.plt.tight_layout() before saving multi-subplot figures.plt.close(fig) to free memory.PALETTE = sns.color_palette("muted").#2196a0) are acceptable for variety.ax.axhline(goal, color="red", linestyle="--", linewidth=1.5, label=f"Goal: {goal}").edgecolor="white" and linewidth=0.6 for clean bar separation.width=0.38 with x - width/2 and x + width/2 positioning.bottom parameter and annotate total values.marker="o" with linewidth=2.5 and markersize=8 for data points.textcoords="offset points".ylim(min - 5, max + 8).rotation=20, ha="right" for single charts, rotation=30 for subplots.ax.yaxis.set_major_formatter(matplotlib.ticker.FuncFormatter(lambda v, _: f"{v:,.0f}")).set_ylabel) and a bold title (fontsize=14, fontweight="bold").plt.subplots(rows, cols) with fig.suptitle() for overview charts.fontsize=7-10)./tmp/reports/ with descriptive names (e.g., steps_chart.png, calories_chart.png).