@@ -358,13 +358,6 @@ pub struct AutoRangeOptions {
358
358
include : Option < Vec < NumOrString > > ,
359
359
}
360
360
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
-
368
361
/// Setting [`AutoTypeNumbers::Strict`] prevents Plotly from coercing numeric
369
362
/// strings in trace data into numbers. This may affect the inferred
370
363
/// [`axis_type`](RadialAxis::axis_type). Coercing/converting is the default
@@ -477,9 +470,10 @@ pub enum PolarTickMode {
477
470
/// [`axis_type`](RadialAxis::axis_type) is [`RadialAxisType::Log`] then
478
471
/// you must take the log of your starting tick. For example, to set the
479
472
/// 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
483
477
/// [`RadialAxisType::Date`], it should be a date string. If the
484
478
/// [`axis_type`](RadialAxis::axis_type) is [`RadialAxisType::Category`]
485
479
/// or [`AngularAxisType::Category`] then supply an integer, which will
@@ -496,7 +490,7 @@ pub enum PolarTickMode {
496
490
///
497
491
/// [`RadialAxisType::Log`] has several special values:
498
492
///
499
- /// - *L<f>* , where `f` is a positive number, gives ticks linearly
493
+ /// - "L\<f\>" , where `f` is a positive number, gives ticks linearly
500
494
/// spaced in value (but not position). For example,
501
495
/// [`tick_0`](PolarTickMode::Linear::tick_0) = 0.1,
502
496
/// [`d_tick`](PolarTickMode::Linear::d_tick) = *L0.5* will put ticks
@@ -511,7 +505,7 @@ pub enum PolarTickMode {
511
505
///
512
506
/// [`RadialAxisType::Date`] also has special values:
513
507
///
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
515
509
/// positive integer. To set ticks on the 15th of every third month,
516
510
/// set [`tick_0`](PolarTickMode::Linear::tick_0) to *2000-01-15* and
517
511
/// [`d_tick`](PolarTickMode::Linear::d_tick) to *M3*. To set ticks
@@ -582,7 +576,7 @@ mod tests {
582
576
. visible ( true )
583
577
. axis_type ( RadialAxisType :: Linear )
584
578
. auto_type_numbers ( AutoTypeNumbers :: Strict )
585
- . auto_range_options ( AutoRangeOptions :: new ( ) . min_allowed ( 1 ) )
579
+ . auto_range_options ( AutoRangeOptions :: default ( ) . min_allowed ( 1 ) )
586
580
. auto_range ( AutoRange :: Bool ( true ) )
587
581
. range_mode ( RangeMode :: Normal )
588
582
. min_allowed ( 0_u32 )
0 commit comments