算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
pycirclize【设计与创意】Use pyCirclize 1.10.1 for circular visualization, Circos plots, chord and radar charts, genomic feature plots, phylogenetic trees, parser-driven layouts, and deterministic Matplotlib export.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task asks to create or debug circular figures in Python
with pyCirclize: Circos sectors, radial tracks, links, chord/radar charts,
genomics/cytoband plots, phylogenetic trees, or figure export. It targets
pyCirclize 1.10.1 on Python >=3.10 with biopython, matplotlib, numpy, and
pandas.
python -m pip install pycirclize
python -c "import pycirclize; print(pycirclize.__version__)"
For interactive Jupyter tooltips only, install pycirclize[tooltip] (or
ipympl) and use a live widget kernel. Static PNG/SVG/PDF rendering does not
need that extra. For headless work select Matplotlib's Agg backend before
importing pyplot.
For a safe package/import/export check, read and run
scripts/check_environment.py. It does not
download data or overwrite an existing output.
circular-composition.plot-primitives.data-parsers.genomics-and-trees.Read the shared troubleshooting guide when an import, optional dependency, input schema, coordinate, or output problem is not clearly owned by one route. Read repository provenance before deciding whether this graph is stale for a changed checkout.
Circos owns sectors; Sector owns
tracks; Track owns most data primitives. High-level factories create the
appropriate hierarchy for matrix/radar/tree inputs.Circos.savefig(path) for a self-contained static export. Use
fig = circos.plotfig() and then fig.savefig(...) when a caller must add
legends, subplots, or other Matplotlib objects after rendering.This is a user-facing package skill, not a maintainer guide. It does not require the original checkout, notebooks, tests, caches, or generated images at runtime. The bundled references and smoke helpers contain the reusable facts needed for future tasks.