vault backup: 2023-05-13 12:10:20
This commit is contained in:
@@ -51,4 +51,9 @@ ax.annotate(
|
||||
shrink=0.05), #
|
||||
)
|
||||
```
|
||||
官方說明:[matplotlib.axes.Axes.annotate — Matplotlib 3.7.1](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.annotate.html)
|
||||
官方說明:[matplotlib.axes.Axes.annotate — Matplotlib 3.7.1](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.annotate.html)
|
||||
|
||||
## 在X軸上畫一個範圍
|
||||
```python
|
||||
plt.gca().axvspan(startXPos, endXPos, alpha=0.2, color='red')
|
||||
```
|
||||
Reference in New Issue
Block a user