算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
seaborn【设计与创意】Use seaborn for statistical data visualization with the function API, objects interface, grids, themes, palettes, dataset utilities, and plotting troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves seaborn, import seaborn as sns, seaborn.objects, statistical graphics, tidy/wide-form plotting, figure-level grids, themes, palettes, example datasets, or seaborn-specific errors around matplotlib, pandas, SciPy, or statsmodels.
Seaborn is a pure-Python statistical visualization library built on matplotlib and designed for pandas/NumPy-style data. It provides two user-facing APIs: the classic function interface (sns.scatterplot, sns.catplot, sns.clustermap, etc.) and the declarative seaborn.objects interface.
sns.load_dataset() as a network-backed convenience, not a requirement for normal plotting.For normal package use:
python -m pip install seaborn
python - <<'PY'
import seaborn as sns
import matplotlib
print('seaborn', sns.__version__)
print('matplotlib backend', matplotlib.get_backend())
PY
Optional statistical features use the documented stats extra:
python -m pip install 'seaborn[stats]'
Run the bundled diagnostic before debugging a local environment:
python scripts/check_seaborn_environment.py
The check imports seaborn, validates mandatory dependencies, reports optional SciPy/statsmodels/ipywidgets/fastcluster availability, and renders tiny noninteractive plots with the Agg backend when requested.
seaborn.objects workflows with Plot, marks, stats, moves, scales, layering, faceting, theme/label/scale methods, and save/show behavior.FacetGrid, PairGrid, JointGrid, pairplot, jointplot, figure-level return objects, legend movement, axes access, layout sizing, and matplotlib customization.set_theme, styles, contexts, palettes, colormaps, color utilities, dark mode, and optional interactive palette widgets.load_dataset, SEABORN_DATA, and data validation helpers.data-utilities for data shape, then function-interface for plot families, then themes-palettes for presentation style.function-interface for figure-level functions (relplot, displot, catplot, lmplot) or figure-grids when direct grid programming/custom layout is needed.objects-interface; cross-route to themes-palettes for reusable theme/palette decisions.figure-grids for figure size/axes/legends and themes-palettes for context/style/palette choices.data-utilities, then return to the plot-owning sub-skill once the input contract is clear.