From 12dbd0e26884c7873638e538f2f07b24e42b9a70 Mon Sep 17 00:00:00 2001 From: alceal Date: Sun, 1 Sep 2024 19:36:47 +0200 Subject: [PATCH] chore: Add examples for Axis module --- src/axis/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/axis/mod.rs b/src/axis/mod.rs index 4cff28c..06a6737 100644 --- a/src/axis/mod.rs +++ b/src/axis/mod.rs @@ -6,6 +6,11 @@ use plotly::{ use crate::Rgb; /// A structure representing an axis with customizable properties such as position, type, color, ticks, and grid lines. +/// +/// Examples: +/// +/// ![example 1](https://imgur.com/YvfFQfb.png) +/// ![example 2](https://imgur.com/CbFCEB2.png) #[derive(Default, Clone)] pub struct Axis { pub(crate) show_axis: Option,