@@ -358,13 +358,6 @@ pub struct AutoRangeOptions {
358358 include : Option < Vec < NumOrString > > ,
359359}
360360
361- impl AutoRangeOptions {
362- /// Create a new set of autorange options with default settings.
363- pub fn new ( ) -> Self {
364- Default :: default ( )
365- }
366- }
367-
368361/// Setting [`AutoTypeNumbers::Strict`] prevents Plotly from coercing numeric
369362/// strings in trace data into numbers. This may affect the inferred
370363/// [`axis_type`](RadialAxis::axis_type). Coercing/converting is the default
@@ -477,9 +470,10 @@ pub enum PolarTickMode {
477470 /// [`axis_type`](RadialAxis::axis_type) is [`RadialAxisType::Log`] then
478471 /// you must take the log of your starting tick. For example, to set the
479472 /// starting tick to 100, set [`tick_0`](PolarTickMode::Linear::tick_0)
480- /// to 2 (except when [`d_tick`](PolarTickMode::Linear::d_tick) = *L<f>*
481- /// (see [`d_tick`](PolarTickMode::Linear::d_tick) for more
482- /// information). If the [`axis_type`](RadialAxis::axis_type) is
473+ /// to 2 (except when [`d_tick`](PolarTickMode::Linear::d_tick) =
474+ /// "L\<f\>" (see [`d_tick`](PolarTickMode::Linear::d_tick) for
475+ /// more information). If the
476+ /// [`axis_type`](RadialAxis::axis_type) is
483477 /// [`RadialAxisType::Date`], it should be a date string. If the
484478 /// [`axis_type`](RadialAxis::axis_type) is [`RadialAxisType::Category`]
485479 /// or [`AngularAxisType::Category`] then supply an integer, which will
@@ -496,7 +490,7 @@ pub enum PolarTickMode {
496490 ///
497491 /// [`RadialAxisType::Log`] has several special values:
498492 ///
499- /// - *L<f>* , where `f` is a positive number, gives ticks linearly
493+ /// - "L\<f\>" , where `f` is a positive number, gives ticks linearly
500494 /// spaced in value (but not position). For example,
501495 /// [`tick_0`](PolarTickMode::Linear::tick_0) = 0.1,
502496 /// [`d_tick`](PolarTickMode::Linear::d_tick) = *L0.5* will put ticks
@@ -511,7 +505,7 @@ pub enum PolarTickMode {
511505 ///
512506 /// [`RadialAxisType::Date`] also has special values:
513507 ///
514- /// - *M<n>* gives ticks spaced by a number of months, where `n` is a
508+ /// - "M\<n\>" gives ticks spaced by a number of months, where `n` is a
515509 /// positive integer. To set ticks on the 15th of every third month,
516510 /// set [`tick_0`](PolarTickMode::Linear::tick_0) to *2000-01-15* and
517511 /// [`d_tick`](PolarTickMode::Linear::d_tick) to *M3*. To set ticks
@@ -582,7 +576,7 @@ mod tests {
582576 . visible ( true )
583577 . axis_type ( RadialAxisType :: Linear )
584578 . auto_type_numbers ( AutoTypeNumbers :: Strict )
585- . auto_range_options ( AutoRangeOptions :: new ( ) . min_allowed ( 1 ) )
579+ . auto_range_options ( AutoRangeOptions :: default ( ) . min_allowed ( 1 ) )
586580 . auto_range ( AutoRange :: Bool ( true ) )
587581 . range_mode ( RangeMode :: Normal )
588582 . min_allowed ( 0_u32 )
0 commit comments