brownplt / code.pyret.org

Website for serving Pyret to folks.
Other
24 stars 45 forks source link

Move min and max to ChartWindow #371

Closed sorawee closed 3 years ago

sorawee commented 3 years ago

Example:

include chart

the-box-plot = from-list.box-plot(
  [list: 
    [list: 1, 2, 3, 4], 
    [list: 1, 2, 3, 4, 5], 
    [list: 10, 11]])

render-chart(the-box-plot)
  .max(20)
  .display()

Please take over this PR if any further changes are needed.

CC: @schanzer @jpolitz