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-ito
according 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
hboxplot
as horizontal pendant to the existingboxplot
. - An
axis.inverted
property to quickly swap min/max limits. - A tick locator for symlog axes.
Breaking changes
- ⚠️ The parameter
line
ofhlines
andvlines
has been renamed tostroke
to bring the signature in line with the other plotting functions. - ⚠️ The
symlog.threshold
is now by default 1 (instead of 2). - ⚠️ The color sequences
matplotlib10
andmatplotlib20
have been removed.
Improvements
diagram.legend
now accepts a fulllegend
as argument which enables one to specify all entries manually.boxplot
now allows defining the statistical values manually instead of passing a data set.- Functions like
plot
can now have empty coordinate arrays.
Fixed
- The
step
mode forfill-between
works again. - The parameters
diagram.xlim
anddiagram.ylim
don't fold any more through array concatenation withset
rules. - For plot functions like
colormesh
that 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.pad
together 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.