Skip to content

Commit e4f746e

Browse files
Andrei N.G.andrei-ng
Andrei N.G.
authored andcommitted
fix references to point to new repo url and main branch
- change url links to plotly/plotly.rs and from master to main - fix refs in mdbook and in README - fix shields.io links Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent eef27cd commit e4f746e

22 files changed

+99
-99
lines changed

CHANGELOG.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,36 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
55

66
## [0.8.5] - 2024-xx-xx
77
### Added
8-
- [[#181](https://github.com/igiagkiozis/plotly/pull/181)] Fix compilation error when mixing the crate with `askama/with-axum` by adding `with-axum` feature.
9-
- [[#180](https://github.com/igiagkiozis/plotly/pull/180)] Add setter for `Mapbox::domain`.
8+
- [[#181](https://github.com/plotly/plotly,rs/pull/181)] Fix compilation error when mixing the crate with `askama/with-axum` by adding `with-axum` feature.
9+
- [[#180](https://github.com/plotly/plotly.rs/pull/180)] Add setter for `Mapbox::domain`.
1010
- [[#163](https://github.com/plotly/plotly.rs/pull/163)] Added `DensityMapbox`.
11-
- [[#153](https://github.com/igiagkiozis/plotly/pull/153)] Added `LayoutScene`.
11+
- [[#153](https://github.com/plotly/plotly.rs/pull/153)] Added `LayoutScene`.
1212

1313
## [0.8.4] - 2023-07-09
1414
### Added
15-
- [[#143](https://github.com/igiagkiozis/plotly/pull/143)] Widen version range of `askama`.
15+
- [[#143](https://github.com/plotly/plotly.rs/pull/143)] Widen version range of `askama`.
1616

1717
### Fixed
18-
- [[#129](https://github.com/igiagkiozis/plotly/pull/129)] Fix issue for plots not showing in browser in Windows. Thanks to [@juanespj](https://github.com/juanespj) and [@M-NK-Y](https://github.com/M-NK-Y) for the PRs.
19-
- [[#147](https://github.com/igiagkiozis/plotly/pull/147)] Update documentation for `jupyter notebook` example.
18+
- [[#129](https://github.com/plotly/plotly.rs/pull/129)] Fix issue for plots not showing in browser in Windows. Thanks to [@juanespj](https://github.com/juanespj) and [@M-NK-Y](https://github.com/M-NK-Y) for the PRs.
19+
- [[#147](https://github.com/plotly/plotly.rs/pull/147)] Update documentation for `jupyter notebook` example.
2020

2121
## [0.8.3] - 2022-11-04
2222
### Fixed
23-
- [[#122](https://github.com/igiagkiozis/plotly/pull/122)] Compilation error for the `wasm` feature.
24-
- [[#123](https://github.com/igiagkiozis/plotly/pull/123)] Compilation error for the `plotly_kaleido` feature.
23+
- [[#122](https://github.com/plotly/plotly.rs/pull/122)] Compilation error for the `wasm` feature.
24+
- [[#123](https://github.com/plotly/plotly.rs/pull/123)] Compilation error for the `plotly_kaleido` feature.
2525

2626
## [0.8.2] - 2022-11-03
2727
### Added
28-
- [[#110](https://github.com/igiagkiozis/plotly/pull/110)] `LegendGroupTitle` to existing traces.
29-
- [[#88](https://github.com/igiagkiozis/plotly/pull/88)] `Mesh3D`, `Image`, `ScatterMapbox` traces.
28+
- [[#110](https://github.com/plotly/plotly.rs/pull/110)] `LegendGroupTitle` to existing traces.
29+
- [[#88](https://github.com/plotly/plotly.rs/pull/88)] `Mesh3D`, `Image`, `ScatterMapbox` traces.
3030

3131
### Changed
32-
- [[#113](https://github.com/igiagkiozis/plotly/pull/113)] Refactored the structure of the examples to make them more accessible, whilst adding more examples e.g. for `wasm`.
33-
- [[#115](https://github.com/igiagkiozis/plotly/pull/115)] Simplify the function signature of Plot.to_inline_html() so that it just takes `Option<&str>` as an argument.
32+
- [[#113](https://github.com/plotly/plotly.rs/pull/113)] Refactored the structure of the examples to make them more accessible, whilst adding more examples e.g. for `wasm`.
33+
- [[#115](https://github.com/plotly/plotly.rs/pull/115)] Simplify the function signature of Plot.to_inline_html() so that it just takes `Option<&str>` as an argument.
3434

3535
## [0.8.1] - 2022-09-25
3636
### Added
37-
- Button support (i.e. [updatemenus](https://plotly.com/javascript/reference/layout/updatemenus/)) contibuted by [@sreenathkrishnan](https://github.com/sreenathkrishnan). Details and examples in this well written PR [#99](https://github.com/igiagkiozis/plotly/pull/99).
37+
- Button support (i.e. [updatemenus](https://plotly.com/javascript/reference/layout/updatemenus/)) contibuted by [@sreenathkrishnan](https://github.com/sreenathkrishnan). Details and examples in this well written PR [#99](https://github.com/plotly/plotly.rs/pull/99).
3838
- Internally, there is now a `plotly-derive` crate which defines a `FieldSetter` procedural macro. This massively cuts down the amount of code duplication by generating the setter methods based on the struct fields. Again thanks to @sreenathkrishnan for this effort.
3939

4040
## [0.8.0] - 2022-08-26
@@ -49,7 +49,7 @@ Version 0.8.0 represents a significant release which refactors a lot of the code
4949
- Support for `Sankey` diagrams
5050
- Support for `Plot3D` - 3D plots for scatter, line and surface data
5151
### Changed
52-
- Improve implementation of `private::NumOrString` to support more primitive types ([Issue #47](https://github.com/igiagkiozis/plotly/issues/47))
52+
- Improve implementation of `private::NumOrString` to support more primitive types ([Issue #47](https://github.com/plotly/plotly.rs/issues/47))
5353
- Remove `private::TruthyEnum` in favour of a more robust way of serializing to `String` or `bool`
5454
- Refactor `Color` module
5555
- Refactored HTML templates with cleaner Javascript code
@@ -59,7 +59,7 @@ Version 0.8.0 represents a significant release which refactors a lot of the code
5959
- `Plot::to_html()` now has similar behaviour to `Plot::to_inline_html()` and just returns a `String`
6060
### Fixed
6161
- Typos in `CONTRIBUTING.md`
62-
- Serialization of `plotly_kaleido::PlotData` ([Issue #50](https://github.com/igiagkiozis/plotly/issues/50))
62+
- Serialization of `plotly_kaleido::PlotData` ([Issue #50](https://github.com/plotly/plotly.rs/issues/50))
6363
### Updated
6464
- `ndarray` to `0.15.4`.
6565
- `serde` to `1.0.132`.
@@ -87,11 +87,11 @@ Version 0.8.0 represents a significant release which refactors a lot of the code
8787

8888
## [0.6.0] - 2020-07-25
8989
### Added
90-
- Shapes support ([documentation](https://igiagkiozis.github.io/plotly/content/fundamentals/shapes.html)).
90+
- Shapes support ([documentation](https://plotly.github.io/plotly.rs/content/fundamentals/shapes.html)).
9191
- Annotations support.
9292
- Docstrings to `Scatter`.
93-
- `ndarray` support ([documentation](https://igiagkiozis.github.io/plotly/content/fundamentals/ndarray_support.html)).
94-
- Jupyter lab and notebook support ([documentation](https://igiagkiozis.github.io/plotly/content/fundamentals/jupyter_support.html)).
93+
- `ndarray` support ([documentation](https://plotly.github.io/plotly.rs/content/fundamentals/ndarray_support.html)).
94+
- Jupyter lab and notebook support ([documentation](https://plotly.github.io/plotly.rs/content/fundamentals/jupyter_support.html)).
9595
### Changed
9696
- Removed `num` dependence.
9797
- Removed `plotly_orca` and the `orca` feature. Use the `kaleido` feature for static image generation.
@@ -109,7 +109,7 @@ Version 0.8.0 represents a significant release which refactors a lot of the code
109109

110110
## [0.5.0] - 2020-07-12
111111
### Added
112-
- [Plotly.rs Book](https://igiagkiozis.github.io/plotly/).
112+
- [Plotly.rs Book](https://plotly.github.io/plotly.rs/).
113113
- Using plotly.js from the official CDN is now the default. To use the local version use the `Plot::use_local_plotly` method.
114114
- Plot rasterization to `png`, `jpg`, `eps`, `pdf`, `webp` and `svg` using [plotly/Kaleido](https://github.com/plotly/Kaleido), enabled using the `kaleido` feature.
115115
- Multi-axis support and examples.

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ When making a feature request, please make it clear what problem you intend to s
1212

1313
## Pull Requests
1414

15-
Before spending time and effort in making changes to the library, it's a good idea to discuss it first on the issue tracker to see whether your change is likely to be accepted.
15+
Before spending time and effort in making changes to the library, it's a good idea to discuss it first on the issue tracker to see whether your change is likely to be accepted.
1616

17-
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.
17+
Fork [plotly](https://github.com/plotly/plotly.rs.git) 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.
1818

19-
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.
19+
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.
2020

2121
## Code of Conduct
2222

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<h1>Plotly.rs</h1>
33
<p><strong>Plotly for Rust</strong></p>
44
<p>
5-
<a href="https://github.com/igiagkiozis/plotly/actions?query=branch%3Amaster" style="text-decoration: none!important;">
6-
<img src="https://img.shields.io/github/actions/workflow/status/igiagkiozis/plotly/ci.yml?branch=master" alt="Build status">
5+
<a href="https://github.com/plotly/plotly.rs/actions?query=branch%3Amain" style="text-decoration: none!important;">
6+
<img src="https://img.shields.io/github/actions/workflow/status/plotly/plotly.rs/ci.yml?branch=main" alt="Build status">
77
</a>
88
<a href="https://crates.io/crates/plotly" style="text-decoration: none!important;">
99
<img src="https://img.shields.io/crates/v/plotly.svg" alt="Crates.io">
@@ -14,18 +14,18 @@
1414
<a href="https://docs.rs/plotly" style="text-decoration: none!important;">
1515
<img src="https://img.shields.io/badge/docs.rs-plotly-green" alt="Documentation">
1616
</a>
17-
<a href="https://app.codecov.io/github/igiagkiozis/plotly" style="text-decoration: none!important;">
17+
<a href="https://app.codecov.io/github/plotly/plotly.rs" style="text-decoration: none!important;">
1818
<img src="https://img.shields.io/codecov/c/github/igiagkiozis/plotly" alt="Code coverage">
1919
</a>
2020
</p>
2121
<h4>
22-
<a href="https://igiagkiozis.github.io/plotly/content/getting_started.html">Getting Started</a>
22+
<a href="https://plotly.github.io/plotly.rs/content/getting_started.html">Getting Started</a>
2323
<span> | </span>
24-
<a href="https://igiagkiozis.github.io/plotly/content/recipes.html">Recipes</a>
24+
<a href="https://plotly.github.io/plotly.rs/content/recipes.html">Recipes</a>
2525
<span> | </span>
2626
<a href="https://docs.rs/crate/plotly/">API Docs</a>
2727
<span> | </span>
28-
<a href="https://github.com/igiagkiozis/plotly/blob/master/CHANGELOG.md">Changelog</a>
28+
<a href="https://github.com/plotly/plotly.rs/tree/main/CHANGELOG.md">Changelog</a>
2929
</h4>
3030
</div>
3131

@@ -44,10 +44,10 @@
4444

4545
A plotting library for Rust powered by [Plotly.js](https://plot.ly/javascript/).
4646

47-
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).
47+
Documentation and numerous interactive examples are available in the [Plotly.rs Book](https://plotly.github.io/plotly.rs/content/getting_started.html), the [examples/](https://github.com/plotly/plotly.rs/tree/main/examples) directory and [docs.rs](https://docs.rs/crate/plotly).
4848

4949

50-
For changes since the last version, please consult the [changelog](https://github.com/igiagkiozis/plotly/blob/master/CHANGELOG.md).
50+
For changes since the last version, please consult the [changelog](https://github.com/plotly/plotly.rs/tree/main/CHANGELOG.md).
5151

5252
# Basic Usage
5353

@@ -163,21 +163,21 @@ pub fn plot_component() -> Html {
163163
}
164164
});
165165

166-
166+
167167
use_effect_with_deps(move |_| {
168168
p.run();
169169
|| ()
170170
}, (),
171171
);
172-
172+
173173

174174
html! {
175175
<div id="plot-div"></div>
176176
}
177177
}
178178
```
179179

180-
More detailed standalone examples can be found in the [examples/](https://github.com/igiagkiozis/plotly/tree/master/examples) directory.
180+
More detailed standalone examples can be found in the [examples/](https://github.com/plotly/plotly.rs/tree/main/examples) directory.
181181

182182
# Crate Feature Flags
183183

@@ -201,12 +201,12 @@ Enables compilation for the `wasm32-unknown-unknown` target and provides access
201201

202202
# Contributing
203203

204-
* If you've spotted a bug or would like to see a new feature, please submit an issue on the [issue tracker](https://github.com/igiagkiozis/plotly/issues).
204+
* If you've spotted a bug or would like to see a new feature, please submit an issue on the [issue tracker](https://github.com/plotly/plotly.rs/issues).
205205

206-
* Pull requests are welcome, see the [contributing guide](https://github.com/igiagkiozis/plotly/blob/master/CONTRIBUTING.md) for more information.
206+
* Pull requests are welcome, see the [contributing guide](https://github.com/plotly/plotly.rs/tree/main/CONTRIBUTING.md) for more information.
207207

208208
# License
209209

210210
`Plotly.rs` is distributed under the terms of the MIT license.
211211

212-
See [LICENSE-MIT](https://github.com/igiagkiozis/plotly/blob/master/LICENSE-MIT), and [COPYRIGHT](https://github.com/igiagkiozis/plotly/blob/master/COPYRIGHT) for details.
212+
See [LICENSE-MIT](https://github.com/plotly/plotly.rs/tree/main/LICENSE-MIT), and [COPYRIGHT](https://github.com/plotly/plotly.rs/tree/main/COPYRIGHT) for details.

docs/book/src/fundamentals.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div align="center">
2-
<a href="https://github.com/igiagkiozis/plotly/tree/master">
3-
<img src="https://img.shields.io/badge/Plotly.rs-master-brightgreen" alt="build status">
2+
<a href="https://github.com/plotly/plotly.rs/tree/main">
3+
<img src="https://img.shields.io/badge/Plotly.rs-main-brightgreen" alt="build status">
44
</a>
5-
<a href="https://github.com/igiagkiozis/plotly/actions">
6-
<img src="https://github.com/igiagkiozis/plotly/workflows/build/badge.svg" alt="build status">
5+
<a href="https://github.com/plotly/plotly.rs/actions?query=branch%3Amain" style="text-decoration: none!important;">
6+
<img src="https://img.shields.io/github/actions/workflow/status/plotly/plotly.rs/ci.yml?branch=main" alt="Build status">
77
</a>
88
<a href="https://crates.io/crates/plotly">
99
<img src="https://img.shields.io/crates/v/plotly.svg" alt="Crates.io">
@@ -18,4 +18,4 @@
1818

1919
# Fundamentals
2020

21-
Functionality that applies to the library as a whole is described in the next sections.
21+
Functionality that applies to the library as a whole is described in the next sections.

docs/book/src/fundamentals/jupyter_support.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Jupyter Support
22

3-
As of version `0.7.0`, [Plotly.rs](https://github.com/igiagkiozis/plotly) has native support for the [EvCxR Jupyter Kernel](https://github.com/google/evcxr/tree/master/evcxr_jupyter).
3+
As of version `0.7.0`, [Plotly.rs](https://github.com/plotly/plotly.rs) has native support for the [EvCxR Jupyter Kernel](https://github.com/google/evcxr/tree/master/evcxr_jupyter).
44

55
Once you've installed the required packages you'll be able to run all the examples shown here as well as all [the recipes](../recipes.md) in Jupyter Lab!
66

77

88
## Installation
9-
It is assumed that an installation of the [Anaconda](https://www.anaconda.com/products/individual) Python distribution is already present in the system. If that is not the case you can follow these [instructions](https://www.anaconda.com/products/individual) to get up and running with `Anaconda`.
9+
It is assumed that an installation of the [Anaconda](https://www.anaconda.com/products/individual) Python distribution is already present in the system. If that is not the case you can follow these [instructions](https://www.anaconda.com/products/individual) to get up and running with `Anaconda`.
1010

1111
```shell script
1212
conda install -c plotly plotly=4.9.0
@@ -20,17 +20,17 @@ conda install notebook
2020

2121
Although there are alternative methods to enable support for the [EvCxR Jupyter Kernel](https://github.com/google/evcxr/tree/master/evcxr_jupyter), we have elected to keep the requirements consistent with what those of other languages, e.g. Julia, Python and R. This way users know what to expect; and also the folks at [Plotly](https://plotly.com/python/getting-started/#jupyter-notebook-support) have done already most of the heavy lifting to create an extension for Jupyter Lab that works very well.
2222

23-
Run the following to install the Plotly Jupyter Lab extension:
23+
Run the following to install the Plotly Jupyter Lab extension:
2424
```shell script
2525
jupyter labextension install [email protected]
2626
```
2727

28-
Once this step is complete to make sure the installation so far was successful, run the following command:
28+
Once this step is complete to make sure the installation so far was successful, run the following command:
2929
```shell script
3030
jupyter lab
3131
```
3232

33-
Open a `Python 3` kernel copy/paste the following code in a cell and run it:
33+
Open a `Python 3` kernel copy/paste the following code in a cell and run it:
3434
```python
3535
import plotly.graph_objects as go
3636
fig = go.Figure(data=go.Bar(x=['a', 'b', 'c'], y=[11, 22, 33]))
@@ -62,7 +62,7 @@ If you're not familiar with the EvCxR kernel it would be good that you at least
6262

6363
## Usage
6464

65-
Launch Jupyter Lab:
65+
Launch Jupyter Lab:
6666
```shell script
6767
jupyter lab
6868
```
@@ -104,6 +104,6 @@ plot.set_layout(layout);
104104
plot.lab_display();
105105
format!("EVCXR_BEGIN_CONTENT application/vnd.plotly.v1+json\n{}\nEVCXR_END_CONTENT", plot.to_json())
106106
```
107-
For Jupyter Lab there are two ways to display a plot in the `EvCxR` kernel, either have the plot object be in the last line without a semicolon or directly invoke the `Plot::lab_display` method on it; both have the same result. You can also find an example notebook [here](https://github.com/igiagkiozis/plotly/blob/master/examples/jupyter/jupyter_lab.ipynb) that will periodically be updated with examples.
107+
For Jupyter Lab there are two ways to display a plot in the `EvCxR` kernel, either have the plot object be in the last line without a semicolon or directly invoke the `Plot::lab_display` method on it; both have the same result. You can also find an example notebook [here](https://github.com/plotly/plotly.rs/tree/main/examples/jupyter/jupyter_lab.ipynb) that will periodically be updated with examples.
108108
109-
The process for Jupyter Notebook is very much the same with one exception; the `Plot::notebook_display` method must be used to display the plot. You can find an example notebook [here](https://github.com/igiagkiozis/plotly/blob/master/examples/jupyter/jupyter_notebook.ipynb)
109+
The process for Jupyter Notebook is very much the same with one exception; the `Plot::notebook_display` method must be used to display the plot. You can find an example notebook [here](https://github.com/plotly/plotly.rs/tree/main/examples/jupyter/jupyter_notebook.ipynb)

0 commit comments

Comments
 (0)