算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
plotting-reporting【设计与创意】Create Nilearn plots, interactive views, surface visualizations, cluster tables, and HTML reports while handling optional plotting dependencies and headless environments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks for Nilearn visualization or reporting: static brain plots, interactive HTML views, surface plots, design/event/matrix figures, connectome displays, cluster tables, or generated HTML reports.
output_file, and
engine behavior, read API Reference.python scripts/smoke_plotting_reporting.py --help.plot_img, plot_anat, plot_epi, plot_roi,
plot_prob_atlas, plot_stat_map, plot_glass_brain, plot_carpet, or
image-comparison helpers for static volume figures.plot_surf, plot_surf_stat_map, plot_surf_roi, plot_img_on_surf,
view_surf, or view_img_on_surf after valid surface or volume inputs exist.view_img, view_connectome, or view_markers when the deliverable is
an embeddable interactive HTML view rather than a static Matplotlib display.get_clusters_table outputs, GLM HTML reports, or save/open
HTMLReport objects and estimator reports.../data-io-signal/SKILL.md for loading, resampling, masking,
unmasking, confound cleaning, or constructing NIfTI images before plotting.../surface-workflows/SKILL.md for mesh/data contracts,
SurfaceImage, fsaverage helpers, and volume-to-surface projection details
before visualization choices.../glm-analysis/SKILL.md for GLM fitting, contrasts, thresholding
decisions, and statistical interpretation before plotting/reporting outputs.../maskers-regions/SKILL.md for masker setup, labels/maps extraction,
region signals, and fitted masker objects before calling generate_report.nilearn.plotting, and prefer output_file= for static figures so displays
close automatically.output_file, close returned display or
figure objects with .close() or matplotlib.pyplot.close().view_* outputs as HTML objects; save them with
.save_as_html(...) rather than relying on a browser or notebook display.engine="plotly" needs
Plotly, and static image export also needs Kaleido plus a compatible Chrome.two_sided, cluster_threshold, colorbar, and
orientation choices when plots or cluster tables support decisions.Run python scripts/smoke_plotting_reporting.py for a no-network smoke check
that creates a tiny synthetic image, saves a static plot headlessly, and tries a
cluster table. Use --output-dir to keep the generated files.