Skip to content

Commit f1d2e9d

Browse files
committed
Physical units
1 parent 1f4ba46 commit f1d2e9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/tight.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"source": [
108108
"The figure layout can also be configured manually. ProPlot supports *arbitrary physical units* for controlling the figure `width` and `height`; the reference subplot `axwidth` and `axheight`; the gridspec spacing values `left`, `right`, `bottom`, `top`, `wspace`, and `hspace`; and in a few other places.\n",
109109
"\n",
110-
"If a sizing argument is numeric, the units are inches or points, and if string, the units are interpreted by `~proplot.utils.units`. A table of acceptable units is found in the `~proplot.utils.units` documentation. They include centimeters, millimeters, pixels, and light years (because why not?)."
110+
"If a sizing argument is numeric, the units are inches or points, and if string, the units are interpreted by `~proplot.utils.units`. A table of acceptable units is found in the `~proplot.utils.units` documentation. They include centimeters, millimeters, pixels, em-squares, points, and picas."
111111
]
112112
},
113113
{

docs/why.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ ProPlot introduces the physical units engine `~proplot.utils.units`
429429
for interpreting `figsize`, `width`, `height`, `axwidth`, `axheight`,
430430
`left`, `right`, `top`, `bottom`, `wspace`, `hspace`, and arguments
431431
in a few other places. Acceptable units include inches, centimeters,
432-
millimeters, `points <https://en.wikipedia.org/wiki/Point_(typography)>`__,
433-
pixels, em-heights, and light years (because
434-
why not?). Em-heights are particularly useful, as labels already
432+
millimeters, pixels, `points <https://en.wikipedia.org/wiki/Point_(typography)>`__,
433+
`picas <https://en.wikipedia.org/wiki/Pica_(typography)>`__, `em-heights <https://en.wikipedia.org/wiki/Em_(typography)>`__, and `light years <https://en.wikipedia.org/wiki/Light-year>`__ (because why not?).
434+
Em-heights are particularly useful, as labels already
435435
present can be useful *rulers* for figuring out the amount
436436
of space needed.
437437

0 commit comments

Comments
 (0)