FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib.github.com/3.3.4/users/whats_new-14.py at main · u7228810/matplotlib.github.com · GitHub
u7228810
matplotlib.github.com
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib.github.com
/
3.3.4
/
users
/
whats_new-14.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (11 loc) · 587 Bytes
Breadcrumbs
matplotlib.github.com
/
3.3.4
/
users
/
whats_new-14.py
Copy path
File metadata and controls
16 lines (11 loc) · 587 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ax
=
plt
.
figure
().
add_subplot
(
projection
=
'3d'
)
ax
.
scatter
([
0
,
1
,
2
], [
1
,
3
,
5
], [
30
,
50
,
70
])
ax
.
set_xticks
([
0.25
,
0.75
,
1.25
,
1.75
],
minor
=
True
)
ax
.
set_xticklabels
([
'a'
,
'b'
,
'c'
,
'd'
],
minor
=
True
)
ax
.
set_yticks
([
1.5
,
2.5
,
3.5
,
4.5
],
minor
=
True
)
ax
.
set_yticklabels
([
'A'
,
'B'
,
'C'
,
'D'
],
minor
=
True
)
ax
.
set_zticks
([
35
,
45
,
55
,
65
],
minor
=
True
)
ax
.
set_zticklabels
([
r'$\alpha$'
,
r'$\beta$'
,
r'$\delta$'
,
r'$\gamma$'
],
minor
=
True
)
ax
.
tick_params
(
which
=
'major'
,
color
=
'C0'
,
labelcolor
=
'C0'
,
width
=
5
)
ax
.
tick_params
(
which
=
'minor'
,
color
=
'C1'
,
labelcolor
=
'C1'
,
width
=
3
)
Back
|
FazBrowse Home
|
New Git URL