Sudha247 / ocaml-joy

MIT License
21 stars 14 forks source link

Context API: separate `show_axes` into arguments to render functions #120

Open nikochiko opened 4 months ago

nikochiko commented 4 months ago

IMO - whether to show axes or not is more intuitive with the rendering function than with the context initialisation function.

The end writing functions writePNG or writeSVG can have an optional argument for axes or for grid that does this.