Skip to content

Commit 14cf15d

Browse files
committed
Update doc
1 parent 596c216 commit 14cf15d

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

RELEASE-NOTES.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,20 @@ After this update, you should do the following code instead:
3333

3434
```rust
3535
use plotters::prelude::*;
36-
use plotter_bitmap::BitMapBackend;
36+
use plotter_bitmap::BitMapBackend; // <= This extra import is used to plug the backend to Plotters
3737

38-
//...
38+
fn main() {
39+
let backend = BitMapBackend::new(...)
40+
}
3941

4042
```
4143

4244
### Backward compatibility
4345

44-
Plotters v0.3 now have a concept of tier 1 backends, which is the most supported. Currently we have two tier 1 backends: `plotters-bitmap` and
45-
`plotters-svg`. Tier 1 backends are used by most of the people.
46+
Plotters 0.3 has introduced concept of tier 1 backends, which is the most supported.
47+
All tier 1 backends could be imported automatically with the core crate (But can be opt-out as well).
48+
Currently we have two tier 1 backends: `plotters-bitmap` and `plotters-svg`.
49+
These are used by most of the people.
4650

4751
To ease the upgrade for tier 1 backends, we still keep feature options in the core crate that can opt in those crates. And this is enabled by default.
4852

@@ -61,3 +65,17 @@ plotters-cairo = "0.3" # We should import the cairo backend in this way.
6165
```
6266

6367
And in your code, instead of import `plotters::prelude::CairoBackend`, you should import `plotters_cairo::CairoBackend`
68+
69+
## Enhanced Coordinate System Abstraction
70+
71+
### Details
72+
73+
Plotters 0.3 ships with tons of improvement made in the coordinate abstraction and support much more kinds of coordinate.
74+
75+
* `chrono::NaiveDate` and `chrono::NaiveDateTime` are now supported
76+
* Better abstraction of discrete coordinates
77+
* Linspace coordinate, which can be used converting a continous coorindate into a discrete buckets
78+
* Nested coordinate
79+
* Slices can now be used as cooradnite specification, which allows people define an axis of category.
80+
81+
## Fix bugs and improve testing

0 commit comments

Comments
 (0)