Skip to content
Back to skills

Plot Primitives

ASecurity

"Guide pyCirclize 1.10.1 Sector and Track plotting primitives,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
documentationapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill plot-primitives --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plot Primitives?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plot Primitives
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-plot-primitives/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-plot-primitives)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: plot-primitives
description: "Guide pyCirclize 1.10.1 Sector and Track plotting primitives,
  coordinate conversion, radial scaling, annotations, and deterministic
  Matplotlib export."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Plot primitives

Use this skill when an existing `Circos` object needs sector-local or
track-local drawing. Treat `Sector` and `Track` as the plotting surface: user
coordinates are converted into polar radians and normalized radii when the
plot is built, while ordinary Matplotlib style keyword arguments remain the
main styling interface.

## Route the request

- Read [api-reference.md](references/api-reference.md) for signatures,
  coordinate rules, normalization, and method families.
- Read [workflows.md](references/workflows.md) for the recommended build
  order, mixed primitive recipes, export, and validation patterns.
- Read [troubleshooting.md](references/troubleshooting.md) before changing data
  ranges, annotations, or image inputs.
- Run the bundled [plot_primitives_smoke.py](scripts/plot_primitives_smoke.py)
  only with a caller-provided output path when a small Agg rendering check is
  useful. It uses in-memory deterministic data and refuses to overwrite an
  existing file.

Route instead of duplicating adjacent workflows:

- `Circos` construction, global sector composition, global links, legends,
  colorbars, axes, and figure lifecycle -> `../circular-composition/SKILL.md`.
- Matrix/radar preparation and high-level chart factories ->
  `../data-parsers/SKILL.md`.
- Tree interpretation, GenBank/GFF/BED semantics, and feature-derived
  coordinates -> `../genomics-and-trees/SKILL.md`. This skill only records the
  primitive call used after those semantics have been resolved.

## Operating contract

1. Start with a valid sector and add a non-degenerate track, usually with a
   radius range such as `(70, 100)` and an explicit `r_pad_ratio` when data
   should not touch the track boundary.
2. Keep x values in the sector's own coordinate range. Use `x_to_rad()` only
   for inspection or custom integrations; primitive methods accept x, not
   radians. Keep y/value data separate and map it with `vmin`/`vmax`.
3. Choose a primitive family, pass its Matplotlib-compatible style kwargs,
   render through the parent `Circos`, and assert the requested output exists.
4. Diagnose invalid x, y, radius, width, length, image, or annotation inputs
   from [troubleshooting.md](references/troubleshooting.md) rather than
   bypassing validation with `ignore_range_error` indiscriminately.

This sub-skill is self-contained for package use and does not require the
source checkout, notebooks, test fixtures, or a network connection at runtime.

Files in this skill

  • SKILL.md2.7 KB
  • references/api-reference.md10 KB
  • references/troubleshooting.md6.5 KB
  • references/workflows.md5.1 KB
  • scripts/plot_primitives_smoke.py4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.