Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
regularized formatting
  • Loading branch information
dohyun
dohyun committed Oct 27, 2023
commit 10a23c89a0e64c2009d9b2ed663708e097dbcf3b
14 changes: 7 additions & 7 deletions galleries/examples/subplots_axes_and_figures/axes_box_aspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# %%
# A square axes, independent of data
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Comment thread
QuLogic marked this conversation as resolved.
Outdated
#
# Produce a square axes, no matter what the data limits are.

Expand All @@ -31,7 +31,7 @@

# %%
# Shared square axes
# ~~~~~~~~~~~~~~~~~~
# ^^^^^^^^^^^^^^^^^^
#
# Produce shared subplots that are squared in size.
#
Expand All @@ -47,7 +47,7 @@

# %%
# Square twin axes
# ~~~~~~~~~~~~~~~~
# ^^^^^^^^^^^^^^^^
#
# Produce a square axes, with a twin axes. The twinned axes takes over the
# box aspect of the parent.
Expand All @@ -67,7 +67,7 @@

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

# %%
# Square joint/marginal plot
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
# ^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# It may be desirable to show marginal distributions next to a plot of joint
# data. The following creates a square plot with the box aspect of the
Expand All @@ -116,7 +116,7 @@

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

# %%
# Box aspect for many subplots
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# It is possible to pass the box aspect to an Axes at initialization. The
# following creates a 2 by 3 subplot grid with all square Axes.
Expand Down