You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,7 +83,7 @@ This is the next major release of Plotters, see [release notes](./RELEASE-NOTES.
83
83
84
84
### Improvement
85
85
86
-
- Enhanced key point algorithms: New key point hint trait are used for key point algorithms && many improvment on key point algorithms for different types
86
+
- Enhanced key point algorithms: New key point hint trait are used for key point algorithms && many improvement on key point algorithms for different types
87
87
- Renamed `MeshStyle::line\_style\_1` and `MeshStyle::line\_style\_2` to `bold\_line\_style` and `light\_line\_style`
88
88
- Reorganize the "plotters::coord" namespace
89
89
- Improved discrete coordinate trait
@@ -128,7 +128,7 @@ This is the next major release of Plotters, see [release notes](./RELEASE-NOTES.
128
128
- Incremental Rendering by saving the previous chart context into a state and restore it on a different drawing area.
129
129
- BoxPlot support (See boxplot example for more details) (Thanks to @nuald)
130
130
- Category coordinate spec which allows use a list of given values as coordinate (Thanks to @nuald)
131
-
- New text positioning model which allows develvoper sepecify the anchor point. This is critical for layouting SVG correctly. See `plotters::style::text::text_anchor` for details. (Thanks to @nuald)
131
+
- New text positioning model which allows develvoper specify the anchor point. This is critical for layouting SVG correctly. See `plotters::style::text::text_anchor` for details. (Thanks to @nuald)
132
132
133
133
### Improved
134
134
@@ -147,9 +147,9 @@ This is the next major release of Plotters, see [release notes](./RELEASE-NOTES.
147
147
148
148
- Font description is greatly improved, general font family is supported: `serif`, `serif-sans`, `monospace` (Thanks to @Tatrix)
149
149
- Tested the font loading on Linux, OSX and Windowns. Make font loading more reliable.
150
-
-`BitMapBackend` isn't depdends on `image` crate now. Only the image encoding part relies on the `image` crate
150
+
-`BitMapBackend` isn't depends on `image` crate now. Only the image encoding part relies on the `image` crate
151
151
- Refactored WASM demo use ES6 and `wasm-pack` (Thanks to @Tatrix)
152
-
- Label style for X axis and Y axis can be set seperately now using `x\_label\_style` and `y\_label\_style`. (Thanks to @zhiburt)
152
+
- Label style for X axis and Y axis can be set separately now using `x\_label\_style` and `y\_label\_style`. (Thanks to @zhiburt)
Copy file name to clipboardExpand all lines: plotters-backend/src/lib.rs
+4-4
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Plotters project, please check the [main crate](https://crates.io/crates/plotters).
4
4
5
5
This is the crate that used as the connector between Plotters and different backend crates. Since Plotters 0.3, all the backends has been
6
-
hosted as seperate crates for the usability and maintainability reasons.
6
+
hosted as separate crates for the usability and maintainability reasons.
7
7
8
8
At the same time, Plotters is now supporting third-party backends and all the backends are now supports "plug-and-play":
9
9
To use a external backend, just depends on both the Plotters main crate and the third-party backend crate.
@@ -16,7 +16,7 @@
16
16
17
17
If the backend only implements [DrawingBackend::draw_pixel](trait.DrawingBackend.html#tymethod.draw_pixel), the default CPU rasterizer will be
18
18
used to give your backend ability of drawing different shapes. For those backend that supports advanced drawing instructions, such as, GPU
19
-
acelerated shape drawing, all the provided trait method can be overriden from the specific backend code.
19
+
accelerated shape drawing, all the provided trait method can be overridden from the specific backend code.
20
20
21
21
If your backend have text rendering ability, you may want to override the [DrawingBackend::estimate_text_size](trait.DrawingBackend.html#tymethod.estimate_text_size)
22
22
to avoid wrong spacing, since the Plotters default text handling code may behaves differently from the backend in terms of text rendering.
@@ -48,12 +48,12 @@
48
48
- For dynamic drawing, frames are defined by invocation of `DrawingBackend::present`, everything prior the invocation should belongs to previous frame
49
49
50
50
# Compatibility Note
51
-
Since Plotters v0.3, plotters use the "plug-and-play" schema to import backends, this requires both Plotters and the backend crates depdens on a
51
+
Since Plotters v0.3, plotters use the "plug-and-play" schema to import backends, this requires both Plotters and the backend crates depends on a
52
52
same version of `plotters-backend` crate. This crate (`plotters-backend`) will enforce that any revision (means the last number in a version number)
53
53
won't contains breaking change - both on the Plotters side and backend side.
54
54
55
55
Plotters main crate is always importing the backend crate with version specification `plotters-backend = "^<major>.<minor>*"`.
56
-
It's highly recommended that all the external crates follows the same rule to import `plotters-backend` depdendency, to avoid protential breaking
56
+
It's highly recommended that all the external crates follows the same rule to import `plotters-backend` dependency, to avoid potential breaking
57
57
caused by `plotters-backend` crates gets a revision update.
58
58
59
59
We also impose a versioning rule with `plotters` and some backends:
Copy file name to clipboardExpand all lines: plotters/examples/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
To run any example, from within the repo, run `cargo run --example <example_name>` where `<example name>` is the name of the file without the `.rs` extension.
6
6
7
-
All the examples assumes the directory [plotters-doc-data](https://github.com/38/plotters-doc-data) exists, otherwise those example crashs.
7
+
All the examples assumes the directory [plotters-doc-data](https://github.com/38/plotters-doc-data) exists, otherwise those example crashes.
8
8
9
9
The output of these example files are used to generate the [plotters-doc-data](https://github.com/38/plotters-doc-data) repo that populates the sample images in the main README.
10
10
We also rely on the output of examples to detect potential layout changes.
Copy file name to clipboardExpand all lines: plotters/src/chart/dual_coord.rs
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ use crate::element::{Drawable, PointCollection};
17
17
use plotters_backend::{BackendCoord,DrawingBackend};
18
18
19
19
/// The chart context that has two coordinate system attached.
20
-
/// This situation is quite common, for example, we with two different coodinate system.
20
+
/// This situation is quite common, for example, we with two different coordinate system.
21
21
/// For instance this example <img src="https://plotters-rs.github.io/plotters-doc-data/twoscale.png"></img>
22
22
/// This is done by attaching a second coordinate system to ChartContext by method [ChartContext::set_secondary_coord](struct.ChartContext.html#method.set_secondary_coord).
23
23
/// For instance of dual coordinate charts, see [this example](https://github.com/plotters-rs/plotters/blob/master/examples/two-scales.rs#L15).
/// Convert a chart context into a chart state, by doing so, the chart context is consumed and
53
-
/// a saved chart state is created for later use. This is typically used in incrmental rendering. See documentation of `ChartState` for more detailed example.
53
+
/// a saved chart state is created for later use. This is typically used in incremental rendering. See documentation of `ChartState` for more detailed example.
0 commit comments