fix the kwargs typo, and a ref from plt to ax (#44)
This commit is contained in:
@@ -655,7 +655,7 @@ ax.contour(x, y, f, levels=45);
|
|||||||
```
|
```
|
||||||
To fine-tune the output of the
|
To fine-tune the output of the
|
||||||
`ax.contour()` function, take a
|
`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
|
The `ax.imshow()` method is similar to
|
||||||
`ax.contour()`, except that it produces a color-coded plot
|
`ax.contour()`, except that it produces a color-coded plot
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ def abline(ax, b, m, *args, **kwargs):
|
|||||||
|
|
||||||
```
|
```
|
||||||
The addition of `*args` allows any number of
|
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`.
|
number of named arguments (such as `linewidth=3`) to `abline`.
|
||||||
In our function, we pass
|
In our function, we pass
|
||||||
these arguments verbatim to `ax.plot` above. Readers
|
these arguments verbatim to `ax.plot` above. Readers
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user