1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//! Figure and layout scaffolding for rizzma.
//!
//! This crate provides [`GridSpec`] subplot geometry plus the integration core,
//! [`Figure`] and [`Axes`], that ties the artist, axis, text, and raster crates
//! together into "a line on labeled axes → PNG". [`GridSpec`] supplies the
//! figure-fraction arithmetic that positions a regular grid of cells and
//! resolves individual cells or multi-cell spans ([`SubplotSpec`]) to
//! rectangles. [`Axes::legend`] and [`Figure::colorbar`] add legend keys and
//! gradient colorbars, and [`Figure::to_svg`] proves the figure is
//! backend-agnostic. `SubFigure` and full layout engines are follow-ups.
//!
//! # Gallery
//!
//! One figure per Tier-1 plot type, rendered by
//! `cargo run -p rizzma --example gallery` and published to the project's
//! `gh-pages` branch (the images are external, so this doc carries no binaries):
//!
//! | | | |
//! |:-:|:-:|:-:|
//! |  |  |  |
//! | [`Axes::plot`] | [`Axes::scatter`] | [`Axes::bar`] |
//! |  |  |  |
//! | [`Axes::hist`] | [`Axes::fill_between`] | [`Axes::errorbar`] |
//! |  |  |  |
//! | [`Axes::imshow`] | [`Figure::colorbar`] | [`Axes::axhline`] etc. |
//! |  |  |  |
//! | [`Axes::stem`] | [`Axes::stairs`] | [`Axes::stackplot`] |
//! |  |  |  |
//! | [`Axes::broken_barh`] | [`Axes::pcolormesh`] | [`Axes::boxplot`] |
//! |  |  |  |
//! | mathtext title ([`richtext`]) | [`Axes::contour`] | [`Axes::eventplot`] |
//! |  |  |  |
//! | [`Axes::fill_betweenx`] | [`Axes::ecdf`] | [`Axes::matshow`] |
//! |  |  |  |
//! | [`Axes::spy`] | [`Axes::hist2d`] | [`Axes::pie`] |
//! |  |  |  |
//! | [`Axes::violinplot`] | [`Axes::hexbin`] | [`Axes::grouped_bar`] |
//! |  |  |  |
//! | [`Axes::loglog`] | [`Axes::quiver`] | [`Axes::streamplot`] |
//! |  |  |  |
//! | [`Axes::triplot`] | [`Axes::tripcolor`] | [`Axes::symlogy`] |
//! |  |  | |
//! | [`Axes::logity`] | [`Axes::asinhy`] | |
//! |  |  |  |
//! | [`Axes::set_xaxis_date`] | [`PolarAxes`] | [`PolarAxes::scatter`] |
//! |  |  | |
//! | [`PolarAxes::fill`] | [`Axes::contourf`] | |
//!
//! Build-order home: Phase 7 of `design/04-implementation-plan.md`.
pub
pub
pub
pub
pub
pub use ;
pub use ;
pub use Figure;
pub use GridSpec;
pub use ;
pub use LegendLocation;
pub use PolarAxes;
pub use ;
pub use SubplotSpec;