FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib.github.com/2.1.2/users/dflt_style_changes-19.py at main · matplotlib/matplotlib.github.com · GitHub
matplotlib
/
matplotlib.github.com
Public
Notifications
You must be signed in to change notification settings
Fork
62
Star
29
Code
Issues
1
Pull requests
2
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib.github.com
/
2.1.2
/
users
/
dflt_style_changes-19.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (14 loc) · 451 Bytes
Breadcrumbs
matplotlib.github.com
/
2.1.2
/
users
/
dflt_style_changes-19.py
Copy path
File metadata and controls
19 lines (14 loc) · 451 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
17
18
19
import
numpy
as
np
import
matplotlib
.
pyplot
as
plt
np
.
random
.
seed
(
2
)
fig
, (
ax1
,
ax2
)
=
plt
.
subplots
(
ncols
=
2
,
figsize
=
(
6
,
3
))
fig
.
subplots_adjust
(
wspace
=
0.35
,
left
=
0.09
,
right
=
0.95
)
x
=
np
.
linspace
(
0.9
,
1.7
,
10
)
y
=
10
**
x
[
np
.
random
.
randint
(
0
,
10
,
10
)]
ax2
.
semilogy
(
x
,
y
)
ax2
.
set_title
(
'v2.0'
)
with
plt
.
style
.
context
(
'classic'
):
ax1
.
semilogy
(
x
,
y
)
ax1
.
set_xlim
(
ax2
.
get_xlim
())
ax1
.
set_ylim
(
ax2
.
get_ylim
())
ax1
.
set_title
(
'classic'
)
Back
|
FazBrowse Home
|
New Git URL