Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Aug 22, 2024
1 parent 2ac1e15 commit eadf855
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ let path = "my-figure.svg";
// plot and show in a Jupyter notebook
let mut plot = Plot::new();
plot.set_python_exe(python)
.set_label_x("x");
.set_label_y("y");
.save(path)?;
plot.show_in_evcxr(path)?;
.set_label_x("x")
.set_label_y("y")
.show_in_jupyter(path)?;
```


Expand Down
2 changes: 1 addition & 1 deletion src/plot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ mod tests {
}

#[test]
fn show_in_evcxr_works() {
fn show_in_jupyter_works() {
let plot = Plot::new();
let path = Path::new(OUT_DIR).join("show_works.svg");
plot.save(&path).unwrap();
Expand Down

0 comments on commit eadf855

Please sign in to comment.