Change history
Release history of mosaickit. Documentation-only changes are not
listed; each entry is tagged where the feature it describes is documented,
following l3doc convention, so the page number is the real page.
1.0.0rc6
- Packages declare an
econ_toml.Schemaand mosaickit parsesecon-viz.tomlfor them; shared themes (mosaickit.themes) and label nudges (Nudge) added Introduction Nudge— Added Region and point labelsSchema— Added; packages declare their keys and mosaickit parses the file Themes and configurationget_tokens— Added Themes and configuration
1.0.0rc5
- New
mosaickit.econ_tomlreads the sections ofecon-viz.tomlthat every EconViz package shares Introduction
1.0.0rc4
- Parsed fonts are shared across symbolic links; a configured title keeps the baseline Matplotlib gives it Introduction
1.0.0rc3
- Titles and text that mixes words with
$...$math are set in the configured text fonts, so Chinese no longer comes out as boxes Introduction
1.0.0rc2
- Faster drawing with identical output: label placement, point validation and Matplotlib's mathtext parsing use arrays and caches scoped to one draw or save Introduction
1.0.0rc1
- Removed the deprecated
AnimationandTextStyle.family(see the chapters on parameters and styles) Introduction TextStyle— Removedfamily; choosefontand replace the files withTextFonts. Pass the fields by name; a scene document that holds"family": nullstill loads, one that names a family is refused Styles and colorsAnimation— RemovedAnimation,Animation.sweep()and the Matplotlib playback helper, deprecated in 0.6.0;kinetickitanimates scenes, andCanvasGrid.sweep()andcanvas.bind()still draw one frame per value Parameters and grids
0.9.2
TikZ—fontmaps to the TeX font families Styles and colors
0.9.1
TextStyle— Newfontfield;familyis deprecated Styles and colorsTextFonts—serifandmonoslots; defaults to DejaVu Styles and colors
0.9.0
TextStyle—weightis no longer deprecated Styles and colorsTextFonts— Added; one list of files for sans Styles and colorsConfig—Config.math_fontandConfig.fontsadded Themes and configuration
0.8.0
DashStyle—DashStyleandArrowStyleaccept short forms, so a package can use them as its own line and arrow style enums Styles and colors
0.5.1
- Markers are drawn whole on the plot edge; markers centred outside the plot are left out Layers and axes
0.5.0
- A dashed, dotted or dash-dot stroke dashes the shaft; the heads stay solid Layers and axes
CanvasGrid—linksadded Parameters and grids
0.4.0
- Inside brace labels move out on a leader when nothing past the tip is free (they used to overlap and warn) Axis annotations
0.3.2
- A region counts as the point's own only when the point is strictly inside it; a point on a region's edge keeps its label outside Region and point labels
0.3.1
- A point label may sit inside a filled region that contains its point Region and point labels
0.3.0
- Axis titles are placed past the arrow tips instead of centred on them Layers and axes
mosaickit— Text outside an axis is laid out in columns: marks, then outside braces (one column per lane), then notes; marks and notes are spread so none overlap Axis annotations- The default theme gains the
axes.noterole Axis annotations mosaickit— Point labels are placed before region labels, so region callouts avoid them; label text is measured with its rotation Region and point labelsPlacement.leadermay beNoneRegion and point labelsplace_point_labelandplace_besideadded Region and point labelsPalette— Themes and styles refer to colors by palette name, resolved againstConfig.palettewhen the render plan is built; an unknown name raisesConfigurationErrornaming the role, field and palette Styles and colorsConfig.paletteadded, defaulting toDEFAULT_PALETTEThemes and configurationConfig.load— TOML accepts a[palette]table, and style colors may be palette names, checked when the file is loaded Themes and configurationexpandadded (defaultTrue) Rendering
0.2.0
mosaickit— Built-in renderers are loaded by name on first use; the core no longer imports the Matplotlib backend InstallationLayoutWarning— Added, emitted when no callout position avoids every obstacle Canvases and scenesclipadded (defaultTrue); arrowheads no longer redraw a solid shaft over the end of the path, so dashed arrows stay dashed Layers and axesanchoraccepts the four cornerstop-left,top-right,bottom-left,bottom-rightLayers and axes- Arrowheads are no longer clipped to the axes Layers and axes
- Axis presets draw filled triangle arrowheads; axis lines are not clipped, so they keep their full width on the plot edge Layers and axes
mosaickit.layout— Added: the pure geometry behind label placement Layout geometryDEFAULT_PALETTE— Added: a grey ramp,white,blue,redandteal; the default theme takes its colors from it, soprimary,secondaryandaccentbecome blue, red and teal Styles and colorsresolve—themes.resolveacceptsoverrides, applied in order after the theme Themes and configurationLayer— Layers declarestyle_slots; Matplotlib drawing is driven by a per-type registry Rendering
0.1.1
- Package metadata on PyPI links the homepage, repository, issue tracker, changelog and release notes Introduction
0.1.0
- First release: immutable scenes and layers, sparse styles, namespaced themes, canvases, spanning grids, parameter expressions, animation, Matplotlib rendering with job-scoped caches, and strict TOML configuration Introduction