I tried the Fibonacci demo from the diagrams gallery
but, as many of their examples do, it requires compilation and then the mainWith
function takes various options, including a file name for SVG output. I'd like to get the same result of an .svg output file, but from within GHCi, without having to compile first.
While this Q&A is about the same issue, the solution there uses API calls that no longer seem to work, such as SizeSpec2D
and mkSizeSpec
.