(
pos
,
axes_class
=
)
ax
.
set_ylim
(
-
0.1
,
1.5
)
ax
.
set_yticks
([
0
,
1
])
ax
.
axis
[:]
.
set_visible
(
False
)
ax
.
axis
[
"x"
]
=
ax
.
new_floating_axis
(
1
,
0.5
)
ax
.
axis
[
"x"
]
.
set_axisline_style
(
"->"
,
size
=
1.5
)
return
ax
({
"axes.titlesize"
:
"medium"
,
"axes.titley"
:
1.1
,
})
=
(
figsize
=
(
10
,
4
))
(
bottom
=
0.1
,
top
=
0.9
,
left
=
0.05
,
right
=
0.95
)
=
setup_axes
(
,
251
)
[
"x"
]
.
set_axis_direction
(
"left"
)
=
setup_axes
(
,
252
)
[
"x"
]
.
label
.
set_text
(
"Label"
)
[
"x"
]
.
toggle
(
ticklabels
=
False
)
[
"x"
]
.
set_axislabel_direction
(
"+"
)
(
"label direction=$+$"
)
=
setup_axes
(
,
253
)
[
"x"
]
.
label
.
set_text
(
"Label"
)
[
"x"
]
.
toggle
(
ticklabels
=
False
)
[
"x"
]
.
set_axislabel_direction
(
"-"
)
(
"label direction=$-$"
)
=
setup_axes
(
,
254
)
[
"x"
]
.
set_ticklabel_direction
(
"+"
)
(
"ticklabel direction=$+$"
)
=
setup_axes
(
,
255
)
[
"x"
]
.
set_ticklabel_direction
(
"-"
)
(
"ticklabel direction=$-$"
)
=
setup_axes
(
,
257
)
[
"x"
]
.
label
.
set_text
(
"rotation=10"
)
[
"x"
]
.
label
.
set_rotation
(
10
)
[
"x"
]
.
toggle
(
ticklabels
=
False
)
=
setup_axes
(
,
258
)
[
"x"
]
.
set_axislabel_direction
(
"-"
)
[
"x"
]
.
label
.
set_text
(
"rotation=10"
)
[
"x"
]
.
label
.
set_rotation
(
10
)
[
"x"
]
.
toggle
(
ticklabels
=
False
)
()