FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib.github.com/2.0.0/users/dflt_style_changes-11.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.0.0
/
users
/
dflt_style_changes-11.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (14 loc) · 585 Bytes
Breadcrumbs
matplotlib.github.com
/
2.0.0
/
users
/
dflt_style_changes-11.py
Copy path
File metadata and controls
17 lines (14 loc) · 585 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
from
__future__
import
unicode_literals
import
matplotlib
.
pyplot
as
plt
fig
,
ax
=
plt
.
subplots
()
tick_labels
=
[
'😃'
,
'😎'
,
'😴'
,
'😲'
,
'😻'
]
bar_labels
=
[
'א'
,
'α'
,
'☣'
,
'⌬'
,
'ℝ'
]
y
=
[
1
,
4
,
9
,
16
,
25
]
x
=
range
(
5
)
ax
.
bar
(
x
,
y
,
tick_label
=
tick_labels
,
align
=
'center'
)
ax
.
xaxis
.
set_tick_params
(
labelsize
=
20
)
for
_x
,
_y
,
t
in
zip
(
x
,
y
,
bar_labels
):
ax
.
annotate
(
t
, (
_x
,
_y
),
fontsize
=
20
,
ha
=
'center'
,
xytext
=
(
0
,
-
2
),
textcoords
=
'offset pixels'
,
bbox
=
{
'facecolor'
:
'w'
})
ax
.
set_title
(
'Диаграмма со смайликами'
)
Back
|
FazBrowse Home
|
New Git URL