Skip to content

Commit 819fd2f

Browse files
iynehzandrei-ng
authored andcommitted
support layout axis scaleratio
1 parent e7defa0 commit 819fd2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plotly/src/layout/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ pub struct Axis {
505505

506506
#[serde(rename = "scaleanchor")]
507507
scale_anchor: Option<String>,
508+
#[serde(rename = "scaleratio")]
509+
scale_ratio: Option<f64>,
508510

509511
tick0: Option<f64>,
510512
dtick: Option<f64>,

0 commit comments

Comments
 (0)