1 Minimal example for drawing an isolated axis
3 This is the basic example of how to draw an axis alone -- without the whole
4 graph. It serves to simplify the following examples. ... The function
5 `pathaxis` from the `graph.axis` module takes a path and returns a canvas which
6 contains the drawn axis.
8 In contrast to the typical usecase of graphs containing data, we here have to
9 provide the range explicitly (using the `min` and `max` arguments). For real
10 graphs the range of an axis, of course, is adjusted automatically, although you
11 can still set minimal and/or maximal values to force a certain axis range.