plot icon indicating copy to clipboard operation
plot copied to clipboard

document the default height

Open Fil opened this issue 4 years ago • 5 comments

see #337 and https://observablehq.com/@observablehq/plot-default-height

(cheat sheet #318)

Fil avatar Sep 03 '21 11:09 Fil

I like the notebook, but I’m tempted to make the README description more hand-wavy. I feel like either we explicit document the logic in pseudocode, or we just leave it vague like: “If a height is not specified, Plot will attempt to chose a reasonable default height based on the y and fy scale types and, for ordinal scales, the cardinality of the domain. The default height ranges from TK to TK, with 400 for the common case where y is quantitative and fy is not present.”

mbostock avatar Sep 07 '21 02:09 mbostock

We could publish the notebook and link to it for details.

Fil avatar Sep 07 '21 05:09 Fil

(Notebook further updated to take #837 into account.)

Fil avatar May 31 '22 13:05 Fil

18 months later, it's published :) https://observablehq.com/@observablehq/plot-default-height

Fil avatar Mar 03 '23 08:03 Fil

didn't mean to close the PR!

Fil avatar Mar 03 '23 08:03 Fil