1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/// Enumeration representing the direction of axis ticks.
///
/// # Example
///
/// ```rust
/// use polars::prelude::*;
/// use plotlars::{Axis, Plot, ScatterPlot, TickDirection};
///
/// let x = vec![1];
/// let y = vec![1];
///
/// let dataset = DataFrame::new(x.len(), vec![
/// Column::new("x".into(), x),
/// Column::new("y".into(), y),
/// ]).unwrap();
///
/// ScatterPlot::builder()
/// .data(&dataset)
/// .x("x")
/// .y("y")
/// .x_axis(
/// &Axis::new()
/// .tick_direction(TickDirection::OutSide)
/// )
/// .y_axis(
/// &Axis::new()
/// .tick_direction(TickDirection::InSide)
/// )
/// .build()
/// .plot();
/// ```
///
/// 