πŸ“ˆ lilaq:0.4.0 βˆ’ Colorbars, Ticks and Scales, Smoothing

Lilaq is a powerful and easy-to-use plotting library for Typst.

With version 0.4.0, we finally get

and a lot more.

You can read the full changelog at Release: Lilaq 0.4.0 βˆ’ Lilaq. On the web page, you can also find an extensive documentation for Lilaq.

If you would like to support development, you can give the repository a :star2: or sponsor the project on GitHub. Contributions are also welcome, please check out the Contributing Guide.


This release greatly benefits from updating the dependency elembic introducing features like conditional set rules likeshow: lq.cond-set(lq.grid.with(kind: "x"), stroke: yellow) and filtered show rules through lq.show_(lq.tick-label.with(sub: true), it => {..}).

Moreover, plenty of work on ticks has been done! It is now super easy to setup Ο€-based axes (or any other constant), to give labels to subticks, manually add extra ticks and a lot more.

13 Likes

I was about to have to go down a rabbit hole of getting $pi$-scaled axes working on matplotlib, and now I don’t have to bother. Thank you for the amazing work.

At this point, all I could think of feature-wise is allowing for grids of plots of different types, with them potentially sharing a single legend.

4 Likes