Hasty Briefsbeta

Bilingual

Gribouille 0.3.0: A Grammar of Graphics for Typst

a day ago
  • #visualization library
  • #Typst
  • #Gribouille update
  • Gribouille 0.3.0 introduces finer guide control with 'guides(x: none)' to hide axis ticks and labels, while keeping other elements like axis lines and titles intact.
  • New 'theme:' parameter in 'compose()' allows styling of composition chrome and cascades to panels without their own themes.
  • Breaking change: 'plot(..., defer: true)' is replaced by 'defer(plot, ...)', and panels in 'compose()' no longer accept individual width/height settings.
  • 'geom-area()' now defaults to 'stat: 'align'' and 'position: 'stack'', automatically resampling groups with mismatched x values for stacking.
  • 'annotate()' gains a 'clip:' argument; setting 'clip: false' allows marks to overflow panel boundaries.
  • Radial guide controls added: 'guides(theta: none)' hides the angular axis, and 'guides(r: none)' hides radial tick labels in 'coord-radial'.
  • Numerous legend and annotation fixes, including improved layout, alignment, and error reporting for clearer troubleshooting.
  • Editor support enhanced with Tinymist-friendly docstrings for better function documentation in compatible editors.