Releases: milliams/plotlib
Releases · milliams/plotlib
0.5.1
0.5.0
Added
- Legends for line plots
Changed
- Remove style traits and replace all style structs with 3 common ones in
style
- Group all representations under a
repr
module. - Add
linejoin
option to line style. - More Box and less & in the interface
- Replace Line, Scatter and Function with Plot
0.4.0
Added
- Line charts.
- Box plots.
- Bar charts.
- Introduce categorical representation, views and axes.
- Add ability to set dimensions of plot (PR #8)
- Added ability to display a histogram as densities
- Add ability to display grids (PR #23)
Changed
- Change
create_axes
,save
,to_svg
andto_text
to returnResult
indicating an error. - Make
representation
module public. - Rename
Scatter::from_vec
toScatter::from_slice
. - Rename
Histogram::from_vec
toHistogram::from_slice
. - Rename
view::View
toview::ContinuousView
and introduceview::View
as a trait. - Change
svg_render
functions to take data slices rather than Representations. Histogram::from_slice
now takes either a bin count or a bin bound list as its second argument.