@@ -28,10 +28,10 @@ import plotly.element._
2828 zeroline : Option [Boolean ] = None ,
2929 zerolinewidth : Option [Double ] = None ,
3030 zerolinecolor : Option [Color ] = None ,
31- range : Option [( Double , Double ) ] = None ,
31+ range : Option [Range ] = None ,
3232 autorange : Option [Boolean ] = None ,
3333 ticks : Option [Ticks ] = None ,
34- domain : Option [( Double , Double ) ] = None ,
34+ domain : Option [Range ] = None ,
3535 side : Option [Side ] = None ,
3636 anchor : Option [AxisAnchor ] = None ,
3737 `type` : Option [AxisType ] = None ,
@@ -41,7 +41,9 @@ import plotly.element._
4141 tickvals : Option [Sequence ] = None ,
4242 ticktext : Option [Sequence ] = None ,
4343 nticks : Option [Int ] = None ,
44- automargin : Option [Boolean ] = None
44+ automargin : Option [Boolean ] = None ,
45+ @ since(" 0.8.0" )
46+ rangeslider : Option [RangeSlider ] = None
4547)
4648
4749object Axis {
@@ -105,10 +107,10 @@ object Axis {
105107 Option (zeroline) .map(x => x : Boolean ),
106108 Option (zerolinewidth) .map(x => x : Double ),
107109 Option (zerolinecolor),
108- Option (range),
110+ Option (range) .map(x => x : Range ) ,
109111 Option (autorange) .map(x => x : Boolean ),
110112 Option (ticks),
111- Option (domain),
113+ Option (domain) .map(x => x : Range ) ,
112114 Option (side),
113115 Option (anchor),
114116 Option (`type`),
0 commit comments