Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
a48832c327
commit
dac4b6a1cc
1 changed files with 17 additions and 0 deletions
|
@ -12,6 +12,23 @@
|
|||
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
|
||||
|
||||
|
||||
## [matplotlib.pyplot.subplot](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.subplot.html)
|
||||
|
||||
```python
|
||||
matplotlib.pyplot.subplot(*args, **kwargs)
|
||||
```
|
||||
|
||||
> Add an Axes to the current figure or retrieve an existing Axes.
|
||||
>
|
||||
> This is a wrapper of Figure.add_subplot which provides additional behavior when working with the implicit API (see the notes section).
|
||||
|
||||
> ***args** : int, (int, int, index), or SubplotSpec, default: (1, 1, 1)
|
||||
>
|
||||
> The position of the subplot described by one of
|
||||
> * Three integers (nrows, ncols, index). The subplot will take the index position on a grid with nrows rows and ncols columns. index starts at 1 in the upper left corner and increases to the right. index can also be a two-tuple specifying the (first, last) indices (1-based, and including last) of the subplot, e.g., fig.add_subplot(3, 1, (1, 2)) makes a subplot that spans the upper 2/3 of the figure.
|
||||
> * A 3-digit integer. The digits are interpreted as if given separately as three single-digit integers, i.e. fig.add_subplot(235) is the same as fig.add_subplot(2, 3, 5). Note that this can only be used if there are no more than 9 subplots.
|
||||
|
||||
|
||||
```python
|
||||
import numpy as np
|
||||
|
||||
|
|
Loading…
Reference in a new issue