算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
lux【设计与创意】Use Lux/Lux API for Pandas-integrated visual exploratory data analysis, intent-driven recommendations, chart export, configuration, semantic data types, and optional SQL tables.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task involves Lux/Lux API (lux-api), a Pandas dataframe with Lux recommendations, intent-driven visualization, Clause/Vis/VisList, Lux widget/display configuration, semantic data typing, or optional PostgreSQL-backed LuxSQLTable workflows.
lux-api but imports as lux.lux before creating or loading Pandas dataframes that should become LuxDataFrame objects.references/repo-provenance.md before refreshing or trusting this skill against a different Lux checkout/version.Minimal public install and import check:
pip install lux-api
python - <<'PY'
import lux
import pandas as pd
print(lux.__version__)
print(pd.DataFrame.__module__)
PY
For a stronger offline check after installation, run scripts/check_lux_environment.py and scripts/lux_recommendation_smoke.py.
| User task | Read next |
|---|---|
Import Lux with Pandas, set df.intent, inspect recommendation tabs, explain df.current_vis or df.exported, reset stale recommendations | sub-skills/pandas-intent-recommendations/SKILL.md |
Construct a Clause, one Vis, or a VisList; enumerate wildcards; refresh a visualization source; export Altair/Matplotlib/Vega-Lite/Python code | sub-skills/visualization-export/SKILL.md |
Configure lux.config, plotting backend/style, sampling, top-k/sort, default display, custom actions, or widget/debug diagnostics | sub-skills/configuration-actions/SKILL.md |
| Fix or explain semantic data types, temporal/geographic/id columns, named row/column indexes, grouped dataframes, small/empty dataframe warnings | sub-skills/special-data-types/SKILL.md |
Connect Lux to PostgreSQL tables with LuxSQLTable, JoinedSQLTable, SQLExecutor, or SQL connection troubleshooting | sub-skills/sql-backend/SKILL.md |
references/package-overview.md summarizes public objects, versioned surfaces, optional dependencies, and recommendation vocabulary.references/troubleshooting.md covers cross-cutting install/import/widget/cache/version/SQL issues.references/repo-provenance.md records the source snapshot and refresh baseline.references/repo-routing-metadata.json contains structured router metadata for managed repo-skill import tooling.scripts/check_lux_environment.py verifies package imports, versions, Pandas patching, and Lux diagnostics.scripts/lux_recommendation_smoke.py runs an integrated offline dataframe/intent/export smoke check.df.recommendation looks stale after changing config or data, call df.expire_recs(); if metadata or data types changed, also call df.expire_metadata() or recreate the dataframe.VisList, not Vis.LuxSQLTable.