@@ -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,7 +470,7 @@ 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>*
473+ /// to 2 (except when [`d_tick`](PolarTickMode::Linear::d_tick) = "L\<f\>"
481474 /// (see [`d_tick`](PolarTickMode::Linear::d_tick) for more
482475 /// information). If the [`axis_type`](RadialAxis::axis_type) is
483476 /// [`RadialAxisType::Date`], it should be a date string. If the
@@ -496,7 +489,7 @@ pub enum PolarTickMode {
496489 ///
497490 /// [`RadialAxisType::Log`] has several special values:
498491 ///
499- /// - *L<f>* , where `f` is a positive number, gives ticks linearly
492+ /// - "L\<f\>" , where `f` is a positive number, gives ticks linearly
500493 /// spaced in value (but not position). For example,
501494 /// [`tick_0`](PolarTickMode::Linear::tick_0) = 0.1,
502495 /// [`d_tick`](PolarTickMode::Linear::d_tick) = *L0.5* will put ticks
@@ -511,7 +504,7 @@ pub enum PolarTickMode {
511504 ///
512505 /// [`RadialAxisType::Date`] also has special values:
513506 ///
514- /// - *M<n>* gives ticks spaced by a number of months, where `n` is a
507+ /// - "M\<n\>" gives ticks spaced by a number of months, where `n` is a
515508 /// positive integer. To set ticks on the 15th of every third month,
516509 /// set [`tick_0`](PolarTickMode::Linear::tick_0) to *2000-01-15* and
517510 /// [`d_tick`](PolarTickMode::Linear::d_tick) to *M3*. To set ticks
@@ -582,7 +575,7 @@ mod tests {
582575 . visible ( true )
583576 . axis_type ( RadialAxisType :: Linear )
584577 . auto_type_numbers ( AutoTypeNumbers :: Strict )
585- . auto_range_options ( AutoRangeOptions :: new ( ) . min_allowed ( 1 ) )
578+ . auto_range_options ( AutoRangeOptions :: default ( ) . min_allowed ( 1 ) )
586579 . auto_range ( AutoRange :: Bool ( true ) )
587580 . range_mode ( RangeMode :: Normal )
588581 . min_allowed ( 0_u32 )
0 commit comments