pub struct DensityPlotOptionsBuilder { /* private fields */ }Expand description
Builder for DensityPlotOptions.
Implementations§
Source§impl DensityPlotOptionsBuilder
impl DensityPlotOptionsBuilder
Sourcepub fn base<VALUE: Into<BasePlotOptions>>(&mut self, value: VALUE) -> &mut Self
pub fn base<VALUE: Into<BasePlotOptions>>(&mut self, value: VALUE) -> &mut Self
Base plot options (layout, dimensions, etc.)
Sourcepub fn x_axis<VALUE: Into<AxisOptions>>(&mut self, value: VALUE) -> &mut Self
pub fn x_axis<VALUE: Into<AxisOptions>>(&mut self, value: VALUE) -> &mut Self
X-axis configuration
Sourcepub fn y_axis<VALUE: Into<AxisOptions>>(&mut self, value: VALUE) -> &mut Self
pub fn y_axis<VALUE: Into<AxisOptions>>(&mut self, value: VALUE) -> &mut Self
Y-axis configuration
Sourcepub fn colormap<VALUE: Into<ColorMaps>>(&mut self, value: VALUE) -> &mut Self
pub fn colormap<VALUE: Into<ColorMaps>>(&mut self, value: VALUE) -> &mut Self
Color map to use for density visualization
Sourcepub fn plot_type<VALUE: Into<PlotType>>(&mut self, value: VALUE) -> &mut Self
pub fn plot_type<VALUE: Into<PlotType>>(&mut self, value: VALUE) -> &mut Self
Plot type (density, scatter, contour, etc.)
Sourcepub fn point_size<VALUE: Into<f32>>(&mut self, value: VALUE) -> &mut Self
pub fn point_size<VALUE: Into<f32>>(&mut self, value: VALUE) -> &mut Self
Point size in pixels for scatter and density plots (0.1–4.0). For scatter: radius of each point; values below 0.5 draw single-pixel dots. For density: radius of each point’s contribution to the heatmap.
Sourcepub fn contour_line_thickness<VALUE: Into<f32>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn contour_line_thickness<VALUE: Into<f32>>( &mut self, value: VALUE, ) -> &mut Self
Contour line thickness in pixels (when plot_type is Contour)
Sourcepub fn contour_level_count<VALUE: Into<u32>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn contour_level_count<VALUE: Into<u32>>( &mut self, value: VALUE, ) -> &mut Self
Number of contour levels (when plot_type is Contour)
Sourcepub fn contour_smoothing<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn contour_smoothing<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
KDE bandwidth adjustment factor (when plot_type is Contour). Higher values = more smoothing. Default 1.0. Typical range 0.5–2.0.
Sourcepub fn draw_outliers<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn draw_outliers<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Draw scatter points outside contour regions as outliers (when plot_type is Contour)
Sourcepub fn gate_colors<VALUE: Into<Vec<(u8, u8, u8)>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn gate_colors<VALUE: Into<Vec<(u8, u8, u8)>>>( &mut self, value: VALUE, ) -> &mut Self
Colors for discrete gate overlay (ScatterOverlay, ContourOverlay). gate_ids in data index into this slice. Default palette used if empty.
Sourcepub fn z_range<VALUE: Into<(f32, f32)>>(&mut self, value: VALUE) -> &mut Self
pub fn z_range<VALUE: Into<(f32, f32)>>(&mut self, value: VALUE) -> &mut Self
Z-axis range for continuous coloring (ScatterColoredContinuous). If None, min/max of z_values is used.
Sourcepub fn build(
&self,
) -> Result<DensityPlotOptions, DensityPlotOptionsBuilderError>
pub fn build( &self, ) -> Result<DensityPlotOptions, DensityPlotOptionsBuilderError>
Trait Implementations§
Source§impl Clone for DensityPlotOptionsBuilder
impl Clone for DensityPlotOptionsBuilder
Source§fn clone(&self) -> DensityPlotOptionsBuilder
fn clone(&self) -> DensityPlotOptionsBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for DensityPlotOptionsBuilder
impl RefUnwindSafe for DensityPlotOptionsBuilder
impl Send for DensityPlotOptionsBuilder
impl Sync for DensityPlotOptionsBuilder
impl Unpin for DensityPlotOptionsBuilder
impl UnsafeUnpin for DensityPlotOptionsBuilder
impl UnwindSafe for DensityPlotOptionsBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().