算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
jupyter【设计与创意】Assists with interactive data analysis, visualization, and reproducible research using Jupyter notebooks. Use when building notebooks that combine code with rich output, managing kernels, converting to reports, or parameterizing notebooks for batch execution. Trigger words: jupyter, notebook, jupyterlab, ipynb, nbconvert, papermill.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Jupyter is an interactive computing platform that combines code execution, rich output (tables, plots, widgets), and narrative text in notebook documents. It supports multiple kernels (Python, R, Julia), integrates with matplotlib, plotly, and ipywidgets for visualization, and enables reproducible research through nbconvert for report generation and papermill for parameterized batch execution.
nbconvert to generate HTML, PDF, or slides with --no-input for non-technical audiences.python -m ipykernel install --user --name=myenv and pin dependencies with %pip install package==1.2.3 in the first cell.%autoreload 2 to auto-reload imported modules on change, and extract proven code into .py modules for reuse.jupytext to pair .ipynb with .py files that diff cleanly, or use nbstripout to strip output before Git commits.papermill to parameterize and execute notebooks programmatically for batch report generation.User request: "Create a Jupyter notebook for EDA on a customer dataset"
Actions:
%matplotlib inline, and data loading from CSV/Parquetdf.describe(), df.info(), and missing value analysisOutput: A well-structured EDA notebook with statistics, visualizations, and narrative ready for sharing.
User request: "Generate weekly sales reports from the same notebook with different date parameters"
Actions:
papermill to execute the notebook with different parameters per weeknbconvert --no-input for executive-friendly reportsOutput: Automated weekly HTML reports generated from a parameterized notebook template.
%autoreload 2 during development to reload imported modules without restarting the kernel.jupytext for Git since .py files diff cleanly while .ipynb outputs pollute version control.papermill for batch execution with parameters instead of manual re-runs.