diff --git a/README.md b/README.md index 2af9f704..9cd093bc 100644 --- a/README.md +++ b/README.md @@ -521,7 +521,7 @@ The following list is a complete list of features that can be opt in and out. | Name | Description | Additional Dependency |Default?| |---------|--------------|--------|------------| -| datetime | Eanble the date and time coordinate support | chrono | Yes | +| datetime | Enable the date and time coordinate support | chrono | Yes | - Element, series and util functions @@ -569,7 +569,7 @@ The following list is a complete list of features that can be opt in and out. * How to check if a backend writes file successfully ? - The behavior of Plotters backend is consistent with stadnard library. + The behavior of Plotters backend is consistent with standard library. When the backend instance is being dropped, `DrawingArea::present` or `Backend::present` is called automatically whenever is needed. When the `persent` method is called from `drop`, any error will be sliently ignored. diff --git a/doc-template/readme.template.md b/doc-template/readme.template.md index 4ca32fb0..b4507554 100644 --- a/doc-template/readme.template.md +++ b/doc-template/readme.template.md @@ -46,7 +46,7 @@ plotters = "$LATEST_VERSION" And the following code draws a quadratic function. `src/main.rs`, ```rust -$$examples/quick_start.rs$$ +$$../examples/quick_start.rs$$ ``` ![](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 Plotters can use different drawing back-ends, including SVG, BitMap, and even real-time rendering. For example, a bitmap drawing backend. ```rust -$$examples/drawing_backends.rs$$ +$$../examples/drawing_backends.rs$$ ``` ![](https://plotters-rs.github.io/plotters-doc-data/1.png) @@ -171,7 +171,7 @@ This is done by creating sub-drawing-areas. Besides that, the drawing area also allows the customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically. ```rust -$$examples/drawing_area.rs$$ +$$../examples/drawing_area.rs$$ ``` ![](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. To learn more about the element system, please read the [element module documentation](./element/index.html). ```rust -$$examples/elements.rs$$ +$$../examples/elements.rs$$ ``` ![](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 For example, we can have an element which includes a dot and its coordinate. ```rust -$$examples/composable_elements.rs$$ +$$../examples/composable_elements.rs$$ ``` ![](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 of the chart context object. ```rust -$$examples/chart.rs$$ +$$../examples/chart.rs$$ ``` ![](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. | Name | Description | Additional Dependency |Default?| |---------|--------------|--------|------------| -| datetime | Eanble the date and time coordinate support | chrono | Yes | +| datetime | Enable the date and time coordinate support | chrono | Yes | - Element, series and util functions @@ -322,7 +322,7 @@ The following list is a complete list of features that can be opt in and out. * How to check if a backend writes file successfully ? - The behavior of Plotters backend is consistent with stadnard library. + The behavior of Plotters backend is consistent with standard library. When the backend instance is being dropped, `DrawingArea::present` or `Backend::present` is called automatically whenever is needed. When the `persent` method is called from `drop`, any error will be sliently ignored. diff --git a/src/lib.rs b/src/lib.rs index 0545a46f..3bf9d1dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -660,7 +660,7 @@ The following list is a complete list of features that can be opt in and out. | Name | Description | Additional Dependency |Default?| |---------|--------------|--------|------------| -| datetime | Eanble the date and time coordinate support | chrono | Yes | +| datetime | Enable the date and time coordinate support | chrono | Yes | - Element, series and util functions @@ -708,7 +708,7 @@ The following list is a complete list of features that can be opt in and out. * How to check if a backend writes file successfully ? - The behavior of Plotters backend is consistent with stadnard library. + The behavior of Plotters backend is consistent with standard library. When the backend instance is being dropped, `DrawingArea::present` or `Backend::present` is called automatically whenever is needed. When the `persent` method is called from `drop`, any error will be sliently ignored.