Skip to content

Commit fd33369

Browse files
committed
Minor docs tweaks
1 parent bbd8d93 commit fd33369

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/_static/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ h6{
136136
body.scroll-up,
137137
body.scroll-down,
138138
.wy-nav-content {
139-
max-width: 58em;
139+
max-width: 860px;
140140
background: var(--main-bg-color);
141141
}
142142

docs/insets_panels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@
146146
# `~proplot.gridspec.SubplotGrid.inset_axes` on the `~proplot.gridspec.SubplotGrid`
147147
# returned by `~proplot.figure.Figure.subplots`. By default, inset axes have the
148148
# same projection as the parent axes, but you can also request a :ref:`different
149-
# projection <ug_proj>` (e.g., ``ax.inset_axes(bounds, proj='polar')``). When the
150-
# axes are both `~proplot.axes.Axes.CartesianAxes`, you can pass ``zoom=True``
149+
# projection <ug_proj>` (e.g., ``ax.inset_axes(bounds, proj='polar')``). When
150+
# the axes are both `~proplot.axes.CartesianAxes`, you can pass ``zoom=True``
151151
# to `~proplot.axes.Axes.inset_axes` to quickly add a "zoom indication" box and
152152
# lines (this uses `~matplotlib.axes.Axes.indicate_inset_zoom` internally). The box
153153
# and line positions automatically follow the axis limits of the inset axes and parent

docs/subplots.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@
143143
# * For simple subplot grids (e.g., grids created by passing integers to
144144
# `~proplot.figure.Figure.add_subplot` or by passing `ncols` or `nrows`
145145
# to `~proplot.figure.Figure.add_subplots`) the keyword arguments `refaspect`,
146-
# `refwidth`, and `refheight` effectively apply to every subplot in the figure
147-
# -- not just the reference subplot.
148-
# * The keyword argument `refaspect` is ignored when the `data aspect ratio
146+
# `refwidth`, and `refheight` effectively apply to every subplot in the
147+
# figure -- not just the reference subplot.
148+
# * The `refaspect` argument is ignored when the `data aspect ratio
149149
# <https://matplotlib.org/stable/examples/pylab_examples/equal_aspect_ratio.html>`__
150-
# of the reference subplot is fixed (either by manually calling
151-
# `~matplotlib.axes.Axes.set_aspect` or by filling the subplot with a
150+
# of the reference subplot is fixed (either due to calling
151+
# `~matplotlib.axes.Axes.set_aspect` or filling the subplot with a
152152
# :ref:`geographic projection <ug_geo>`, `~proplot.axes.PlotAxes.imshow`
153-
# plot, or `~proplot.axes.PlotAxes.heatmap` plot). This is critical for
154-
# minimizing excess space between grids of subplots with fixed aspect ratios.
153+
# plot, or `~proplot.axes.PlotAxes.heatmap` plot). This helps minimize
154+
# excess space between grids of subplots with fixed aspect ratios.
155155
# * The physical widths of proplot `~proplot.axes.Axes.colorbar`\ s and
156156
# `~proplot.axes.Axes.panel`\ s are always independent of the figure size.
157157
# `~proplot.gridspec.GridSpec` specifies their widths in physical units to help

0 commit comments

Comments
 (0)