Skip to content

Commit 537fd2c

Browse files
authored
Merge pull request #269 from LollipopFt/master
Fixed typos in README.md. That's it.
2 parents 3dca73a + 15f3c12 commit 537fd2c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ The following list is a complete list of features that can be opt in and out.
542542

543543
| Name | Description | Additional Dependency |Default?|
544544
|---------|--------------|--------|------------|
545-
| datetime | Eanble the date and time coordinate support | chrono | Yes |
545+
| datetime | Enable the date and time coordinate support | chrono | Yes |
546546

547547
- Element, series and util functions
548548

@@ -590,7 +590,7 @@ The following list is a complete list of features that can be opt in and out.
590590

591591
* How to check if a backend writes file successfully ?
592592

593-
The behavior of Plotters backend is consistent with stadnard library.
593+
The behavior of Plotters backend is consistent with standard library.
594594
When the backend instance is being dropped, `DrawingArea::present` or `Backend::present` is called automatically
595595
whenever is needed. When the `persent` method is called from `drop`, any error will be sliently ignored.
596596

doc-template/readme.template.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ plotters = "$LATEST_VERSION"
4646
And the following code draws a quadratic function. `src/main.rs`,
4747

4848
```rust
49-
$$examples/quick_start.rs$$
49+
$$../examples/quick_start.rs$$
5050
```
5151

5252
![](https://plotters-rs.github.io/plotters-doc-data/0.png)
@@ -158,7 +158,7 @@ But Plotter is aimed to be a platform that is fully extendable to support any ot
158158
Plotters can use different drawing back-ends, including SVG, BitMap, and even real-time rendering. For example, a bitmap drawing backend.
159159

160160
```rust
161-
$$examples/drawing_backends.rs$$
161+
$$../examples/drawing_backends.rs$$
162162
```
163163

164164
![](https://plotters-rs.github.io/plotters-doc-data/1.png)
@@ -171,7 +171,7 @@ This is done by creating sub-drawing-areas.
171171
Besides that, the drawing area also allows the customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
172172

173173
```rust
174-
$$examples/drawing_area.rs$$
174+
$$../examples/drawing_area.rs$$
175175
```
176176

177177
![](https://plotters-rs.github.io/plotters-doc-data/2.png)
@@ -187,7 +187,7 @@ You may also combine existing elements to build a complex element.
187187
To learn more about the element system, please read the [element module documentation](./element/index.html).
188188

189189
```rust
190-
$$examples/elements.rs$$
190+
$$../examples/elements.rs$$
191191
```
192192

193193
![](https://plotters-rs.github.io/plotters-doc-data/3.png)
@@ -201,7 +201,7 @@ coordinate which has the upper-left corner defined as `(0,0)` is used for furthe
201201
For example, we can have an element which includes a dot and its coordinate.
202202

203203
```rust
204-
$$examples/composable_elements.rs$$
204+
$$../examples/composable_elements.rs$$
205205
```
206206

207207
![](https://plotters-rs.github.io/plotters-doc-data/4.png)
@@ -214,7 +214,7 @@ For example, you can define the label areas, meshes, and put a data series onto
214214
of the chart context object.
215215

216216
```rust
217-
$$examples/chart.rs$$
217+
$$../examples/chart.rs$$
218218
```
219219

220220
![](https://plotters-rs.github.io/plotters-doc-data/5.png)
@@ -274,7 +274,7 @@ The following list is a complete list of features that can be opt in and out.
274274

275275
| Name | Description | Additional Dependency |Default?|
276276
|---------|--------------|--------|------------|
277-
| datetime | Eanble the date and time coordinate support | chrono | Yes |
277+
| datetime | Enable the date and time coordinate support | chrono | Yes |
278278

279279
- Element, series and util functions
280280

@@ -322,7 +322,7 @@ The following list is a complete list of features that can be opt in and out.
322322

323323
* How to check if a backend writes file successfully ?
324324

325-
The behavior of Plotters backend is consistent with stadnard library.
325+
The behavior of Plotters backend is consistent with standard library.
326326
When the backend instance is being dropped, `DrawingArea::present` or `Backend::present` is called automatically
327327
whenever is needed. When the `persent` method is called from `drop`, any error will be sliently ignored.
328328

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ The following list is a complete list of features that can be opt in and out.
666666
667667
| Name | Description | Additional Dependency |Default?|
668668
|---------|--------------|--------|------------|
669-
| datetime | Eanble the date and time coordinate support | chrono | Yes |
669+
| datetime | Enable the date and time coordinate support | chrono | Yes |
670670
671671
- Element, series and util functions
672672
@@ -714,7 +714,7 @@ The following list is a complete list of features that can be opt in and out.
714714
715715
* How to check if a backend writes file successfully ?
716716
717-
The behavior of Plotters backend is consistent with stadnard library.
717+
The behavior of Plotters backend is consistent with standard library.
718718
When the backend instance is being dropped, `DrawingArea::present` or `Backend::present` is called automatically
719719
whenever is needed. When the `persent` method is called from `drop`, any error will be sliently ignored.
720720

0 commit comments

Comments
 (0)