Skip to content

Commit

Permalink
Upgrade to version 0.3 (#14)
Browse files Browse the repository at this point in the history
* Add link to examples in README.md

* Bump to 0.3
  • Loading branch information
DJDuque authored Jun 5, 2022
1 parent ce40569 commit 26ce095
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add the following to your `Cargo.toml` file:

```toml
[dependencies]
pgfplots = { version = "0.2", features = ["inclusive"] }
pgfplots = { version = "0.3", features = ["inclusive"] }
```

Plotting a quadratic function is as simple as:
Expand All @@ -33,9 +33,11 @@ plot.show()?;

## [Examples](https://github.com/DJDuque/pgfplots/tree/main/examples)

Click on each image to see their source code:
A more extensive list of examples and their source code is available in the
`examples/` directory (runnable with
`cargo run --all-features --example example_name`).

| | | |
|[[code]](https://github.com/DJDuque/pgfplots/blob/main/examples/fitted_line.rs)|[[code]](https://github.com/DJDuque/pgfplots/blob/main/examples/rectangle_integration.rs)|[[code]](https://github.com/DJDuque/pgfplots/blob/main/examples/snowflake.rs)|
|-|-|-|
|![](https://github.com/DJDuque/pgfplots/blob/main/examples/fitted_line.png)|![](https://github.com/DJDuque/pgfplots/blob/main/examples/rectangle_integration.png)|![](https://github.com/DJDuque/pgfplots/blob/main/examples/snowflake.png)|

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ fully customize your plots. These take valid PGFPlots keys, which you can browse
in the official manual. There is a set of features from LaTeX's pgfplots
missing; please open an issue for these.

| | | |
|[[code]](https://github.com/DJDuque/pgfplots/blob/main/examples/fitted_line.rs)|[[code]](https://github.com/DJDuque/pgfplots/blob/main/examples/rectangle_integration.rs)|[[code]](https://github.com/DJDuque/pgfplots/blob/main/examples/snowflake.rs)|
|-|-|-|
|![](https://github.com/DJDuque/pgfplots/blob/main/examples/fitted_line.png)|![](https://github.com/DJDuque/pgfplots/blob/main/examples/rectangle_integration.png)|![](https://github.com/DJDuque/pgfplots/blob/main/examples/snowflake.png)|

0 comments on commit 26ce095

Please sign in to comment.