fix the kwargs typo, and a ref from plt to ax (#44)

This commit is contained in:
Jonathan Taylor
2025-04-02 21:50:13 -07:00
committed by GitHub
parent 56cd846f5e
commit f132c18a1c
4 changed files with 656 additions and 657 deletions

View File

@@ -655,7 +655,7 @@ ax.contour(x, y, f, levels=45);
```
To fine-tune the output of the
`ax.contour()` function, take a
look at the help file by typing `?plt.contour`.
look at the help file by typing `ax.contour?`.
The `ax.imshow()` method is similar to
`ax.contour()`, except that it produces a color-coded plot

File diff suppressed because one or more lines are too long

View File

@@ -300,7 +300,7 @@ def abline(ax, b, m, *args, **kwargs):
```
The addition of `*args` allows any number of
non-named arguments to `abline`, while `*kwargs` allows any
non-named arguments to `abline`, while `**kwargs` allows any
number of named arguments (such as `linewidth=3`) to `abline`.
In our function, we pass
these arguments verbatim to `ax.plot` above. Readers

File diff suppressed because one or more lines are too long