Release: Lilaq 0.3.0
· 2 min read
The new version ships with a set of predefined themes that you can use to quickly change the style of your plots.
Moreover, various improvements to important components of Lilaq have been made along with the addition of a large selection of scientific and colorblind-friendly color maps.
Notably, we have added a new tutorial on data loading with Typst and Lilaq.
Changelog
Additions
- A set of predefined themes is now available!
- Added the qualitative color sequence
lq.color.map.okabe-itoaccording to https://jfly.uni-koeln.de/color/. - Added a range of sequential and diverging color maps that are scientific, i.e., perceptually uniform, perceptually ordered, and color-vision deficiency (CVD) friendly, see .
- A new plot type
hboxplotas horizontal pendant to the existingboxplot. - An
axis.invertedproperty to quickly swap min/max limits. - A tick locator for symlog axes.
Breaking changes
- ⚠️ The parameter
lineofhlinesandvlineshas been renamed tostroketo bring the signature in line with the other plotting functions. - ⚠️ The
symlog.thresholdis now by default 1 (instead of 2). - ⚠️ The color sequences
matplotlib10andmatplotlib20have been removed.
Improvements
diagram.legendnow accepts a fulllegendas argument which enables one to specify all entries manually.boxplotnow allows defining the statistical values manually instead of passing a data set.- Functions like
plotcan now have empty coordinate arrays.
Fixed
- The
stepmode forfill-betweenworks again. - The parameters
diagram.xlimanddiagram.ylimdon't fold any more through array concatenation withsetrules. - For plot functions like
colormeshthat ignore the cycle style, the cycle counter is now not advanced. - Fixed an issue with the default tick locator when an integer tick distance was given.
Documentation
- Added a tutorial on data loading.
- Mention the usage of
std.padtogether withlq.place. - Mention the possibility of masking values with
colormesh. - Articles in the reference section now contain a link that brings you to the source of the definition on GitHub.
