Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10a23c8

Browse files
author
dohyun
committed
regularized formatting
1 parent e5a8ef7 commit 10a23c8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

galleries/examples/subplots_axes_and_figures/axes_box_aspect.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# %%
1717
# A square axes, independent of data
18-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919
#
2020
# Produce a square axes, no matter what the data limits are.
2121

@@ -31,7 +31,7 @@
3131

3232
# %%
3333
# Shared square axes
34-
# ~~~~~~~~~~~~~~~~~~
34+
# ^^^^^^^^^^^^^^^^^^
3535
#
3636
# Produce shared subplots that are squared in size.
3737
#
@@ -47,7 +47,7 @@
4747

4848
# %%
4949
# Square twin axes
50-
# ~~~~~~~~~~~~~~~~
50+
# ^^^^^^^^^^^^^^^^
5151
#
5252
# Produce a square axes, with a twin axes. The twinned axes takes over the
5353
# box aspect of the parent.
@@ -67,7 +67,7 @@
6767

6868
# %%
6969
# Normal plot next to image
70-
# ~~~~~~~~~~~~~~~~~~~~~~~~~
70+
# ^^^^^^^^^^^^^^^^^^^^^^^^^
7171
#
7272
# When creating an image plot with fixed data aspect and the default
7373
# ``adjustable="box"`` next to a normal plot, the axes would be unequal in
@@ -90,7 +90,7 @@
9090

9191
# %%
9292
# Square joint/marginal plot
93-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
93+
# ^^^^^^^^^^^^^^^^^^^^^^^^^^
9494
#
9595
# It may be desirable to show marginal distributions next to a plot of joint
9696
# data. The following creates a square plot with the box aspect of the
@@ -116,7 +116,7 @@
116116

117117
# %%
118118
# Square joint/marginal plot
119-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
119+
# ^^^^^^^^^^^^^^^^^^^^^^^^^^
120120
#
121121
# When setting the box aspect, one may still set the data aspect as well.
122122
# Here we create an Axes with a box twice as long as tall and use an "equal"
@@ -133,7 +133,7 @@
133133

134134
# %%
135135
# Box aspect for many subplots
136-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136+
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
137137
#
138138
# It is possible to pass the box aspect to an Axes at initialization. The
139139
# following creates a 2 by 3 subplot grid with all square Axes.

0 commit comments

Comments
 (0)