plotters-backend
Plotters Backend API
0.3.7
207M downloads/mo
#488 most downloaded on crates.io
plotters-rs/plotters
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships on a steady schedule
a new release about every 11 months
Most releases are documented
notes for 7 of 9 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
12 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
12 releases · Jan 2020 to Sep 2024Releases
latest 12-
0.3.708 Sep 2024Nothing published for this version
-
0.3.620 May 2024Release notes
Open source →Added
- Add Clone and PartialEq traits to SeriesLabelPosition and ShapeStyle
- Add function to draw and save an evcxr figure
- Add dotted line style
Fixed
- Fix bug with infinite size for collinear line segments as coordinates
- Fix overflow in blit_bitmap
- Fix dashed line algorithm
-
0.3.516 Jun 2023Release notes
Open source →Added
- Add ab_glyph font backend
- Color maps
Fixed
- Fix broken unaligned read in unsafe code
- A lot of broken links and typos
-
0.3.406 Jul 2022Release notes
Open source →Fixed
- EvcxR feature compiling issue without bitmap backend enabled
Improved
- Color types manipulations
-
0.3.305 Jul 2022 withdrawnRelease notes
Open source →Improved
- The EvcxR integration now supports bitmap output. (Thanks to @lisanhu)
Fixed
- Fix the plotters crate's edition requirement
-
0.3.202 Jul 2021Release notes
Open source →Added
- Pie element (by @hhamana)
Improved
- Improved documentation for predefined colors. (Thanks to @siefkenj)
- Introduce the full Material Design 2014 Color Palette. (Thanks to @siefkenj)
- Massive documentation improvements (Thanks to @facorread and many others)
Fixed
- More float point axis key point algorithm fixes (@38)
- Default rasterizer fixes (@shinmili and @38)
-
0.3.129 Jun 2021 withdrawnRelease notes
Open source →Improved
- Surface series now supports more customizations
- Z-orde support for 3D plots
- Allow passing colors by value and reference (thanks to chrisduerr)
Fixed
- Infinite loop / panic when the axis range is zero
- UB in minifb example (thanks to TheEdward162)
- Examples that uses old APIs (thanks to chrisduerr)
-
0.3.003 Sep 2020Release notes
Open source →This is the next major release of Plotters, see release notes for more details.
Added
- The plotters backend API crate is introduced which allows third-party backend.
- Allow slice used as a coordinate if the item type implements
PartialOrd. - Linspace coordinate type, which allows define a discrete coordinate on continuous value types (such as f32, DateTime, etc) with a step specification
- Nested coordinate type, now we support define pair of category and nested values as nested coordinate.
- Introduce backend crates: plotters-bitmap, plotters-svg, plotters-cairo, plotters-canvas, plotters-console
- 3D Plotting features
Fixed
- Adjust Canvas backend size with DPR (Thanks to Marius-Mueller)
Improvement
- Enhanced key point algorithms: New key point hint trait are used for key point algorithms && many improvement on key point algorithms for different types
- Renamed
MeshStyle::line\_style\_1andMeshStyle::line\_style\_2tobold\_line\_styleandlight\_line\_style - Reorganize the "plotters::coord" namespace
- Improved discrete coordinate trait
- Split backend code into isolated crates and can be maintained indepdendenly
- Category coordinate is now replaced by slice coordinate
- Removing the requirement for
Debugtrait for chart coordinate, allows ranged coordinate define its own formatting function.
Removed
- The
Pathname alias forPathElement - Most code
plotters::drawing::backend\_impl::\*(expectMockedBackendfor testing purpose) is removed due to crate split. - Piston backend due to the Piston project seems not actively developing
-
0.2.103 Sep 2020Release notes
Open source →Improvement
- Move the sample images and other documentation data out of this repository.
Fix
- Make drawing errors shareable across threads. Otherwise, it causes compile error in some cases. (Thanks to @rkarp)
-
0.2.003 Sep 2020Release notes
Open source →Added
- Add relative sizing by added function
DrawingArea::relative_to_heightandDrawingArea::relative_to_width. - Added piston backend, now we can render plot on a window and dynamically render the plot
Improved
- Creating drawing area with
&Rc<RefCell<DrawingBackend>>. Previously, the drawing area creation requires take over the drawing backend ownership. But sometimes the drawing backend may have additional options. With new API, this can be done by putting the backend drawing area into smart pointers, thus, the drawing backend is accessible after creates the root drawing area.
- Add relative sizing by added function
-
0.0.104 Feb 2020Nothing published for this version
-
0.0.0-dummy28 Jan 2020 pre-releaseNothing published for this version