diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 50818248..d2b24596 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ Before spending time and effort in making changes to the library, it's a good id Fork [plotly](https://igiagkiozis.github.io/plotly/) to your own account and create a new branch for your feature. Remember to update the [changelog](CHANGELOG.md) - use previous entries as a template. -When your contribution is ready for review, make a pull request with your changes directly to the `master` branch. One of the maintainers will have a look at what you've done, suggest any necessary changes and, when everyone is happy, merge the pull request. +When your contribution is ready for review, make a pull request with your changes directly to the `main` branch. One of the maintainers will have a look at what you've done, suggest any necessary changes and, when everyone is happy, merge the pull request. ## Code of Conduct diff --git a/README.md b/README.md index 76ea74f9..61691115 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@
Plotly for Rust
-
-
+
+
@@ -25,7 +25,7 @@
|
API Docs
|
- Changelog
+ Changelog
@@ -44,10 +44,10 @@
A plotting library for Rust powered by [Plotly.js](https://plot.ly/javascript/).
-Documentation and numerous interactive examples are available in the [Plotly.rs Book](https://igiagkiozis.github.io/plotly/content/getting_started.html), the [examples/](https://github.com/igiagkiozis/plotly/tree/master/examples) directory and [docs.rs](https://docs.rs/crate/plotly).
+Documentation and numerous interactive examples are available in the [Plotly.rs Book](https://igiagkiozis.github.io/plotly/content/getting_started.html), the [examples/](https://github.com/igiagkiozis/plotly/tree/main/examples) directory and [docs.rs](https://docs.rs/crate/plotly).
-For changes since the last version, please consult the [changelog](https://github.com/igiagkiozis/plotly/blob/master/CHANGELOG.md).
+For changes since the last version, please consult the [changelog](https://github.com/igiagkiozis/plotly/blob/main/CHANGELOG.md).
# Basic Usage
@@ -163,13 +163,13 @@ pub fn plot_component() -> Html {
}
});
-
+
use_effect_with_deps(move |_| {
p.run();
|| ()
}, (),
);
-
+
html! {