Skip to content

Commit 6bda92a

Browse files
Update documentation for axes
1 parent 1b0e8fc commit 6bda92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The main function of mathics-threejs-backend is `drawGraphics3d`, takes the foll
3232
- `elements` (type: object) — object with the following properties:
3333
- `axes` (type: object) — default: `{}`, object with the following properties:
3434
- `hasaxes` (type: bool\|bool[3]) — default: `false`
35-
- `ticks` (type: [number[], number[], string[]][3]) — array containing the ticks' information for, respectively, x, y and z axes. The ticks' information is an array of three elements: big ticks' coordinates, small ticks' coordinates, big ticks' labels. Default: `[]`
35+
- `ticks` (type: [number[], number[], string[]][3]) — array containing the ticks' information for, respectively, x, y and z axes. The ticks' information is an array of three elements: big ticks' 0-1 coordinates, small ticks' 0-1 coordinates, big ticks' labels. Default: `[]`
3636
- `ticks_style` (type: [color[3]](/mathics-threejs-backend/types/color)) — array containing the ticks' colors for, respectively, x, y and z axes. Default: `[[0, 0, 0], [0, 0, 0], [0, 0, 0]]` (all ticks are black)
3737
- `elements` (type: [element[]](/mathics-threejs-backend/types/color) — array of primitives, default: `[]`
3838
- `extent` (type: object) — the size of the bounding box. This is optional, only use this if you don't want the default behaviour. This is an object with the following properties:

0 commit comments

Comments
 (0)