pub struct ModernPlottingEngine { /* private fields */ }Expand description
Modern plotting engine
Implementations§
Source§impl ModernPlottingEngine
impl ModernPlottingEngine
Sourcepub fn new(config: ModernPlottingConfig) -> Self
pub fn new(config: ModernPlottingConfig) -> Self
Create a new modern plotting engine
Sourcepub async fn create_interactive_line_plot(
&mut self,
plot_data: InteractivePlotData,
plot_id: Option<String>,
) -> Result<String>
pub async fn create_interactive_line_plot( &mut self, plot_data: InteractivePlotData, plot_id: Option<String>, ) -> Result<String>
Create an interactive line plot
Sourcepub async fn create_interactive_scatter_plot(
&mut self,
x_values: &[f64],
y_values: &[f64],
labels: Option<&[String]>,
title: &str,
plot_id: Option<String>,
) -> Result<String>
pub async fn create_interactive_scatter_plot( &mut self, x_values: &[f64], y_values: &[f64], labels: Option<&[String]>, title: &str, plot_id: Option<String>, ) -> Result<String>
Create an interactive scatter plot
Sourcepub async fn create_interactive_heatmap(
&mut self,
values: &[Vec<f64>],
x_labels: Option<&[String]>,
y_labels: Option<&[String]>,
title: &str,
plot_id: Option<String>,
) -> Result<String>
pub async fn create_interactive_heatmap( &mut self, values: &[Vec<f64>], x_labels: Option<&[String]>, y_labels: Option<&[String]>, title: &str, plot_id: Option<String>, ) -> Result<String>
Create an interactive heatmap
Sourcepub async fn create_realtime_plot(
&mut self,
title: &str,
plot_id: Option<String>,
realtime_config: RealtimeConfig,
) -> Result<String>
pub async fn create_realtime_plot( &mut self, title: &str, plot_id: Option<String>, realtime_config: RealtimeConfig, ) -> Result<String>
Create a real-time streaming plot
Sourcepub async fn create_animated_training_plot(
&mut self,
training_data: &[f64],
validation_data: &[f64],
epochs: &[u32],
title: &str,
plot_id: Option<String>,
) -> Result<String>
pub async fn create_animated_training_plot( &mut self, training_data: &[f64], validation_data: &[f64], epochs: &[u32], title: &str, plot_id: Option<String>, ) -> Result<String>
Create an animated training visualization
Sourcepub async fn create_dashboard(
&mut self,
plot_ids: &[String],
title: &str,
) -> Result<String>
pub async fn create_dashboard( &mut self, plot_ids: &[String], title: &str, ) -> Result<String>
Create a comprehensive dashboard with multiple plots
Sourcepub async fn update_realtime_plot(
&mut self,
plot_id: &str,
new_x: f64,
new_y: f64,
) -> Result<()>
pub async fn update_realtime_plot( &mut self, plot_id: &str, new_x: f64, new_y: f64, ) -> Result<()>
Update real-time plot with new data
Sourcepub fn get_plot_statistics(&self, plot_id: &str) -> Option<PlotStatistics>
pub fn get_plot_statistics(&self, plot_id: &str) -> Option<PlotStatistics>
Get plot statistics
Sourcepub fn list_active_plots(&self) -> Vec<String>
pub fn list_active_plots(&self) -> Vec<String>
List all active plots
Sourcepub async fn remove_plot(&mut self, plot_id: &str) -> Result<()>
pub async fn remove_plot(&mut self, plot_id: &str) -> Result<()>
Remove a plot
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModernPlottingEngine
impl RefUnwindSafe for ModernPlottingEngine
impl Send for ModernPlottingEngine
impl Sync for ModernPlottingEngine
impl Unpin for ModernPlottingEngine
impl UnsafeUnpin for ModernPlottingEngine
impl UnwindSafe for ModernPlottingEngine
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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> 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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.