Closed cwpearson closed 4 years ago
I couldn't find anything in the Nim manual (still learning it myself) that said that the default enum value is the first one, so I added a test to make sure the default AxisType is what we expect.
https://nim-lang.org/docs/manual.html#types-enumeration-types
I could remove that test if you like.
This PR adds support for making a plotly
log
-type axis. It adds thety
field to theAxis
type, serializes it to a string if it is not the empty string, and adds an example and a test.