pub struct Imshow {
pub data: Vec<Vec<f64>>,
pub opts: Vec<Opt>,
}
Expand description
A 2D data set as an image.
This command sets a local variable im
to the output of the call to
imshow
for use with Colorbar
im = ax.imshow({data}, **{opts})
Prelude: No
JSON data: list[list[float]]
Fields§
§data: Vec<Vec<f64>>
Image data.
opts: Vec<Opt>
Optional keyword arguments.
Implementations§
Source§impl Imshow
impl Imshow
Trait Implementations§
Source§impl Matplotlib for Imshow
impl Matplotlib for Imshow
Source§fn is_prelude(&self) -> bool
fn is_prelude(&self) -> bool
Return
true
if self
should be considered as a prelude item, which
are execute in the order seen but before any non-prelude items.Source§impl MatplotlibOpts for Imshow
impl MatplotlibOpts for Imshow
impl StructuralPartialEq for Imshow
Auto Trait Implementations§
impl Freeze for Imshow
impl RefUnwindSafe for Imshow
impl Send for Imshow
impl Sync for Imshow
impl Unpin for Imshow
impl UnwindSafe for Imshow
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