mirror of
https://github.com/apachecn/ailearning.git
synced 2026-04-24 10:34:08 +08:00
2020-10-19 21:08:55
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
In [1]:
|
||||
|
||||
```
|
||||
```py
|
||||
%pylab inline
|
||||
|
||||
subplot(2,1,1)
|
||||
@@ -48,7 +48,7 @@ show()
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
```py
|
||||
Populating the interactive namespace from numpy and matplotlib
|
||||
|
||||
```
|
||||
@@ -194,7 +194,7 @@ AABJRU5ErkJggg==
|
||||
|
||||
In [2]:
|
||||
|
||||
```
|
||||
```py
|
||||
import matplotlib.gridspec as gridspec
|
||||
|
||||
G = gridspec.GridSpec(3, 3)
|
||||
@@ -403,7 +403,7 @@ tAAAAABJRU5ErkJggg==
|
||||
|
||||
In [3]:
|
||||
|
||||
```
|
||||
```py
|
||||
axes([0.1,0.1,.8,.8])
|
||||
xticks([]), yticks([])
|
||||
text(0.6,0.6, 'axes([0.1,0.1,.8,.8])',ha='center',va='center',size=20,alpha=.5)
|
||||
@@ -561,7 +561,7 @@ w5mISEAMZyIiATGciYgExHAmIhIQw5mISEAMZyIiATGciYgExHAmIhKQ240KyGSy29EOIiK6hsxm
|
||||
s93pNhAR0Rgc1iAiEhDDmYhIQAxnIiIBMZyJiATEcCYiEtD/AVGhDgsTjgbFAAAAAElFTkSuQmCC
|
||||
)In [4]:
|
||||
|
||||
```
|
||||
```py
|
||||
axes([0.1,0.1,.5,.5])
|
||||
xticks([]), yticks([])
|
||||
text(0.1,0.1, 'axes([0.1,0.1,.8,.8])',ha='left',va='center',size=16,alpha=.5)
|
||||
|
||||
Reference in New Issue
Block a user