Repository navigation
v0.5.0
uv add "figkit @ git+https://github.com/BenBotsch/FigureKit@v0.5.0"Added
figkit initcopies the bundled tokens and their schema into a project and appends
[tool.figkit]to itspyproject.toml. An existing tokens file is kept and checked; an
existing table stops the command.figkit style previewrenders a specimen of every series, ramp and status colour in each
theme of the project style or of--style.- Chart helpers:
bandshades an interval such as a confidence band in the colour of its
series,error_barsdraws thin bars without caps,calloutpoints at a value with an arrow,
small_multipleslays out panels on the canvas width with shared axes andramp_cmapturns
the ramp of a theme into a colormap. - The gallery shows small multiples with bands and a callout.
figkit check --a11ychecks the colours of the style: text contrast after WCAG, the
separation of neighbouring series with protanopia, deuteranopia and normal vision, and the
steps of the ramp. It runs without a directory as well.
Changed
- The dark ramp of the bundled style is stepped evenly in lightness. Three middle steps were
less than 0.06 apart; dark heatmaps and the tiles of the dark card change their blues. - The example style in
docs/examples/styleorders its series teal, blue, amber, magenta, so
that neighbours stay apart with deuteranopia.
Changes: v0.4.0...v0.5.0